Skip to main content



      Home
Home » Eclipse Projects » GEF » question about connection anchors and routers
question about connection anchors and routers [message #168739] Fri, 18 February 2005 10:08
Eclipse UserFriend
My polyline connection uses ChopboxAnchors and
FanRouter+BendpointConnectionRouter like in the Logic example. However, if i
move a node with two or more connections, one one of the connections move
along with the node. The others stay hanging in the original place. If i
click on any of these dangling connections, they refresh and fix themselves
to the node automatically.

Obviously, there is a a refresh problem here. I tried a other anchors such
as TopAnchor from the SchemaEditor example and they don't cause these
problems. But i want the Chopbox behavior (attaches connection to the
nearest point on the node boundary) and not TopAnchor behavior (always
attached to the nearest point on the top of the node boundary).

So, what is it about Chopbox anchor that is causing this behavior? Or is it
in the Bendpoint Router? I'm entirely confused about the relationships
between Anchors, Routers and Connections!

thanks in advance
Sapna
Previous Topic:Automated Testing of GEF
Next Topic:GefDescription2 class diagram example
Goto Forum:
  


Current Time: Wed Jun 18 07:31:50 EDT 2025

Powered by FUDForum. Page generated in 0.10027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top