Class FWSimSolutionTreeNodeFactory
java.lang.Object
net.simplace.ui.tree.FWTreeNodeFactory
net.simplace.ui.splitpane.solution.FWSimSolutionTreeNodeFactory
Creates the solution tree: system, control, variable, resource and SimComponent subtrees of a solution.
- Author:
- Andreas Enders
-
Field Summary
Fields inherited from class FWTreeNodeFactory
iAllwaysShowTreeNodes, iSourceElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTreeChildren(DefaultMutableTreeNode aRootNode) Creates the child nodes below the root node.voidcreateTreeChildren(DefaultMutableTreeNode aRootNode, net.simplace.sim.FWSimSolution aSolution) Adds the subtrees of the solution below the root node.
-
Constructor Details
-
FWSimSolutionTreeNodeFactory
public FWSimSolutionTreeNodeFactory(net.simplace.sim.FWSimSolution aSolution) - Parameters:
aSolution- the solution shown in the tree
-
-
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
public void createTreeChildren(DefaultMutableTreeNode aRootNode, net.simplace.sim.FWSimSolution aSolution) Adds the subtrees of the solution below the root node.- Parameters:
aRootNode- the node the children are added toaSolution- the solution
-