Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Multiple label in one node
Multiple label in one node [message #1028128] Wed, 27 March 2013 21:51 Go to next message
Valerian Merkling is currently offline Valerian MerklingFriend
Messages: 71
Registered: May 2011
Member
Hi !

I would like to know if it's possible to have two label showing two properties on one node.

When i try to do it, the second label is not linked to my node's property, and just show the default value in grey...

Does anyone have an idea about this ?

Thanks a lot !

Regards,

Valerian
Re: Multiple label in one node [message #1032643 is a reply to message #1028128] Wed, 03 April 2013 08:47 Go to previous messageGo to next message
Thomas Beyer is currently offline Thomas BeyerFriend
Messages: 55
Registered: February 2013
Member
Hi Valerian,

this should work for any number of attributes/labels.
Check your FeatureLabelMappings, if everything is set ok, especially the featurestoedit and featurestodisplay entries.

Regards
Thomas
Re: Multiple label in one node [message #1032658 is a reply to message #1032643] Wed, 03 April 2013 09:06 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi Valerian,

you can also use ExpressionLabelMapping in gmfmap. With this you can use OCL to calculate values even from attributes of othe nodes than the one for which the label is displayed.

Ralph
Previous Topic:Highlighting parts of a diagram
Next Topic:Removing all edit policies at once ...
Goto Forum:
  


Current Time: Fri Apr 19 22:06:41 GMT 2024

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

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

Back to the top