Class ContextListener.Stub
java.lang.Object
org.eclipse.zest.layouts.interfaces.ContextListener.Stub
- All Implemented Interfaces:
- ContextListener
- Enclosing interface:
- ContextListener
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.zest.layouts.interfaces.ContextListenerContextListener.Stub
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbackgroundEnableChanged(LayoutContext context) This method is called whenever background layout is enabled or disabled in a layout context.booleanboundsChanged(LayoutContext context) This method is called whenever the bounds available in a layout context change.booleanpruningEnablementChanged(LayoutContext context) This method is called whenever graph pruning is enabled or disabled in a layout context.
- 
Constructor Details- 
Stubpublic Stub()
 
- 
- 
Method Details- 
boundsChangedDescription copied from interface:ContextListenerThis method is called whenever the bounds available in a layout context change. 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:
- boundsChangedin interface- ContextListener
- Parameters:
- context- the layout context that fired the event
- Returns:
- true if no further operations after this event are required
 
- 
backgroundEnableChangedDescription copied from interface:ContextListenerThis method is called whenever background layout is enabled or disabled in a layout context. If the receiving listener is related to a layout algorithm that performs layout in reaction to events, it should turn automatic flush of changes on or off. Also, eventual additional threads responsible for layout should be stopped or started accordingly.- Specified by:
- backgroundEnableChangedin interface- ContextListener
- Parameters:
- context- the layout context that fired the event
 
- 
pruningEnablementChangedDescription copied from interface:ContextListenerThis method is called whenever graph pruning is enabled or disabled in a 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:
- pruningEnablementChangedin interface- ContextListener
- Parameters:
- context- the layout context that fired the event
- Returns:
- true if no further operations after this event are required
 
 
-