Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Same type of diagram in the compartments
Same type of diagram in the compartments [message #724893] Tue, 13 September 2011 12:53 Go to next message
Phoenix  is currently offline Phoenix
Messages: 10
Registered: September 2011
Junior Member
Hello,

I am a bit new to EMF and GMF stuff. I am trying to find my way around, I would be glad if someone could help me out with the following doubt I have:


Suppose I have a meta model and while defining the graphical model, I have certain nodes A,B,C,D etc and certain links X,Y,Z etc.
Now, one of these nodes, say D should be composed of 3 compartments, and within those compartments I want to be able to add same diagram elements, i.e they should be available on the canvas as well as I should be able to draw them in the compartments,something like this :

(x) (Y)

D__________ ---->A-->C
| A-->C |
|_________ |
| B-->D |
|_________ |
| B-->C-->A|
|_________ |

where ---> represent links x,y,z etc


Is such kind of thing possible ? And if it is, how ?

Regards
Ph.
Re: Same type of diagram in the compartments [message #726038 is a reply to message #724893] Fri, 16 September 2011 13:04 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 558
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

yes, you can.
You can use Child Node Reference.

Regards,


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Previous Topic:Create Diagram Node from code
Next Topic:Weird bug with Eclipse BPMN modeler in SetCommand.create
Goto Forum:
  


Current Time: Wed Sep 17 23:48:07 GMT 2014

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

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