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 SummaryNested classes/interfaces inherited from interface org.eclipse.draw2d.RoutingListenerRoutingListener.Stub
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
Stubpublic Stub()
 
- 
- 
Method Details- 
invalidateDescription copied from interface:RoutingListenerCalled when the connection has been invalidated.- Specified by:
- invalidatein interface- RoutingListener
- Parameters:
- connection- the connection
 
- 
postRouteDescription copied from interface:RoutingListenerCalled after normal routing has completed.- Specified by:
- postRoutein interface- RoutingListener
- Parameters:
- connection- the routed connection
 
- 
removeDescription copied from interface:RoutingListenerCalled when a connection has been removed from its router.- Specified by:
- removein interface- RoutingListener
- Parameters:
- connection- the connection
 
- 
routeDescription 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 interface- RoutingListener
- Parameters:
- connection- the connection being routed
- Returns:
- trueif routing has been performed by the listener
 
- 
setConstraintDescription copied from interface:RoutingListenerCalled when the connection's routing constraint has been set or initialized.- Specified by:
- setConstraintin interface- RoutingListener
- Parameters:
- connection- the connection
- constraint- the new constraint
 
 
-