Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Ecore model replacement (I want to replace my GMF Editor's Ecore model with another one)
Ecore model replacement [message #882330] Wed, 06 June 2012 05:05 Go to previous message
Matthias N is currently offline Matthias N
Messages: 58
Registered: June 2012
Member
we have an Eclipse GMF Editor which is based on an Ecore model that was hand-coded from a specification document.

Now, we have written a tool which automatically transforms the specification into an Ecore model.

My task now is to replace the hand-coded Ecore model with the generated one. At this, the GMF Editor should work with the new Ecore. The generated Ecore and the hand-coded Ecore differ in some ways (different names of attributes, classes, a few more classes).

My question now is:

How should I, or how easy is it to get the GMF Editor working. I am sure I could reuse the Tooling Model and the Graphical Model. My idea was to simply adapt the mapping model. However, when I replace the Ecore model, all the @generated NOT stuff will be lost.

How would you do the Ecore exchange ?!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Download of ziped p2 repositories?
Next Topic:trace files
Goto Forum:
  


Current Time: Wed May 22 08:21:30 EDT 2013

Powered by FUDForum. Page generated in 0.02243 seconds