Class FWSimComponentsTreeNodeFactory

java.lang.Object
net.simplace.ui.tree.FWTreeNodeFactory
net.simplace.ui.splitpane.simcomponents.FWSimComponentsTreeNodeFactory

public class FWSimComponentsTreeNodeFactory extends FWTreeNodeFactory
Creates the SimComponent tree from the configured simcomponents nodes and a folder with all SimComponent classes found in the classpath.
Author:
Andreas Enders
  • Constructor Details

    • FWSimComponentsTreeNodeFactory

      public FWSimComponentsTreeNodeFactory()
      Uses the layout child object simcomponents and the layout property allwaysshowtreenodes.
  • Method Details

    • createTreeChildren

      public void createTreeChildren(DefaultMutableTreeNode aRootNode)
      Description copied from class: FWTreeNodeFactory
      Creates the child nodes below the root node.
      Specified by:
      createTreeChildren in class FWTreeNodeFactory
      Parameters:
      aRootNode - the node the children are added to
    • createTreeChildren

      public void createTreeChildren(DefaultMutableTreeNode aRootNode, org.jdom2.Element aSourceElement)
      Adds a node for each node child element (recursively).
      Parameters:
      aRootNode - the node the children are added to
      aSourceElement - element containing the node elements, or null