Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connections and Expression Labels
Connections and Expression Labels [message #664519] Sun, 10 April 2011 17:55
Ralph Gerbig is currently offline Ralph GerbigFriend
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
Previous Topic:How to know the position of an element which placed on the edge of a parent element?
Next Topic:Create Diagram with initial Content
Goto Forum:
  


Current Time: Thu Apr 25 15:22:24 GMT 2024

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

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

Back to the top