|
Re: Nested State Machine [message #509109 is a reply to message #509030] |
Thu, 21 January 2010 12:16 |
Zahraa Messages: 12 Registered: November 2009 |
Junior Member |
|
|
I checked the log file and the problem with the new model initialization
in this method
compartment.diagram.edit.policies.OpenDiagramEditPolicy.Open DiagramCommand.intializeNewDiagram()
I debugged the code...and I found that the node that I double click on should be the root node for the sub model
I redesigned the model and it worked...but what if I dont want it to be the root( since Im using the same model )
[Updated on: Thu, 21 January 2010 14:12] Report message to a moderator
|
|
|
Re: Nested State Machine [message #509168 is a reply to message #509030] |
Thu, 21 January 2010 15:02 |
|
Hi,
perhaps you can try to use your custom OpenDiagramEditPolicy and call the Open on the correct root element based on your double-clicked element.
Regards,
Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
|
|
|
|
Powered by
FUDForum. Page generated in 0.03738 seconds