Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Synch EMF and GMF
Synch EMF and GMF [message #1275895] Sun, 23 March 2014 20:37
Luca Gherardi is currently offline Luca GherardiFriend
Messages: 62
Registered: November 2010
Member
Hi all,

I have defined two Ecore models, let's say A and B.
B contains references to elements defined in A.

For A I have a GMF diagram editor, for B I'm using an XText DSL.

At runtime the model A is loaded twice. The first instance (A_1) is created by the GMF editor and the second (A_2) by the DSL editor. Is that correct?

I have an Eclipse command which retrieves the DSL model (model B) and operates on elements defined in both A_2 and B.
However, the changes performed on the elements of A_2 are not visible in the GMF editor (model A_1), since they are performed on the instance created by the Xtext editor (A_2).

Is there a way of having a single instance, or reflecting the changes made on A_2 on the model A_1 used by the GMF editor, or again programmatically open a new GMF editor which visualize the same model A_1 which is used by the XText editor?

Thanks in advance!

Previous Topic:[GMF Tooling] Integration of Graphiti
Next Topic:Customize XML serialization using ERefence Etype instead of name
Goto Forum:
  


Current Time: Thu Apr 25 02:06:04 GMT 2024

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

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

Back to the top