Two instances of same diagram type for one model file [message #54578] |
Mon, 25 September 2006 03:01  |
Eclipse User |
|
|
|
Originally posted by: kalin.nakov.gmail.com
Hi,
I have created a model and a diagram editors in GMF, let's say MyEditor.
MyEditor works well with one diagram per model. But when I initialize a
second diagram from the same model and delete or add something there, it
gets reflected in the first diagram and also in the model itself. Is it
possible to create two diagrams of the same type for one model and have
instances in the model and only references in the diagrams, so that when
I delete a node in one diagram, it stays both in the model and the other
diagram? I want the model to be union of all diagrams.
Said in simple words I want something like the repository-based UML
tools - have one repository and many class diagrams to it. The
repository is the union of all diagrams.
Is there a native support in GMF for this, or I should create my own
implementation? If so, can you advise me where to start from?
Thanks in advance!
|
|
|
|
Powered by
FUDForum. Page generated in 0.04167 seconds