|
|
|
|
Re: Geometric Line Resize [message #1793607 is a reply to message #1793382] |
Sat, 11 August 2018 09:42  |
Eclipse User |
|
|
|
Hi cenk,
unfortunately, GEF FX Connection is deeply integrated into the default policies and interaction handlers. However, you can at least use TransformPolicy and ResizePolicy to reshape the visual (and update the model thereby), whereas bending will be more complicated (but that also demands for a more complex visual, such as Polyline).
Since you already implement IResizableContentPart and ITransformableContentPart, you should be able to use ResizeTranslateFirstAnchorageOnHandleDragHandler in combination with handles at start and end point (but you could start with the default multi-selection handles in all corners).
However, if you want to attach/detach start/end points, you will need a custom implementation. Maybe you can get inspiration from BendConnectionPolicy, but a simpler solution should be possible for the case of just start and end points.
Best regards,
Matthias
|
|
|
Powered by
FUDForum. Page generated in 0.03475 seconds