|
Re: the shape of the arrow [message #657652 is a reply to message #657290] |
Thu, 03 March 2011 10:26  |
Eclipse User |
|
|
|
Hello,
Here is the working snippet for generalization-like template:
<gmfgraph:Canvas xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gmfgraph="http://www.eclipse.org/gmf/2006/GraphicalDefinition" name="ClassDiagram Canvas">
<figures name="ClassDiagram Figure Gallery">
<figures xsi:type="gmfgraph:PolygonDecoration" name="ClosedArrow">
<backgroundColor xsi:type="gmfgraph:ConstantColor"/>
<template/>
<template x="-2" y="2"/>
<template x="-2" y="-2"/>
<template/>
</figures>
<descriptors name="SolidLineWDstClosedArrow">
<actualFigure xsi:type="gmfgraph:PolylineConnection" targetDecoration="//@figures.0/@figures[name='ClosedArrow'] "/>
</descriptors>
</figures>
<connections name="SolidConnectionWDstClosedArrow" figure="SolidLineWDstClosedArrow"/>
</gmfgraph:Canvas>
This is extract from the org.eclipse.gmf.graphdef plugin, /model/classDiagram.gmfgraph, which contains more samples.
Regards,
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.04307 seconds