com.github.croesch.micro_debug.gui.actions
Class RunAction
java.lang.Object
javax.swing.AbstractAction
com.github.croesch.micro_debug.gui.actions.AbstractExecuteOnWorkerThreadAction
com.github.croesch.micro_debug.gui.actions.RunAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public final class RunAction
- extends AbstractExecuteOnWorkerThreadAction
Action to run the program of the processor.
- Since:
- Date: May 13, 2012
- Author:
- croesch
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
|
Method Summary |
void |
perform(ActionEvent e)
The actual action that'll be executed on the thread. |
RunAction
public RunAction(MainController cont,
WorkerThread thread,
ActionProvider provider)
- Constructs the action to run the program of the processor.
- Parameters:
cont - the controller of the debugger, having access to the processor and the viewthread - the thread to use for executing the action instead of the EDT.provider - the ActionProvider holding references to all actions, especially to the
AbstractExecuteOnWorkerThreadActions.- Since:
- Date: May 13, 2012
perform
public void perform(ActionEvent e)
- Description copied from class:
AbstractExecuteOnWorkerThreadAction
- The actual action that'll be executed on the thread.
- Specified by:
perform in class AbstractExecuteOnWorkerThreadAction
- Parameters:
e - the event that caused the action to be performed
Copyright © 2012. All Rights Reserved.