Class AbstractLayoutAlgorithm
java.lang.Object
org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm
- All Implemented Interfaces:
- LayoutAlgorithm
- Direct Known Subclasses:
- DirectedGraphLayoutAlgorithm,- GridLayoutAlgorithm,- HorizontalShiftAlgorithm,- RadialLayoutAlgorithm,- SpaceTreeLayoutAlgorithm,- SpringLayoutAlgorithm,- SugiyamaLayoutAlgorithm,- TreeLayoutAlgorithm
Handles common elements in all layout algorithms [irbull] Refactored into a
 template pattern. ApplyLayout now delegates the task to ApplyLayoutInternal
 [irbull] Included asynchronous layouts
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version.No longer used in Zest 2.x.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetLayoutContext(LayoutContext context) Sets the layout context for this algorithm.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.zest.layouts.LayoutAlgorithmapplyLayout
- 
Field Details- 
context- Since:
- 2.0
 
 
- 
- 
Constructor Details- 
AbstractLayoutAlgorithmpublic AbstractLayoutAlgorithm()
 
- 
- 
Method Details- 
setLayoutContextDescription copied from interface:LayoutAlgorithmSets the layout context for this algorithm. The receiver will unregister from its previous layout context and register to the new one (registration means for example adding listeners). After a call to this method, the receiving algorithm can compute and cache internal data related to given context and perform an initial layout.- Specified by:
- setLayoutContextin interface- LayoutAlgorithm
- Parameters:
- context- a new layout context or null if this algorithm should not perform any layout
 
 
-