|Re: Gef Connection source and endpoint location update [message #755453 is a reply to message #755314]
||Tue, 08 November 2011 09:59
| Alexander Nyssen
Registered: July 2009
what you will have to do is to provide respective ConnectionAnchor implementations for your source and target figures, which your source and target EditParts will have to provide via the methods of the NodeEditPart interface (which they have to implement as being valid source/target for connections). There is no predefined connection anchor that provides your desired behavior, but you may easily create one by subclassing AbstractConnectionAnchor. It already provides a listener mechanism, which will update the locations upon changes to the reference figure.
Powered by FUDForum
. Page generated in 2.95331 seconds