Could anybody help me with this? [message #734641] |
Sat, 08 October 2011 21:48  |
Eclipse User |
|
|
|
Hey does anybody know how to realize the model and diagram separation in gmf? Like in RSA class diagram modeling.. when adding a class element on a class diagram ,the element does not belong to the diagram which means deleting the diagram will not delete the element at the same time.. so in this case ,the element is not the child node of a diagram but on the same level ..
anybody knows? could anyone give me some tip? i need to realize this as soon as possible:-)
|
|
|
Re: Could anybody help me with this? [message #734784 is a reply to message #734641] |
Sun, 09 October 2011 18:25   |
Eclipse User |
|
|
|
Hello!
Model (semantic) element doesn't belong to a diagram.
So deleting the whole digram will not lead to loss of a model element,
unless you haven't turned on the option GenEditorGenerator#sameFileForDiagramAndModel on generation.
Even if the option is specified, diagram and model aren't mixed, but are neighbours in the file, so you'll be able to remove the whole diagram without affecting the model.
Regards,
Svyatoslav Kovalsky
at Montages Think Tank, Prague, Czech Republic
Montages AG, Zurich, Switzerland
|
|
|
|
Powered by
FUDForum. Page generated in 0.19106 seconds