Package org.eclipse.gef.fx.nodes
Interface IConnectionRouter
-
- All Known Implementing Classes:
AbstractRouter
,OrthogonalRouter
,StraightRouter
public interface IConnectionRouter
AnIConnectionRouter
is responsible foradjustment
of aConnection
's points. This may also include providing reference points forDynamicAnchor
s the connection is attached to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
route(Connection connection)
Adjusts theconnection's
anchors (if necessary) to satisfy certain routing constraints.boolean
wasInserted(IAnchor anchor)
-
-
-
Method Detail
-
route
void route(Connection connection)
Adjusts theconnection's
anchors (if necessary) to satisfy certain routing constraints. This includes insertion of 'implicit' anchors, as well as updating the positions of existing anchors (which includes manipulating thecomputation parameters
ofdynamic anchors
.- Parameters:
connection
- TheConnection
to route.
-
wasInserted
boolean wasInserted(IAnchor anchor)
Returnstrue
if the givenIAnchor
was added by thisIConnectionRouter
duringroute(Connection)
. Otherwise returnsfalse
.
-
-