com.github.croesch.micro_debug.gui.actions
Class StepAction
java.lang.Object
javax.swing.AbstractAction
com.github.croesch.micro_debug.gui.actions.AbstractExecuteOnWorkerThreadAction
com.github.croesch.micro_debug.gui.actions.AbstractStepAction
com.github.croesch.micro_debug.gui.actions.StepAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public final class StepAction
- extends AbstractStepAction
Action to perform a step 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 |
protected void |
doStep()
Perform a single step. |
protected void |
doStep(int count)
Perform the given number of steps. |
StepAction
public StepAction(MainController cont,
WorkerThread thread,
ActionProvider provider)
- Constructs the action to perform a step 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
doStep
protected void doStep()
- Description copied from class:
AbstractStepAction
- Perform a single step.
- Specified by:
doStep in class AbstractStepAction
doStep
protected void doStep(int count)
- Description copied from class:
AbstractStepAction
- Perform the given number of steps.
- Specified by:
doStep in class AbstractStepAction
- Parameters:
count - the number of steps to perform.
Copyright © 2012. All Rights Reserved.