Package org.eclipse.draw2d
Class RoutingListener.Stub
java.lang.Object
org.eclipse.draw2d.RoutingListener.Stub
- All Implemented Interfaces:
RoutingListener
- Enclosing interface:
- RoutingListener
A stub implementation which implements all required methods.
- Since:
- 3.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.draw2d.RoutingListener
RoutingListener.Stub
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
invalidate
(Connection connection) Called when the connection has been invalidated.void
postRoute
(Connection connection) Called after normal routing has completed.void
remove
(Connection connection) Called when a connection has been removed from its router.boolean
route
(Connection connection) Called prior to routing occurring.void
setConstraint
(Connection connection, Object constraint) Called when the connection's routing constraint has been set or initialized.
-
Constructor Details
-
Stub
public Stub()
-
-
Method Details
-
invalidate
Description copied from interface:RoutingListener
Called when the connection has been invalidated.- Specified by:
invalidate
in interfaceRoutingListener
- Parameters:
connection
- the connection
-
postRoute
Description copied from interface:RoutingListener
Called after normal routing has completed.- Specified by:
postRoute
in interfaceRoutingListener
- Parameters:
connection
- the routed connection
-
remove
Description copied from interface:RoutingListener
Called when a connection has been removed from its router.- Specified by:
remove
in interfaceRoutingListener
- Parameters:
connection
- the connection
-
route
Description copied from interface:RoutingListener
Called prior to routing occurring. A listener may intercept routing by returningtrue
. If intercepted, the connection'sConnectionRouter
will not perform routing.- Specified by:
route
in interfaceRoutingListener
- Parameters:
connection
- the connection being routed- Returns:
true
if routing has been performed by the listener
-
setConstraint
Description copied from interface:RoutingListener
Called when the connection's routing constraint has been set or initialized.- Specified by:
setConstraint
in interfaceRoutingListener
- Parameters:
connection
- the connectionconstraint
- the new constraint
-