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
Hi,

On the eclipse canvas i am able to group nodes by using the "org.eclipse.gmf.runtime.common.ui.services.action.contributionItemProviders" 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 ?

Thanks,
Ganesh
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: 383
Registered: July 2009
Senior Member
Hello,

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.

Regards,
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: Fri Mar 29 12:44:34 GMT 2024

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

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

Back to the top