Positioning a Label at the end (beginning) of a connection figure ... [message #53380] |
Fri, 22 September 2006 05:45  |
Eclipse User |
|
|
|
Originally posted by: snej_NO-SPAM_.esuark.de
Hi there,
i want to add a Label at the end of a (decorated) connection which
should represent the target (source) cardinality of the connection. What
could i add to my PolyLine Connection in my .gmfgraph file?
One thing i tried was a BorderLayout as child from the Connection and a
FigureRef also as child. Then the FigureRef gets the BorderLayoutData
(END). But this didn't work out:
<figures xsi:type="gmfgraph:PolylineConnection"
referencingElements="CompositionLink"
name="SolidLineFilledDiamond" targetDecoration="FilledDiamond">
<layout xsi:type="gmfgraph:BorderLayout"/>
<children xsi:type="gmfgraph:FigureRef"
figure="EjbRelationTargetCardinalityFigure">
<layoutData xsi:type="gmfgraph:BorderLayoutData"
alignment="END"/>
</children>
</figures>
Is there a build in possibility to solve this? Or must i implement an
own Layout?
regards
Jens Krause
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03534 seconds