Class GraphStructureListener.Stub
java.lang.Object
org.eclipse.zest.layouts.interfaces.GraphStructureListener.Stub
- All Implemented Interfaces:
- GraphStructureListener
- Enclosing interface:
- GraphStructureListener
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.zest.layouts.interfaces.GraphStructureListenerGraphStructureListener.Stub
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanconnectionAdded(LayoutContext context, ConnectionLayout connection) This method is called whenever a connection is added to a context.booleanconnectionRemoved(LayoutContext context, ConnectionLayout connection) This method is called whenever a connection is removed from a context.booleannodeAdded(LayoutContext context, NodeLayout node) This method is called whenever a node is added to a context.booleannodeRemoved(LayoutContext context, NodeLayout node) This method is called whenever a node is removed from a context.
- 
Constructor Details- 
Stubpublic Stub()
 
- 
- 
Method Details- 
nodeAddedDescription copied from interface:GraphStructureListenerThis method is called whenever a node is added to a context. No separate events will be fired for eventual connections adjacent to the added node. If true is returned, it means that the receiving listener has intercepted this event. Intercepted events will not be passed to the rest of the listeners. If the event is not intercepted by any listener,applyLayout(boolean)will be called on the context's main algorithm.- Specified by:
- nodeAddedin interface- GraphStructureListener
- Parameters:
- context- the layout context that fired the event
- node- the added node
- Returns:
- true if no further operations after this event are required
 
- 
nodeRemovedDescription copied from interface:GraphStructureListenerThis method is called whenever a node is removed from a context. No separate events will be fired for eventual connections adjacent to the removed node. If true is returned, it means that the receiving listener has intercepted this event. Intercepted events will not be passed to the rest of the listeners. If the event is not intercepted by any listener,applyLayout(boolean)will be called on the context's main algorithm.- Specified by:
- nodeRemovedin interface- GraphStructureListener
- Parameters:
- context- the context that fired the event
- node- the removed node
- Returns:
- true if no further operations after this event are required
 
- 
connectionAddedDescription copied from interface:GraphStructureListenerThis method is called whenever a connection is added to a context. It can be assumed that both source and target nodes of the added connection already exist in the context. This method will be called only if both nodes connected by added connection lay directly in the node container owned by the notifying layout context. If true is returned, it means that the receiving listener has intercepted this event. Intercepted events will not be passed to the rest of the listeners. If the event is not intercepted by any listener,applyLayout(boolean)will be called on the context's main algorithm.- Specified by:
- connectionAddedin interface- GraphStructureListener
- Parameters:
- context- the context that fired the event
- connection- the added connection
- Returns:
- true if no further operations after this event are required
 
- 
connectionRemovedDescription copied from interface:GraphStructureListenerThis method is called whenever a connection is removed from a context. It can be assumed that both source and target nodes of the removed connection still exist in the context and will not be removed along with it. This method will be called only if both nodes connected by removed connection lay directly in the node container owned by the notifying layout context. If true is returned, it means that the receiving listener has intercepted this event. Intercepted events will not be passed to the rest of the listeners. If the event is not intercepted by any listener,applyLayout(boolean)will be called on the context's main algorithm.- Specified by:
- connectionRemovedin interface- GraphStructureListener
- Parameters:
- context- the context that fired the event
- connection- the added connection
- Returns:
- true if no further operations after this event are required
 
 
-