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 17:51 Go to next message
Valerian Merkling is currently offline Valerian Merkling
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 04:47 Go to previous messageGo to next message
Thomas Beyer is currently offline Thomas Beyer
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 05:06 Go to previous message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 697
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: Tue Jul 29 17:03:09 EDT 2014

Powered by FUDForum. Page generated in 0.02689 seconds