[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: How to create filled and not filled triangle at the end points of connection

You would create a subclass of PolylineDecoration and install it on your
PolylineConnection.  I believe you would use the Shape#setFill method to
indicate it needs to be filled and then override the fillShape and call
g.drawPolygon(points).

@see
org.eclipse.gef.examples.ediagram.edit.parts.ReferenceLinkEditPart#createPol
ylineDecoration

-Steve

"rupesh" <rupesh_wakde@xxxxxxxxx> wrote in message
news:b710e47ada67a1dc4a2cc111cc65962f$1@xxxxxxxxxxxxxxxxxx
> Hi,
>     Can anybody tell me how to create not filled triangle(used for
> association)and filled at the end points of the connection.
>