Class FWSimComponentsTreeNodeFactory
java.lang.Object
net.simplace.ui.tree.FWTreeNodeFactory
net.simplace.ui.splitpane.simcomponents.FWSimComponentsTreeNodeFactory
Creates the SimComponent tree from the configured
simcomponents nodes and a folder with all
SimComponent classes found in the classpath.- Author:
- Andreas Enders
-
Field Summary
Fields inherited from class FWTreeNodeFactory
iAllwaysShowTreeNodes, iSourceElement -
Constructor Summary
ConstructorsConstructorDescriptionUses the layout child objectsimcomponentsand the layout propertyallwaysshowtreenodes. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTreeChildren(DefaultMutableTreeNode aRootNode) Creates the child nodes below the root node.voidcreateTreeChildren(DefaultMutableTreeNode aRootNode, org.jdom2.Element aSourceElement) Adds a node for eachnodechild element (recursively).
-
Constructor Details
-
FWSimComponentsTreeNodeFactory
public FWSimComponentsTreeNodeFactory()Uses the layout child objectsimcomponentsand the layout propertyallwaysshowtreenodes.
-
-
Method Details
-
createTreeChildren
Description copied from class:FWTreeNodeFactoryCreates the child nodes below the root node.- Specified by:
createTreeChildrenin classFWTreeNodeFactory- Parameters:
aRootNode- the node the children are added to
-
createTreeChildren
Adds a node for eachnodechild element (recursively).- Parameters:
aRootNode- the node the children are added toaSourceElement- element containing thenodeelements, ornull
-