|Creating a DSL / Extending UML2 [message #627224]
||Mon, 24 November 2008 21:25
| Cristian Spiescu
Registered: July 2009
I have followed the "Creating Robust Scalable DSL's with UML:
EclipseCon2008: Tutorial" article from the UML2 wiki. I must say that I'm
quite impressed by the extension mechanism within the UML2 project.
I have a few questions though. In the tutorials, a new EMF model is
created after the UML metamodel or profile has been defined, using the
"New EMF Model" wizard. This step generates a .genmodel file, and an
If I update the UML model (let's say I add a new property), I need to
regenerate the ecore file. How can I do this in a "clean" way?
My current approach is to re-run the "New EMF Model" wizard each time, and
save the .genmodel file under a different name (so it won't overwrite the
existing genmodel settings).
I have seen that there is a command in the "UML Editor" menu that converts
the current model. The problem is that when using this command, the
ecore.ecore and uml.ecore files are generated as well (besides my.ecore
file), and my.ecore references these 2 newly generated ecore models
(instead of the ones defined in the "pathmap", ie
What is your approach when doing this kind of operations?
Thank you in advance.
Powered by FUDForum
. Page generated in 0.01215 seconds