开发者

Eclipse GEF - Locking ConnectionAnchors to positions on a Figure

开发者 https://www.devze.com 2023-01-28 22:43 出处:网络
Is there a method for locking connections in place when connecting to figures.I am using connection anchors and have specified the vertical and horizontal offsets for the anchors in each f开发者_JAVA百

Is there a method for locking connections in place when connecting to figures. I am using connection anchors and have specified the vertical and horizontal offsets for the anchors in each f开发者_JAVA百科igure. After connection is established, if the figures are moved, then the position of the connection on the figure is changed.


It turns out that I hadn't modified the getTargetConnectionAnchor(ConnectionEditPart connEditPart) method to pass back the correct anchor, as I had with the getTargetConnectionAnchor(Request request) method.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号