Diagram partition on Non-top level node [message #658071] |
Sat, 05 March 2011 17:59  |
Eclipse User |
|
|
|
Hi everyone,
I am trying to have a second diagram for a certain node.
By following the diagram partition wiki online, I can make it work when the node is a top level node (in the .gmfgen model, right click on the top level node, and add new Open Diagram Behaviour ... associate it with your second diagram).
However, if the node is not a top level node, it seems that the approach does not work (in the .gmfgen model, right click on the child node, and add new Open Diagram Behaviour ...).
I am wondering if this is a limitation, or I did something incorrectly?
Thanks a lot.
Yu
|
|
|
Re: Diagram partition on Non-top level node [message #658203 is a reply to message #658071] |
Mon, 07 March 2011 07:03  |
Eclipse User |
|
|
|
Hello,
Weird, the EList<Behaviour> getBehaviour(); method is defined in the GenCommonBase which is common superclass to all of the diagram element representations.
So you should be able to add the OpenDiagramBehavior here.
What exactly is the element you are trying to add behavior to?
Regards,
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.03054 seconds