Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316165

Summary: Ecore to Uml generation
Product: [Modeling] MDT.UML2 Reporter: GrĂ©gory Oliver <elendrim>
Component: CoreAssignee: Kenn Hussey <Kenn.Hussey>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P2 CC: Ed.Merks, Kenn.Hussey
Version: unspecifiedKeywords: plan
Target Milestone: M5Flags: Kenn.Hussey: kepler+
Hardware: PC   
OS: Windows XP   
Whiteboard: Community Support

Description Grégory Oliver CLA 2010-06-08 12:16:13 EDT
Build Identifier: 20100218-1602

My request is the possibility to use the ecore model to create uml diagram.
For this I use a genmodel. 
But if I update my ecore model, and regenerate my uml model, I lost references for my old uml model, and all my uml diagram are unusable.

Reproducible: Always

Steps to Reproduce:
1.create an Ecore Model with few elements, like a class.
2.create an EMF Generator Model using the ecore model above
3.right click on the genmodel file > Export model to UML model
4.right click on the uml model > initialise Class Diagram
5.open and see that everything is ok
6.add a new class in the ecore model
7. right click on the genmodel > reload the genmodel
8. right click on the genmodel > Export to Uml model
9. open the umlclass diagram 
an "Unresolved domain element" is show and the diagram is unusable.
Comment 1 Kenn Hussey CLA 2010-06-09 16:22:36 EDT
One easy way to support this would be to add a new conversion option that assigns "consumable" XMI identifiers to the resulting UML elements, similar to what is done by the "convert to metamodel" example action.
Comment 2 Kenn Hussey CLA 2013-01-06 15:17:02 EST
The changes have been committed/pushed to the 'master' branch in git.
Comment 3 Kenn Hussey CLA 2013-01-14 10:55:08 EST
The changes are now available in a Kepler integration build for UML2 4.1.0.