Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Diagram partition on Non-top level node
Diagram partition on Non-top level node [message #658071] Sat, 05 March 2011 17:59 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:[GMF] Read-only shortcuts
Next Topic:Custom movement with arrow keys
Goto Forum:
  


Current Time: Sat Aug 30 20:55:22 EDT 2025

Powered by FUDForum. Page generated in 0.03017 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top