| Ecore model replacement [message #882330] |
Wed, 06 June 2012 05:05  |
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 ?!
|
|
|