Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Label not centered
Label not centered [message #198100] Mon, 21 July 2008 14:32
Eclipse UserFriend
Originally posted by: me.urszeidler.de

There was an question unresolved in this thread, with gmf 2.1 where
wrappedLabel was changed to WrappingLabel and so there is a need to set
setAligment(PositionConstants.Center) on the Label.

How is it set in the graphdef, my first thought was :

<labels
name="Callname"
figure="CallFigure"
elementIcon="false"
accessor="//@figures.0/@descriptors.23/@accessors.0">
<facets
xsi:type="gmfgraph:GeneralFacet"
identifier="Alignment"
data="PositionConstants.CENTER"/>
</labels>

But as W.F. points out, this does not work. So the question remains how
to set this in the graphdef ?


greetings, urs.
Previous Topic:tool selection customisation
Next Topic:How to cener a label into a figure
Goto Forum:
  


Current Time: Sat Jun 06 12:02:15 GMT 2020

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

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

Back to the top