Iterative export of ecore to UML2 [message #755667] |
Wed, 09 November 2011 04:12  |
Eclipse User |
|
|
|
Hello,
Suppose that we have an ecore model (M.ecore), which we want to convert to an UML model, so that it can be referenced in other UML models as a design artefact.
During development, it is expected that M.ecore is changed several times, and M.uml must be updated each time.
The problem is that at each 'Export model...' run on M.genmodel, M.uml is generated, but with different xmi:id attributes.
How can the xmi:id attributes be preserved from the existing target model for the unchanged model elements ?
Regards,
Vlad Gheorghe
|
|
|
Re: Iterative export of ecore to UML2 [message #755689 is a reply to message #755667] |
Wed, 09 November 2011 05:18   |
Eclipse User |
|
|
|
Hi Vlad
I recommend using *.uml as your primary artefact and *.ecore as a
derived artefact.
Sadly the editor tooling isn't as good.
Papyrus Class Diagrams are ok.
UML Model editor is quite painful.
OCLinEcore can load but cannot yet save UML.
Regards
Ed Willink
On 09/11/2011 09:12, Vlad Gheorghe wrote:
>
> Hello,
>
> Suppose that we have an ecore model (M.ecore), which we want to
> convert to an UML model, so that it can be referenced in other UML
> models as a design artefact.
>
> During development, it is expected that M.ecore is changed several
> times, and M.uml must be updated each time.
>
> The problem is that at each 'Export model...' run on M.genmodel, M.uml
> is generated, but with different xmi:id attributes.
>
> How can the xmi:id attributes be preserved from the existing target
> model for the unchanged model elements ?
>
> Regards,
> Vlad Gheorghe
>
|
|
|
|
|
|
|
|
Re: Iterative export of ecore to UML2 [message #756916 is a reply to message #756720] |
Tue, 15 November 2011 09:28  |
Eclipse User |
|
|
|
Hi Ed,
Did you see the Eclipse movie ?
This movie is about Bella, whose high school graduation is fast approaching, is forced to choose between her love for vampire Edward (e.g EMF) and her friendship with werewolf Jacob (e.g. UML).
[Updated on: Thu, 17 November 2011 05:05] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.08992 seconds