Package org.apache.jmeter.gui.action
Class AbstractAction
java.lang.Object
org.apache.jmeter.gui.action.AbstractAction
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AboutCommand,AbstractActionWithNoRunningTest,AddParent,AddThinkTimeBetweenEachStep,AddToTree,ApplyNamingConvention,ChangeParent,CheckDirty,Clear,CollapseExpand,CollapseExpandTreeBranch,CompileJSR223TestElements,Copy,CreateFunctionDialog,Cut,Duplicate,EditCommand,EnableComponent,ExportTransactionAndSamplerNames,Help,HtmlReportAction,LoggerPanelEnableDisable,LogLevelCommand,LookAndFeelCommand,Move,OpenLinkAction,ParseCurlCommandAction,Paste,RemoteStart,Remove,ResetSearchCommand,Save,SaveBeforeRun,SaveGraphics,SchematicView,SearchTreeCommand,SSLManagerCommand,Start,StopStoppables,UndoCommand,What,ZoomInOut
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected static JFramegetParentFrame(ActionEvent event) protected booleanprotected voidCheck if we should save before runMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.gui.action.Command
getActionNames
-
Constructor Details
-
AbstractAction
public AbstractAction()
-
-
Method Details
-
doAction
- Specified by:
doActionin interfaceCommand- Throws:
IllegalUserActionException- See Also:
-
popupShouldSave
Check if we should save before run- Parameters:
e- the event that led to the call of this method
-
popupCheckExistingFileListener
- Parameters:
tree- where check if listener has existing file- Returns:
- true if continue test, false otherwise
-
getParentFrame
- Parameters:
event-ActionEvent- Returns:
- parent Window
-