customizing connections [message #239908] |
Tue, 20 November 2007 15:12 |
Richard Adams Messages: 77 Registered: July 2009 Location: Edinburgh |
Member |
|
|
Hello,
So far I have been using standard polyline connections, the basic
behaviour
has worked very well.
Now I have to implement connections with 2 decorators at each end. The
1st pair of decorators must be offset from the connection ends and it must
look as though
the link ends at the decorators. However the link must continue invisibly
to the
'terminal decorator' which is centred over the connection anchor.
i.e.,
link 1st gap terminaldecorator
dec
------> {}
Is this possible in draw2d? Is there a way to make parts of a connection
visible or not? I tried adding extra points to the line but I believe this
is how bendpoints are implemented. Also, is it possible to have multiple
decorators
without extensive subclassing?
Thanks
Richard
Dr Richard Adams, University of Edinburgh
http://richardadams606blog.blogspot.com/
http://csbe.bio.ed.ac.uk/adams.php
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03154 seconds