public class JMeterTreeModel extends DefaultTreeModel
asksAllowsChildren, listenerList, root
Constructor and Description |
---|
JMeterTreeModel() |
JMeterTreeModel(Object o)
Deprecated.
- only for use by JMeter class!
|
JMeterTreeModel(TestElement tp,
TestElement wb) |
Modifier and Type | Method and Description |
---|---|
JMeterTreeNode |
addComponent(TestElement component,
JMeterTreeNode node) |
HashTree |
addSubTree(HashTree subTree,
JMeterTreeNode current)
Adds the sub tree at the given node.
|
void |
clearTestPlan()
Clear the test plan, and use default node for test plan and workbench.
|
void |
clearTestPlan(TestElement testPlan)
Clear the test plan, and use specified node for test plan and default node for workbench
N.B.
|
HashTree |
getCurrentSubTree(JMeterTreeNode node) |
JMeterTreeNode |
getNodeOf(TestElement userObject)
Get the node for a given TestElement object.
|
List<JMeterTreeNode> |
getNodesOfType(Class<?> type)
Returns a list of tree nodes that hold objects of the given class type.
|
HashTree |
getTestPlan() |
void |
removeNodeFromParent(JMeterTreeNode node) |
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged
public JMeterTreeModel(TestElement tp, TestElement wb)
public JMeterTreeModel()
@Deprecated public JMeterTreeModel(Object o)
o
- - dummypublic List<JMeterTreeNode> getNodesOfType(Class<?> type)
public JMeterTreeNode getNodeOf(TestElement userObject)
public HashTree addSubTree(HashTree subTree, JMeterTreeNode current) throws IllegalUserActionException
IllegalUserActionException
public JMeterTreeNode addComponent(TestElement component, JMeterTreeNode node) throws IllegalUserActionException
IllegalUserActionException
public void removeNodeFromParent(JMeterTreeNode node)
public HashTree getCurrentSubTree(JMeterTreeNode node)
public HashTree getTestPlan()
public void clearTestPlan()
GuiPackage.clearTestPlan()
public void clearTestPlan(TestElement testPlan)
GuiPackage.clearTestPlan(TestElement)
testPlan
- the node to use as the testplan top nodeCopyright © 1998-2012 Apache Software Foundation. All Rights Reserved.