Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Diagram partitioning saving problem
Diagram partitioning saving problem [message #668441] Thu, 05 May 2011 16:46
Lee  is currently offline Lee Friend
Messages: 1
Registered: May 2011
Junior Member
I'm working on an editor where one of the elements should open a new "sub-diagram" when double-clicked. In the EMF model, it looks like this (simplified):

Class: TopElement
Reference: DiagramElement_1
Reference: DiagramElement_2

Class: DiagramElement_1
Reference: DiagramElement_2

So that when you click on a DiagramElement_1, a new diagram editor opens that lets you create DiagramElement_2 elements inside the parent element.

I followed the tutorial here: http://wiki.eclipse.org/Diagram_Partitioning, or a similar one here: http://www.jevon.org/wiki/GMF_Diagram_Partitioning to get this behaviour, and it works fine, but when I save and close the subdiagram, and the reopen it, the elements inside are not saved (i.e., I get a new empty diagram). What should I do to fix this?
Previous Topic:Including ATL engine into a GMF app
Next Topic:Create automatically an edge between two nodes
Goto Forum:
  


Current Time: Fri Apr 26 21:37:28 GMT 2024

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

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

Back to the top