Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Creating a DSL / Extending UML2
Creating a DSL / Extending UML2 [message #627224] Mon, 24 November 2008 21:25
Cristian Spiescu is currently offline Cristian SpiescuFriend
Messages: 83
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
ecore file.

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.
Previous Topic:Problems with creating simple UML2 class diagram
Next Topic:Usage of DerivedUnion or simple derived?
Goto Forum:

Current Time: Sat Apr 04 13:07:25 GMT 2020

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

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

Back to the top