Hi Wegner,

Thanks for the response!

I downloaded the source code mitk-0.99.1. I compiled is using MSVC  
2008. The program works fine. I then tried to understand the  
interaction mechanism. This lead me to the file StateMachine.xml,  
which seems to be the only place where these interactions are defined.  
I started changing the xml file to see if I can make  
"ExecuteAction(...)" for a particular interactor execute an action  
which I defined...that didn't work. Then I just renamed all instances  
of StateMachine.xml file to see if that indeed was the right place to  
define these things... Hmmmm....I was really surprised since that  
meant (at least to me) that StateMachine.xml is not the only place  
where these interaction mechanisms are defined. I got confused so I  
wrote to mitk-users with my question.

I'll have a look at what you sent today to better understand these things.

Thanks!

-Imran.


Quoting Wegner Ingmar <[email protected]>:

> Hi Imran,
> did you install the executable or did you download and build the svn version?
>
> In the code repository there are currently two statemachine.xml.  
> Executing ExtApp will load the one located in  
> mitk\CoreUI\Bundles\org.mitk.gui.qt.common\resources
> For testing the file located in  
> mitk\QT4\source\mitk\Core\Code\Interactions is used. See bug #307  
> (http://bugs.mitk.org/show_bug.cgi?id=3701) for further details.
>
> For documentation on interaction and undo you can also check  
> tutorial step 10 (http://docs.mitk.org/nightly-qt4/Step10Page.html ) .
> I have uploaded a presentation from a seminar which still has to be  
> entirely set online.
> It is liked at http://www.mitk.org/wiki/Documentation within section  
> General Information.
> Direct link:  
> http://www.mitk.org/wiki/Documentation?action=AttachFile&do=view&target=MITK-InteractionAndUndo.pdf
>
> Best Regards,
> Ingmar
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]]
> Gesendet: Dienstag, 11. Januar 2011 01:29
> An: [email protected]
> Betreff: [mitk-users] Interaction and StateMachine.xml
>
> Hi,
>
> I was just playing around with MITK to figure out how the interaction
> works in MITK. MITK is installed in C:\Program Files\MITK directory on
> my windows machine. I renamed the StateMachine.xml file to
> StateMachine1.xml and all occurances of StateMachine.xml file where
> the source code is kept (for example, in
> C:\mitk-0.99.1\Core\Code\Interactions directory, and in other places).
> I was surprised to see that interactions were still well defined! So,
> it seems that StateMachine.xml is not the only way to define
> interaction, transitions, events, actions, etc. Is that true (must
> be!)? Is there any detailed documentation on how this works? I only
> found these two links: http://docs.mitk.org/0.10/InteractionPage.html
> and http://www.mitk.org/wiki/Interaction_concept
>
> Thanks!
>
> -Imran.
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>



------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to