Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Interface RoutingListener

All Known Implementing Classes:
RoutingAnimator, RoutingListener.Stub

public interface RoutingListener

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).

Since:
3.2

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, java.lang.Object constraint)
          Called when the connection's routing constraint has been set or initialized.
 

Method Detail

invalidate

public void invalidate(
Connection connection)
Called when the connection has been invalidated.

Parameters:
connection - the connection
Since:
3.2

postRoute

public void postRoute(
Connection connection)
Called after normal routing has completed.

Parameters:
connection - the routed connection
Since:
3.2

remove

public void remove(
Connection connection)
Called when a connection has been removed from its router.

Parameters:
connection - the connection
Since:
3.2

route

public boolean route(
Connection connection)
Called prior to routing occurring. A listener may intercept routing by returning true. If intercepted, the connection's ConnectionRouter will not perform routing.

Parameters:
connection - the connection being routed
Returns:
true if routing has been performed by the listener
Since:
3.2

setConstraint

public void setConstraint(
Connection connection,
                          java.lang.Object constraint)
Called when the connection's routing constraint has been set or initialized.

Parameters:
connection - the connection
constraint - the new constraint
Since:
3.2

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire