Uses of Interface
org.eclipse.draw2d.Connection
Packages that use Connection
Package
Description
Primary package containing general interfaces and implementation classes.
-
Uses of Connection in org.eclipse.draw2d
Classes in org.eclipse.draw2d that implement ConnectionMethods in org.eclipse.draw2d that return ConnectionModifier and TypeMethodDescriptionprotected Connection
ConnectionLocator.getConnection()
Returns connection associated with ConnectionLocator.protected Connection
RelativeBendpoint.getConnection()
Returns the Connection this Bendpoint is associated with.Methods in org.eclipse.draw2d with parameters of type ConnectionModifier and TypeMethodDescriptionboolean
ShortestPathConnectionRouter.containsConnection
(Connection conn) Returns true if the given connection is routed by this router, false otherwiseprotected PointList
ViewportAwareConnectionLayerClippingStrategy.getAbsolutePointsAsCopy
(Connection connection) Returns the connection's points in absolute coordinates.AbstractRouter.getConstraint
(Connection connection) Returns the constraint for the given Connection.AutomaticRouter.getConstraint
(Connection connection) BendpointConnectionRouter.getConstraint
(Connection connection) Gets the constraint for the givenConnection
.ConnectionRouter.getConstraint
(Connection connection) Returns the constraint for the Connection.ShortestPathConnectionRouter.getConstraint
(Connection connection) Gets the constraint for the givenConnection
.protected Rectangle[]
ViewportAwareConnectionLayerClippingStrategy.getEdgeClippingRectangle
(Connection connection) Computes clipping rectangle(s) for a given connection.protected Ray
ManhattanConnectionRouter.getEndDirection
(Connection conn) protected Point
AbstractRouter.getEndPoint
(Connection connection) A convenience method for obtaining a connection's endpoint.protected int
ManhattanConnectionRouter.getRowNear
(Connection connection, int r, int n, int x) protected Ray
ManhattanConnectionRouter.getStartDirection
(Connection conn) protected Point
AbstractRouter.getStartPoint
(Connection conn) A convenience method for obtaining a connection's start point.void
AbstractRouter.invalidate
(Connection connection) Causes the router to discard any cached information about the given Connection.void
AutomaticRouter.invalidate
(Connection conn) void
ConnectionRouter.invalidate
(Connection connection) Invalidates the given Connection.void
ManhattanConnectionRouter.invalidate
(Connection connection) final void
RoutingAnimator.invalidate
(Connection conn) Hooks invalidate for animation purposes.void
RoutingListener.invalidate
(Connection connection) Called when the connection has been invalidated.void
RoutingListener.Stub.invalidate
(Connection connection) void
ShortestPathConnectionRouter.invalidate
(Connection connection) final void
RoutingAnimator.postRoute
(Connection connection) Hooks post routing for animation purposes.void
RoutingListener.postRoute
(Connection connection) Called after normal routing has completed.void
RoutingListener.Stub.postRoute
(Connection connection) protected void
ManhattanConnectionRouter.processPositions
(Ray start, Ray end, List<Integer> positions, boolean horizontal, Connection conn) void
AbstractRouter.remove
(Connection connection) Removes the given Connection from this routers list of Connections it is responsible for.void
AutomaticRouter.remove
(Connection conn) void
BendpointConnectionRouter.remove
(Connection connection) Removes the given connection from the map of constraints.void
ConnectionRouter.remove
(Connection connection) Removes the Connection from this router.void
ManhattanConnectionRouter.remove
(Connection connection) final void
RoutingAnimator.remove
(Connection connection) This callback is unused.void
RoutingListener.remove
(Connection connection) Called when a connection has been removed from its router.void
RoutingListener.Stub.remove
(Connection connection) void
ShortestPathConnectionRouter.remove
(Connection connection) protected void
ManhattanConnectionRouter.removeReservedLines
(Connection connection) protected void
ManhattanConnectionRouter.reserveColumn
(Connection connection, Integer column) protected void
ManhattanConnectionRouter.reserveRow
(Connection connection, Integer row) void
AutomaticRouter.route
(Connection conn) Routes the given connection.void
BendpointConnectionRouter.route
(Connection conn) Routes theConnection
.void
ConnectionRouter.NullConnectionRouter.route
(Connection conn) Routes the given Connection directly between the source and target anchors.void
ConnectionRouter.route
(Connection connection) Routes the Connection.void
ManhattanConnectionRouter.route
(Connection conn) final boolean
RoutingAnimator.route
(Connection conn) Hooks route to intercept routing during animation playback.boolean
RoutingListener.route
(Connection connection) Called prior to routing occurring.boolean
RoutingListener.Stub.route
(Connection connection) void
ShortestPathConnectionRouter.route
(Connection conn) protected void
ConnectionLocator.setConnection
(Connection connection) Sets the Connection to be associated with this ConnectionLocator.void
RelativeBendpoint.setConnection
(Connection conn) Sets the Connection this bendpoint should be associated with.void
AbstractRouter.setConstraint
(Connection connection, Object constraint) Sets the constraint for the given Connection.void
AutomaticRouter.setConstraint
(Connection connection, Object constraint) An AutomaticRouter needs no constraints for the connections it routes.void
BendpointConnectionRouter.setConstraint
(Connection connection, Object constraint) Sets the constraint for the givenConnection
.void
ConnectionRouter.setConstraint
(Connection connection, Object constraint) Maps the given constraint to the given Connection.final void
RoutingAnimator.setConstraint
(Connection connection, Object constraint) This callback is unused.void
RoutingListener.setConstraint
(Connection connection, Object constraint) Called when the connection's routing constraint has been set or initialized.void
RoutingListener.Stub.setConstraint
(Connection connection, Object constraint) void
ShortestPathConnectionRouter.setConstraint
(Connection connection, Object constraint) protected void
AutomaticRouter.setEndPoints
(Connection conn) Sets the start and end points for the given connection.Constructors in org.eclipse.draw2d with parameters of type ConnectionModifierConstructorDescriptionArrowLocator
(Connection connection, int location) Constructs an ArrowLocator associated with passed connection and tip location (eitherConnectionLocator.SOURCE
orConnectionLocator.TARGET
).BendpointLocator
(Connection c, int i) Creates a BendpointLocator associated with passed Connection c and index i.ConnectionEndpointLocator
(Connection c, boolean isEnd) Constructs a ConnectionEndpointLocator using the givenConnection
.ConnectionLocator
(Connection connection) Constructs a ConnectionLocator with the passed connection andConnectionLocator.MIDDLE
alignment.ConnectionLocator
(Connection connection, int align) Constructs a ConnectionLocator with the passed Connection and alignment.MidpointLocator
(Connection c, int i) Constructs a MidpointLocator with associated Connection c and index i.RelativeBendpoint
(Connection conn) Constructs a new RelativeBendpoint and associates it with the given Connection.