Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsGMF Diagram-EMF Model Sync problem
https://www.eclipse.org/forums/index.php/mv/msg/63286/199473/#msg_199473
Originally posted by: s.gil.gmx.com
Hello,
Im currently having a sync problem between the GMF diagram and the EMF
Model, in my application.
The situation is as the following:
In my application, when I change a property on one of my nodes in the GMF
diagram I need to make an Elist, non modifiable.
So when i do that, the diagram keeps "seeing" the list as modifiable, while
the EMF model doesnt allow to modify the list.
I assume it is a SYNC problem, because when i close and open the GMF diagram
again, the list behaves as it should, as an unmodifiable list.
the following is the code used to turn the list as non-modifiable:
In the example the List is called: "this.iports".
this.iports = new EcoreEList.UnmodifiableEList<IPort>(this,
(i have tryied a lot of posible notifications, but with no effect).
I assume the problem is that the GMF diagram does NOT sees the EMF propertiy
chage (make the list non-modifiable).
Anyone has an idea what might be my problem here? any clues to solve it?
Or anyone know how to "REFRESH" the whole GMF diagram programatically?
thanks in advance.
-Santiago Gil]]>2008-07-30T03:04:08-00:00Re: GMF Diagram-EMF Model Sync problem
https://www.eclipse.org/forums/index.php/mv/msg/63286/199532/#msg_199532
I use a transformation process in ATL to generate the mapping from the
EMF model.
I think there are one or more projects addressing this also.
greetings, urs.]]>urs zeidler2008-07-30T12:52:39-00:00Re: GMF Diagram-EMF Model Sync problem
https://www.eclipse.org/forums/index.php/mv/msg/63286/199720/#msg_199720
Originally posted by: s.gil.gmx.com
thnask urs,
i ll check and i ll let you iknow. I was planning on using
OpenArchitectureWare for code generation, is ATLSync similar to OAW, in some
ways?