Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 22:59 Go to next message
Yu Sun is currently offline Yu SunFriend
Messages: 58
Registered: July 2009
Member
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 12:03 Go to previous message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
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: Tue Dec 10 18:29:05 GMT 2024

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

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

Back to the top