Synchronizing a model and diagrams [message #168599] |
Thu, 17 January 2008 07:34  |
Eclipse User |
|
|
|
Originally posted by: research.opencanarias.com
Hi all,
Editing a model with Sample Ecore Editor and having one (or several)
Diagrams associated to one (or several) model elements, i tried to move
that element to another container (For example in UML model moving a
Class from a Package to another Package)... I was expecting that the
Element in the Diagram model changed its reference to the model element,
however, it didn't. Actually the Diagram Editor, have a "disabled-grey"
information about the diagram info.
I think that it would be desirable that moving an element from a model
to a new position in the model, or even into a different model, the
diagram were updated with the new element reference, wouldn't it ?.
PD:
I'm working with Europa version.
Regards,
Adolfo.
|
|
|
Re: Synchronizing a model and diagrams [message #169070 is a reply to message #168599] |
Mon, 21 January 2008 11:19  |
Eclipse User |
|
|
|
Hello Adolfo Sánchez-Barbudo,
There is a workaround for performing such kind of complex refactorings -
you should load source, target and all referencing (diagram) models into
the same ResourceSet, perform modifications (move element to the new place)
and then save all resources.
-----------------
Alex Shatalin
|
|
|
Powered by
FUDForum. Page generated in 0.03118 seconds