Two diagrams, same domain model: duplication of the top level node in the project explorer [message #559795] |
Sat, 18 September 2010 16:05 |
masija . Messages: 59 Registered: July 2010 |
Member |
|
|
Hi @ all,
I implemented two gmf-plugins which share the same domain model, using a shared editing domain. Everything is working fine so far, but if I expand the file of the domainmodel in the project explorer, the top level nodes are duplicated:
default.test
-- Test Diagram newTestDiagram
....-- NodeA name1
....-- NodeA name2
....-- NodeB name3
-- Test Diagram new Test Diagram
....-- NodeA name1
....-- NodeA name2
....-- NodeB name3
I think the same behavior can be inspected when expanding an .ecore model in the project explorer. Then there is one top level node for the ecore model etitor, and one for the ecore diagram editor.
In the domain modelm the nodes and links are not duplicated, so its just a strange displaying behaviour.
In my use case, the user should be able to drag elements from the project explorer to a diagram-canvas. So I need to display one simple, representation instead of two.
Does anybody know how to change this behavior to my needs?
Any hints and help wpould be appreciated.
Thanks in advance and best regards,
Masija
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01949 seconds