Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Update a diagram from another
Update a diagram from another [message #1282003] Tue, 01 April 2014 18:27
bone Mab is currently offline bone MabFriend
Messages: 1
Registered: April 2014
Junior Member
hi everyone!
I need some help for this problem.
I have three diagram editors like this: super-diagram, sub-diagram and sub-sub-diagram. Double click on a node in the super-diagram opens sub-diagram and double click on a node in the sub-diagram opens sub-sub-diagram.
My problem is that I would like to automatically create a new node in super-diagram when a new sub-sub-diagram is created and update this node with the content of sub-sub-diagram.
I've tried to modify the OpenDiagramEditPolicy of the sub-diagram to get the content of super-diagram using the getParent() method but at now I've got no result. It's seems that I can't directly access the super-diagram from the sub-diagram.

Does Anyone has an idea on how to do this.??
Previous Topic:Programmatically expand of PaletteCompartmentEntry
Next Topic:GMF Error fom Layout plug-ins
Goto Forum:

Current Time: Tue Mar 02 21:13:14 GMT 2021

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

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

Back to the top