Class DirectedGraphLayoutAlgorithm
java.lang.Object
org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithm
org.eclipse.zest.layouts.algorithms.DirectedGraphLayoutAlgorithm
- All Implemented Interfaces:
- LayoutAlgorithm
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version.
- 
Field SummaryFields inherited from class org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithmcontext
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyLayout(boolean clean) Makes this algorithm perform layout computation and apply it to its context.intvoidsetOrientation(int orientation) Methods inherited from class org.eclipse.zest.layouts.algorithms.AbstractLayoutAlgorithmsetLayoutContext
- 
Constructor Details- 
DirectedGraphLayoutAlgorithmpublic DirectedGraphLayoutAlgorithm()- Since:
- 2.0
 
- 
DirectedGraphLayoutAlgorithmpublic DirectedGraphLayoutAlgorithm(int orientation) 
 
- 
- 
Method Details- 
getOrientationpublic int getOrientation()- Since:
- 2.0
 
- 
setOrientationpublic void setOrientation(int orientation) - Since:
- 2.0
 
- 
applyLayoutpublic void applyLayout(boolean clean) Description copied from interface:LayoutAlgorithmMakes this algorithm perform layout computation and apply it to its context.- Parameters:
- clean- if true the receiver should assume that the layout context has changed significantly and recompute the whole layout even if it keeps track of changes with listeners. False can be used after dynamic layout in a context is turned back on so that layout algorithm working in background can apply accumulated changes. Static layout algorithm can ignore this call entirely if clean is false.
 
 
- 
DirectedGraphLayoutAlgorithminstead.