Examples of ReportTreeListener


Examples of org.apache.jmeter.report.gui.tree.ReportTreeListener

   */
  public void doAction(ActionEvent e) {
    String action = e.getActionCommand();
    ReportGuiPackage guiPackage = ReportGuiPackage.getInstance();
    ReportTreeNode[] draggedNodes = guiPackage.getTreeListener().getDraggedNodes();
    ReportTreeListener treeListener = guiPackage.getTreeListener();
    ReportTreeNode currentNode = treeListener.getCurrentNode();
    ReportTreeNode parentNode = (ReportTreeNode) currentNode.getParent();
    TestElement te = currentNode.getTestElement();
    if (te instanceof TestPlan || te instanceof WorkBench) {
      parentNode = null; // So elements can only be added as children
    }
View Full Code Here

Examples of org.apache.jmeter.report.gui.tree.ReportTreeListener

    }
   
    public void startGui(CLOption testFile) {
        PluginManager.install(this, true);
        ReportTreeModel treeModel = new ReportTreeModel();
        ReportTreeListener treeLis = new ReportTreeListener(treeModel);
        treeLis.setActionHandler(ReportActionRouter.getInstance());
        ReportGuiPackage.getInstance(treeLis, treeModel);
        org.apache.jmeter.gui.ReportMainFrame main =
            new org.apache.jmeter.gui.ReportMainFrame(ReportActionRouter.getInstance(),
                treeModel, treeLis);
        ComponentUtil.centerComponentInWindow(main, 80);
View Full Code Here

Examples of org.apache.jmeter.report.gui.tree.ReportTreeListener

  public Set getActionNames() {
    return commands;
  }

  public void doAction(ActionEvent e) {
    ReportTreeListener treeListener = ReportGuiPackage.getInstance()
        .getTreeListener();
    ReportTreeNode[] nodes = treeListener.getSelectedNodes();
    setCopiedNodes(nodes);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.