Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Grouping Nodes and defining property for the group
Grouping Nodes and defining property for the group [message #791792] Mon, 06 February 2012 09:07 Go to next message
ganesh ram is currently offline ganesh ramFriend
Messages: 26
Registered: January 2012
Junior Member

On the eclipse canvas i am able to group nodes by using the "" extension point.

Now i want to have certain attributes for that group.
for eg. if i have created 2 groups with 2 nodes in each group, i want to add a group property "name" which has the value "group1" (for the first group) and "group2"(for the second group).

How could i accomplish this ?

Re: Grouping Nodes and defining property for the group [message #792003 is a reply to message #791792] Mon, 06 February 2012 13:57 Go to previous message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 375
Registered: July 2009
Senior Member

The "group" you are referring is just a way how the diagram editor displays/behaves with respect to some properties of the notation model.

If you want those groups to store some properties, you need to make the "real" -- that is to include the grouping element into your semantic model and use the compartments instead of relying to the Group/Ungroup behavior.

Michael "Borlander" Golubev
at Montages Think Tank, Prague, Czech Republic
Montages AG, Z├╝rich, Switzerland
Previous Topic:Some duvids about GMF model format
Next Topic:Using Textarea instead of WrappingLabel
Goto Forum:

Current Time: Thu Jun 21 14:35:36 GMT 2018

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

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

Back to the top