Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Synchronizing a model and diagrams
Synchronizing a model and diagrams [message #168599] Thu, 17 January 2008 12:34 Go to next message
Eclipse UserFriend
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 16:19 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
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
Previous Topic:How to regenerate gmfGen
Next Topic:Customizing the Properties Editor in GMF
Goto Forum:
  


Current Time: Sat Apr 27 00:16:48 GMT 2024

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

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

Back to the top