Skip to main content


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 Friend
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
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

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

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:Create Diagram Node from code
Next Topic:Weird bug with Eclipse BPMN modeler in SetCommand.create
Goto Forum:
  


Current Time: Thu Apr 25 10:52:46 GMT 2024

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

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

Back to the top