|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Classes which implement this interface provide callback hooks for various routing related events.
Instances can be hooked to a PolylineConnection by calling PolylineConnection.addRoutingListener(RoutingListener).
| Nested Class Summary | |
static class |
RoutingListener.Stub
A stub implementation which implements all required methods. |
| Method Summary | |
void |
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. |
| Method Detail |
public void invalidate(Connection connection)
connection - the connectionpublic void postRoute(Connection connection)
connection - the routed connectionpublic void remove(Connection connection)
connection - the connectionpublic boolean route(Connection connection)
true. If intercepted, the connection's
ConnectionRouter will not perform routing.
connection - the connection being routed
true if routing has been performed by the listener
public void setConstraint(Connection connection,
Object constraint)
connection - the connectionconstraint - the new constraint
|
Eclipse Draw2d 3.3 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||