double line [message #246113] |
Thu, 06 November 2008 14:12 |
Eclipse User |
|
|
|
Originally posted by: jgreen.upb.de
Hi,
is it possible to create a double like in GEF? How?
Thanks
Joel
|
|
|
|
Re: double line [message #246141 is a reply to message #246118] |
Fri, 07 November 2008 10:40 |
Eclipse User |
|
|
|
Originally posted by: jgreen.upb.de
Thanks!
Jacques LESCOT wrote:
> You need to override the outlineShape(Graphics) method in your
> connection figure class that may extend the PolylineConnection one.
>
> Default implementation draws a single line :
> protected void outlineShape(Graphics g) {
> g.drawPolyline(points);
> }
>
> You probably need to draw twice the given points with a "translate"
> between the two drawing.
>
> Regards,
> Jacques
>
>
> Joel Greenyer a écrit :
>> Hi,
>> is it possible to create a double like in GEF? How?
>>
>> Thanks
>>
>> Joel
|
|
|
Powered by
FUDForum. Page generated in 0.02665 seconds