Hi Noura,

I'm sorry you stumbled into outdated documentation. We'll update this soon.
The StateMachine is at the correct location where you originally had it, at:

../MITK/Core/Code/Resources/Interactions/Legacy/StateMachine.xml

but since it's now a resource compiled into the executable, you need to 
re-compile after
making any changes to it.

Please let me know if you have any further questions.

Regards
Christian


Von: Noura Hamzé [mailto:[email protected]]
Gesendet: Dienstag, 14. Mai 2013 11:34
An: [email protected]
Betreff: [mitk-users] Interactors problem

Hello,

I'm trying to use the interactors in MITK, but the changes i make to the 
StateMachine.xml file do not reflect in the program!
My state machine xml file exists in the directory:
../MITK/Core/Code/Resources/Interactions/Legacy//StateMachine.xml

but due to the 
documentation<http://docs.mitk.org/nightly-qt4/InteractionPage.html> it should 
be in both directories:
../MITK/Core/Code/Interactions/StateMachine.xml
and
../MITK/Plugins/org.mitk.gui.qt.application/resources/StateMachine.xml

even when i copied to the 2 mentioned directories it does not change

To be more precise, here is an example of what is happening:
 let say that i deleted the following state machine from the StateSachine.xml
 <stateMachine NAME="SelectAndMoveObjectWithArrowKeys">
.
.
.

  </stateMachine>

In my code I have a pointer to the MoveSurfaceInteractor which is constructed 
using the above state machine 
New("SelectAndMoveObjectWithArrowKeys",myDataNode), and this interactor is 
still working pefectly as if nothing is deleted!

Thanks in advance,

Noura
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to