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 TypeMethodDescriptionvoidinvalidate(Connection connection) Called when the connection has been invalidated.voidpostRoute(Connection connection) Called after normal routing has completed.voidremove(Connection connection) Called when a connection has been removed from its router.booleanroute(Connection connection) Called prior to routing occurring.voidsetConstraint(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:RoutingListenerCalled when the connection has been invalidated.- Specified by:
invalidatein interfaceRoutingListener- Parameters:
connection- the connection
-
postRoute
Description copied from interface:RoutingListenerCalled after normal routing has completed.- Specified by:
postRoutein interfaceRoutingListener- Parameters:
connection- the routed connection
-
remove
Description copied from interface:RoutingListenerCalled when a connection has been removed from its router.- Specified by:
removein interfaceRoutingListener- Parameters:
connection- the connection
-
route
Description copied from interface:RoutingListenerCalled prior to routing occurring. A listener may intercept routing by returningtrue. If intercepted, the connection'sConnectionRouterwill not perform routing.- Specified by:
routein interfaceRoutingListener- Parameters:
connection- the connection being routed- Returns:
trueif routing has been performed by the listener
-
setConstraint
Description copied from interface:RoutingListenerCalled when the connection's routing constraint has been set or initialized.- Specified by:
setConstraintin interfaceRoutingListener- Parameters:
connection- the connectionconstraint- the new constraint
-