Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Two diagrams, same domain model: duplication of the top level node in the project explorer
Two diagrams, same domain model: duplication of the top level node in the project explorer [message #559795] Sat, 18 September 2010 16:05 Go to next message
masija . is currently offline masija .Friend
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
Re: Two diagrams, same domain model: duplication of the top level node in the project explorer [message #559891 is a reply to message #559795] Mon, 20 September 2010 09:03 Go to previous messageGo to next message
masija . is currently offline masija .Friend
Messages: 59
Registered: July 2010
Member
in the .gmfgen model, the property of GenNavigator -> generate domain model navigator can be changed from true to false....
Re: Two diagrams, same domain model: duplication of the top level node in the project explorer [message #607550 is a reply to message #559891] Tue, 21 September 2010 20:07 Go to previous message
Fernando Herrera is currently offline Fernando HerreraFriend
Messages: 49
Registered: January 2010
Member
Thanks for share masija I have the same issue. Regards

Fernando
Previous Topic:Show the Properties of the Super Type Element
Next Topic:Index of ordered list as property
Goto Forum:
  


Current Time: Fri Apr 19 00:05:45 GMT 2024

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

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

Back to the top