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 Details

    • PrunedSuccessorsSubgraphFactory

      public PrunedSuccessorsSubgraphFactory()
  • Method Details

    • createSubgraph

      public SubgraphLayout createSubgraph(NodeLayout[] nodes, LayoutContext context)
      Specified by:
      createSubgraph in interface SubgraphFactory
    • 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