[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Integrating EMF / GMF editors - diagram changes not saving

Hello Tamer,

So, you have non-RCP version of this combined editor, right?
In general this means you have used different instances of EditingDomain (ResourceSet) to load data into the EMF- and GMF-generated editors..


Please re-check that you've correctly performed step http://www.eclipse.org/articles/Article-Integrating-EMF-GMF-Editors/index.html#extending_the_editor_input - proper instance of EditingDomain used while constructing diagram document in ???DocumentProvider.createEmptyDocument(). This instance of Editing domain should be the same as one created in ???Editor.initializeEditingDomain() - you can check it in a debugger.

-----------------
Alex Shatalin