Class FixedPointsConnectionRouter
java.lang.Object
org.eclipse.draw2d.AbstractRouter
org.csstudio.opibuilder.editparts.FixedPointsConnectionRouter
- All Implemented Interfaces:
org.eclipse.draw2d.ConnectionRouter
public class FixedPointsConnectionRouter
extends org.eclipse.draw2d.AbstractRouter
The router that route a connection through fixed points
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.draw2d.ConnectionRouter
org.eclipse.draw2d.ConnectionRouter.NullConnectionRouter
-
Field Summary
Fields inherited from interface org.eclipse.draw2d.ConnectionRouter
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConstraint
(org.eclipse.draw2d.Connection connection) void
remove
(org.eclipse.draw2d.Connection connection) void
route
(org.eclipse.draw2d.Connection conn) void
setConnectionModel
(ConnectionModel connectionModel) void
setConstraint
(org.eclipse.draw2d.Connection connection, Object constraint) Methods inherited from class org.eclipse.draw2d.AbstractRouter
getEndPoint, getStartPoint, invalidate
-
Constructor Details
-
FixedPointsConnectionRouter
public FixedPointsConnectionRouter()
-
-
Method Details
-
getConstraint
- Specified by:
getConstraint
in interfaceorg.eclipse.draw2d.ConnectionRouter
- Overrides:
getConstraint
in classorg.eclipse.draw2d.AbstractRouter
-
remove
public void remove(org.eclipse.draw2d.Connection connection) - Specified by:
remove
in interfaceorg.eclipse.draw2d.ConnectionRouter
- Overrides:
remove
in classorg.eclipse.draw2d.AbstractRouter
-
setConstraint
- Specified by:
setConstraint
in interfaceorg.eclipse.draw2d.ConnectionRouter
- Overrides:
setConstraint
in classorg.eclipse.draw2d.AbstractRouter
-
setConnectionModel
-
route
public void route(org.eclipse.draw2d.Connection conn)
-