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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConstraint(org.eclipse.draw2d.Connection connection) voidremove(org.eclipse.draw2d.Connection connection) voidroute(org.eclipse.draw2d.Connection conn) voidsetConnectionModel(ConnectionModel connectionModel) voidsetConstraint(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:
getConstraintin interfaceorg.eclipse.draw2d.ConnectionRouter- Overrides:
getConstraintin classorg.eclipse.draw2d.AbstractRouter
-
remove
public void remove(org.eclipse.draw2d.Connection connection) - Specified by:
removein interfaceorg.eclipse.draw2d.ConnectionRouter- Overrides:
removein classorg.eclipse.draw2d.AbstractRouter
-
setConstraint
- Specified by:
setConstraintin interfaceorg.eclipse.draw2d.ConnectionRouter- Overrides:
setConstraintin classorg.eclipse.draw2d.AbstractRouter
-
setConnectionModel
-
route
public void route(org.eclipse.draw2d.Connection conn)
-