Grouping Nodes and defining property for the group [message #791792] |
Mon, 06 February 2012 04:07  |
Eclipse User |
|
|
|
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 08:57  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02901 seconds