Connections and Expression Labels [message #664519] |
Sun, 10 April 2011 17:55 |
Ralph Gerbig Messages: 702 Registered: November 2009 |
Senior Member |
|
|
Hello all,
i have labels at connections. If I define a string in the gmfgraph file this text gets shown in the model editor. Unfortunatly this does not fit my needs so I decided to use expression labels in the gmfmap. However the text specified in these mappings does not show up. Is this a bug? Here is some example XMI:
<links>
<labelMappings
xsi:type="gmfmap:ExpressionLabelMapping"
readOnly="true">
<diagramLabel
href="xxx.gmfgraph#xxxLabel"/>
<viewExpression
body="'String that shall be displayed'"/>
</labelMappings>
<tool
xsi:type="gmftool:CreationTool"
href="xxx.gmftool#//@palette/@tools.3/@tools.3"/>
<diagramLink
href="plm.gmfgraph#xxxLink"/>
<linkMetaFeature
xsi:type="ecore:EReference"
href="xxx.ecore#//MetaClass/feature"/>
</links>
Thank you all!
Ralph
|
|
|
Powered by
FUDForum. Page generated in 0.03128 seconds