public abstract class AbstractActionWithNoRunningTest extends AbstractAction
AbstractAction
implementation that check no test is running
before calling doActionAfterCheck(ActionEvent)
Constructor and Description |
---|
AbstractActionWithNoRunningTest() |
Modifier and Type | Method and Description |
---|---|
void |
doAction(ActionEvent e) |
protected abstract void |
doActionAfterCheck(ActionEvent e)
Called to handle
ActionEvent only if no test is running |
getParentFrame, popupCheckExistingFileListener, popupShouldSave
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getActionNames
public final void doAction(ActionEvent e) throws IllegalUserActionException
doAction
in interface Command
doAction
in class AbstractAction
IllegalUserActionException
Command.doAction(ActionEvent)
protected abstract void doActionAfterCheck(ActionEvent e) throws IllegalUserActionException
ActionEvent
only if no test is runninge
- ActionEvent
IllegalUserActionException
- when user action is invalidCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.