Package org.eclipse.zest.core.widgets
Class DefaultSubgraph.PrunedSuccessorsSubgraphFactory
java.lang.Object
org.eclipse.zest.core.widgets.DefaultSubgraph.PrunedSuccessorsSubgraphFactory
- All Implemented Interfaces:
SubgraphFactory
- Enclosing class:
DefaultSubgraph
public static class DefaultSubgraph.PrunedSuccessorsSubgraphFactory
extends Object
implements SubgraphFactory
Factory for
PrunedSuccessorsSubgraph
. It creates one subgraph for a
whole graph and throws every node into it.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSubgraph
(NodeLayout[] nodes, LayoutContext context) void
updateLabelForNode
(org.eclipse.zest.core.widgets.InternalNodeLayout node) Updates a label for given node (creates the label if necessary).
-
Constructor Details
-
PrunedSuccessorsSubgraphFactory
public PrunedSuccessorsSubgraphFactory()
-
-
Method Details
-
createSubgraph
- Specified by:
createSubgraph
in interfaceSubgraphFactory
-
updateLabelForNode
public void updateLabelForNode(org.eclipse.zest.core.widgets.InternalNodeLayout node) Updates a label for given node (creates the label if necessary).- Parameters:
node
- node to update
-