[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2tools] Re: Create ECORE for UML diagram

Vlad Varnica a écrit :
Dragi Dusan,

Yes, I do recommend to use UML.
You first need to upgrade to UML 2.2 metamodel and then recreate dynamically your diagram from this UML superstructure. You can see an example at : http://www.forum-omondo.com/documentation_eclipseuml_2008/eclipseuml2008_dynamic_navigation.html



Topcased if based on GMF and not on the UML metamodel
Vlad, that is not true !
The UML Editor shipped as part of Topcased is based on the UML metamodel (this is the *.uml file, corresponding to the semantic model), but also on a custom Diagram Interchange metamodel (this is the *.umldi file, corresponding to the graphical model).
therefore it is impossible to recreate views from your existing model even if you upgrade it.
Thus it is completely possible to recreate your diagrams from the semantic model only. This is indeed a statement that Dusan made in a previous message on this thread ("Using TOPCASED it is possible to create UML class diagram from existing UML model."). However there is indeed some limitations, particularly on Sequence diagrams, where diagrams can not be recreated automatically.

Regards,
Jacques
You can still try the model to model transformation but to
get a compatible GMF project from that, I doubt of it.
There is today a little split in the Eclipse modeling community between modeling approaches and the use or not of GMF or EMF transformation stage. I mean what is the best modeling approach and why do we model ? Is-it important to spend time on the glue of GEF & EMF mapping or on Ecore using EMF serialization for UML purposes ?
We have selected the second approach and I am persuaded that sooner or later the market will adopt it. The best model to model transformation is no transformation at all :-)


Vlad Varnica
Omondo