Package org.eclipse.gef
Interface NodeListener
public interface NodeListener
The listener interface for receiving Connection events from EditParts that
 serve as connection nodes.
- 
Method SummaryModifier and TypeMethodDescriptionvoidremovingSourceConnection(ConnectionEditPart connection, int index) Called prior to removing the connection from its source node.voidremovingTargetConnection(ConnectionEditPart connection, int index) Called prior to removing the connection from its target node.voidsourceConnectionAdded(ConnectionEditPart connection, int index) Called after the connection has been added to its source node.voidtargetConnectionAdded(ConnectionEditPart connection, int index) Called after the connection has been added to its target node.
- 
Method Details- 
removingSourceConnectionCalled prior to removing the connection from its source node. The source is not passed, but can still be obtained at this point by callingconnection.getSource()- Parameters:
- connection- the connection
- index- the index
 
- 
removingTargetConnectionCalled prior to removing the connection from its target node. The target is not passed, but can still be obtained at this point by callingconnection.getTarget()- Parameters:
- connection- the connection
- index- the index
 
- 
sourceConnectionAddedCalled after the connection has been added to its source node.- Parameters:
- connection- the connection
- index- the index
 
- 
targetConnectionAddedCalled after the connection has been added to its target node.- Parameters:
- connection- the connection
- index- the index
 
 
-