com.github.croesch.micro_debug.gui.actions
Class ActionProvider

java.lang.Object
  extended by com.github.croesch.micro_debug.gui.actions.ActionProvider
All Implemented Interfaces:
IActionProvider

public final class ActionProvider
extends Object
implements IActionProvider

Provides the actions used by the debugger.

Since:
Date: May 13, 2012
Author:
croesch

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.github.croesch.micro_debug.gui.actions.api.IActionProvider
IActionProvider.Actions
 
Constructor Summary
ActionProvider(MainController cont, JFrame frame)
          Constructs this provider that holds references for the actions used by the debugger.
 
Method Summary
 Action getAction(IActionProvider.Actions key)
          Returns the Action that is stored for this key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionProvider

public ActionProvider(MainController cont,
                      JFrame frame)
Constructs this provider that holds references for the actions used by the debugger.

Parameters:
cont - the controller of the debugger, having access to the processor and the view
frame - the main frame
Since:
Date: May 13, 2012
Method Detail

getAction

public Action getAction(IActionProvider.Actions key)
Returns the Action that is stored for this key.

Specified by:
getAction in interface IActionProvider
Parameters:
key - the key that identifies the action to fetch
Returns:
the stored Action for the given key


Copyright © 2012. All Rights Reserved.