Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dummy Node
Dummy Node [message #899587] Wed, 01 August 2012 14:14 Go to next message
Matthias N is currently offline Matthias NFriend
Messages: 66
Registered: June 2012
Member
Hi,
I have the following situation:

+-----+              +------+
|  A  |              |   C  |
+-----+              +------+
  <>                    <>
  |                     |
  |                     |    
+-----+         0..* +------+
|  B  |------------> |   D  |
+-----+              +------+


I have two diagram editors: one for A, where I can create nodes of B and a diagram editor for C, where I can create nodes of D.


Now I want to draw a line from B to D, but D is not a top node reference in the diagram editor because D is contained by C. However, I can select an instance of D in B's property view. That works, but I want to use a connection line.

How would you solve this problem ?!
The nicest would be to have sth. like a dummy node of D in A's diagram editor, is this possible ?!

thanks

Re: Dummy Node [message #899791 is a reply to message #899587] Thu, 02 August 2012 11:29 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

I have seen a tutorial for this a while ago. Unfortunately I cannot find it anymore. There is a way to have nodes from one diagram in another which link between the two. As far as I know it has to do something with shared editing domains. You can find information on this here: http://wiki.eclipse.org/Graphical_Modeling_Framework/Tips#Sharing_single_EditingDomain_instance_across_several_diagrams I hope this helps a bit further.

Ralph
Re: Dummy Node [message #899809 is a reply to message #899791] Thu, 02 August 2012 12:22 Go to previous messageGo to next message
Matthias N is currently offline Matthias NFriend
Messages: 66
Registered: June 2012
Member
that is actually too bad that you can't find the tutorial. My diagram editor already implements the shared editing domain.

Does anyone else knows about that tutorial ?!

[Updated on: Thu, 02 August 2012 12:23]

Report message to a moderator

Re: Dummy Node [message #900964 is a reply to message #899587] Thu, 09 August 2012 08:54 Go to previous message
Matthias N is currently offline Matthias NFriend
Messages: 66
Registered: June 2012
Member
I found a thread which had a solution,
it links to the following thread:

http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg09370.html

But the link is dead. Is there a way to access the thread anyhow ?!
Previous Topic:Select, Zoom and Note Palette Icon Location?
Next Topic:problems in sending a command when deleting an editpart
Goto Forum:
  


Current Time: Tue Apr 23 10:37:45 GMT 2024

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

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

Back to the top