Dynamic locations/points [message #875133] |
Tue, 22 May 2012 03:51  |
Eclipse User |
|
|
|
I have a Shape A connected to Shape B by a FreeFormConnection with 2 bend points, each below the Shape, so, it looks like the ManhattenConnection...
Now, if I move Shape A, then, the bend point below it must be moved with it automatically. I have disabled bend points to be moveable (returning null for getMoveBendpointFeature)...
How do I achieve this? Is there a way to define a "dynamic location/point"? (Location/Point of bend point auotmatically moves by a specific x/y offset whenever the source/target anchor is moved, for example)
|
|
|
|
Re: Dynamic locations/points [message #875154 is a reply to message #875140] |
Tue, 22 May 2012 04:37  |
Eclipse User |
|
|
|
Thanks for the hint!
I just debugged into the DefaultMoveShapeFeature which has some methods I would like to re-use, e.g. calculateConnectedConnections...
Any intentions to mark those re-usable methods protected/public?
|
|
|
Powered by
FUDForum. Page generated in 0.03926 seconds