Package wt.visitor

Interface NodeExpander

All Known Implementing Classes:
AbstractObjectGraphNode, BasicNodeExpander, ConfigSpecNodeExpander, EPMDocConfigSpecNodeExpander, EPMDocReqNodeExpander, NodeExpanderFactory, OccurrencedPartConfigSpecNodeExpander, ProductInstanceConfigSpecNodeExpander, ReverseConfigSpecNodeExpander, ReverseOccurrencedConfigSpecNodeExpander

public interface NodeExpander
This interface defines how nodes will be expanded (i.e. follow links from a parent node to child nodes). A class that implements this interface must provide a mechanisn for expanding a node. This includes a particular method of expansion as well as which links/roles will be used.

The NodeExpander is used to customize how a structure is navigated independent of the navigation control and the operations performed during the navigation.

Supported API: true

Extendable: true

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    expandNode(Persistable parentNode, Vector links, Vector nodes)
    Expands the node returning all of the links and nodes associated with the parent node.
  • Method Details

    • expandNode

      void expandNode(Persistable parentNode, Vector links, Vector nodes) throws WTException
      Expands the node returning all of the links and nodes associated with the parent node.

      Supported API: true
      Parameters:
      parentNode -
      links -
      nodes -
      Throws:
      WTException