Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Dummy Node
Dummy Node [message #899587] Wed, 01 August 2012 10:14 Go to next message
Eclipse UserFriend
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 07:29 Go to previous messageGo to next message
Eclipse UserFriend
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 08:22 Go to previous messageGo to next message
Eclipse UserFriend
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 08:23] by Moderator

Re: Dummy Node [message #900964 is a reply to message #899587] Thu, 09 August 2012 04:54 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 13:35:44 EDT 2025

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

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

Back to the top