Method Summary |
|
public HashTree | addSubTree(HashTree subTree) Add a subtree to the currently selected node.
Parameters: subTree - the subtree to add. |
public TestElement | createTestElement(Class guiClass, Class testClass) Create a TestElement corresponding to the specified GUI class.
Parameters: guiClass - the fully qualified class name of the GUI component or aTestBean class for TestBeanGUIs. Parameters: testClass - the fully qualified class name of the test elements edited bythis GUI component. |
public TestElement | createTestElement(String objClass) Create a TestElement for a GUI or TestBean class.
This is a utility method to help actions do with one single String
parameter.
Parameters: objClass - the fully qualified class name of the GUI component or of theTestBean subclass for which a TestBeanGUI is wanted. |
public void | displayPopUp(MouseEvent e, JPopupMenu popup) Display the specified popup menu with the source component and location
from the specified mouse event. |
public void | displayPopUp(Component invoker, MouseEvent e, JPopupMenu popup) Display the specified popup menu at the location specified by a mouse
event with the specified source component. |
public TestElement | getCurrentElement() |
public JMeterGUIComponent | getCurrentGui() Convenience method for grabbing the gui for the current node. |
public JMeterTreeNode | getCurrentNode() |
public HashTree | getCurrentSubTree() Get the currently selected subtree. |
public JMeterGUIComponent | getGui(TestElement node) Get a JMeterGUIComponent for the specified test element. |
public JMeterGUIComponent | getGui(TestElement node, Class guiClass, Class testClass) Get a JMeterGUIComponent for the specified test element. |
public static GuiPackage | getInstance() Retrieve the singleton GuiPackage instance. |
public static GuiPackage | getInstance(JMeterTreeListener listener, JMeterTreeModel treeModel) When GuiPackage is requested for the first time, it should be given
handles to JMeter's Tree Listener and TreeModel. |
public MainFrame | getMainFrame() Get the main JMeter frame. |
public JMeterTreeNode | getNodeOf(TestElement userObject) Find the JMeterTreeNode for a certain TestElement object. |
public ValueReplacer | getReplacer() Get a ValueReplacer for the test tree. |
public String | getTestPlanFile() |
public JMeterTreeListener | getTreeListener() Get the listener for JMeter's test tree. |
public JMeterTreeModel | getTreeModel() Get the model for JMeter's test tree. |
public boolean | isDirty() Retrieves the state of the 'dirty' property, a flag that indicates if
there are test tree components that have been modified since they were
last saved. |
public void | localeChanged(LocaleChangeEvent event) |
public void | removeNode(TestElement node) Remove a test element from the tree. |
public void | setDirty(boolean dirty) The dirty property is a flag that indicates whether there are parts of
JMeter's test tree that the user has not saved since last modification. |
public void | setMainFrame(MainFrame newMainFrame) Set the main JMeter frame. |
public void | setTestPlanFile(String f) Sets the filepath of the current test plan. |
public void | setTreeListener(JMeterTreeListener newTreeListener) Set the listener for JMeter's test tree. |
public void | setTreeModel(JMeterTreeModel newTreeModel) Set the model for JMeter's test tree. |
public static void | showErrorMessage(String message, String title) |
public static void | showInfoMessage(String message, String title) |
public static void | showMessage(String message, String title, int type) |
public static void | showWarningMessage(String message, String title) |
public void | updateCurrentGui() Update the GUI for the currently selected node. |
public void | updateCurrentNode() This method should be called in order for GuiPackage to change the
current node. |