org.apache.jmeter.gui.action

## Class AddParent

- java.lang.Object
- - org.apache.jmeter.gui.action.AbstractAction
  - - org.apache.jmeter.gui.action.AddParent

- All Implemented Interfaces:
    Command

      public class AddParent
      extends AbstractAction

  Implements the Add Parent menu command

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AddParent()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `addParentToTree(TestElement newParent)`
    `void` | `doAction(ActionEvent e)`
    `Set<String>` | `getActionNames()`

    - ### Methods inherited from class org.apache.jmeter.gui.action.AbstractAction

      `getParentFrame, popupCheckExistingFileListener, popupShouldSave`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AddParent

          public AddParent()

  - ### Method Detail

    - #### doAction

          public void doAction(ActionEvent e)

      Specified by:
        `doAction` in interface `Command`
      Overrides:
        `doAction` in class `AbstractAction`
      See Also:
        `Command.doAction(ActionEvent)`

    - #### getActionNames

          public Set<String> getActionNames()

    - #### addParentToTree

          protected void addParentToTree(TestElement newParent)

Copyright © 1998-2021 Apache Software Foundation. All Rights Reserved.