Package org.eclipse.zest.core.widgets
Interface IContainer
- All Known Subinterfaces:
- IContainer2
- All Known Implementing Classes:
- Graph,- GraphContainer
public interface IContainer
This interface describes all Zest components that are Containers. This is an
 internal interface and thus should not be used outside of Zest. Implementors
 of this interface must include the following two methods o addNode(GraphNode)
 o addNode(GraphContainer)
 These are not actually listed here because Java does not allow protected
 methods in interfaces.
- @noimplement
- This interface is not intended to be implemented by clients.
- 
Method SummaryModifier and TypeMethodDescriptionvoidRe-applies the current layout algorithmgetGraph()intgetNodes()voidsetLayoutAlgorithm(LayoutAlgorithm algorithm, boolean applyLayout) Sets the LayoutAlgorithm for this container and optionally applies it.
- 
Method Details- 
getGraphGraph getGraph()
- 
getItemTypeint getItemType()
- 
applyLayoutvoid applyLayout()Re-applies the current layout algorithm
- 
setLayoutAlgorithmSets the LayoutAlgorithm for this container and optionally applies it.- Parameters:
- algorithm- The layout algorithm to set
- applyLayout-
 
- 
getNodes
 
-