tico.interpreter
Class TInterpreterActionSet

java.lang.Object
  extended by tico.interpreter.TInterpreterActionSet

public class TInterpreterActionSet
extends java.lang.Object

Map of actions that can be done to an interpreter.

Author:
Antonio Rodríguez

Field Summary
static java.lang.String CONTROLLER_BUTTON_ACTION
           
static java.lang.String INTERPRETER_ABOUT
           
static java.lang.String INTERPRETER_EXIT_ACTION
          The TInterpreterExitAction id
static java.lang.String INTERPRETER_LANGUAJES
           
static java.lang.String INTERPRETER_OPTIONS
           
static java.lang.String INTERPRETER_PRINT_ACTION
           
static java.lang.String INTERPRETER_READ
           
static java.lang.String INTERPRETER_RUN
           
static java.lang.String INTERPRETER_STOP
           
static java.lang.String INTERPRETER_UNDO
           
static java.lang.String INTERPRETER_UNDO_ALL
           
static java.lang.String INTERPRETER_VALIDATION
           
static java.lang.String PROJECT_OPEN_ACTION
          The TProjectOpenAction id
 
Constructor Summary
TInterpreterActionSet(TInterpreter interpreter)
          Creates a new TInterpreterActionSet for the specified interpreter with all the possible actions.
 
Method Summary
 javax.swing.Action getAction(java.lang.String actionId)
          Returns the action with the specified actionId.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERPRETER_EXIT_ACTION

public static final java.lang.String INTERPRETER_EXIT_ACTION
The TInterpreterExitAction id

See Also:
Constant Field Values

PROJECT_OPEN_ACTION

public static final java.lang.String PROJECT_OPEN_ACTION
The TProjectOpenAction id

See Also:
Constant Field Values

INTERPRETER_ABOUT

public static final java.lang.String INTERPRETER_ABOUT
See Also:
Constant Field Values

INTERPRETER_RUN

public static final java.lang.String INTERPRETER_RUN
See Also:
Constant Field Values

INTERPRETER_STOP

public static final java.lang.String INTERPRETER_STOP
See Also:
Constant Field Values

INTERPRETER_LANGUAJES

public static final java.lang.String INTERPRETER_LANGUAJES
See Also:
Constant Field Values

INTERPRETER_OPTIONS

public static final java.lang.String INTERPRETER_OPTIONS
See Also:
Constant Field Values

INTERPRETER_READ

public static final java.lang.String INTERPRETER_READ
See Also:
Constant Field Values

INTERPRETER_PRINT_ACTION

public static final java.lang.String INTERPRETER_PRINT_ACTION
See Also:
Constant Field Values

CONTROLLER_BUTTON_ACTION

public static final java.lang.String CONTROLLER_BUTTON_ACTION
See Also:
Constant Field Values

INTERPRETER_UNDO

public static final java.lang.String INTERPRETER_UNDO
See Also:
Constant Field Values

INTERPRETER_UNDO_ALL

public static final java.lang.String INTERPRETER_UNDO_ALL
See Also:
Constant Field Values

INTERPRETER_VALIDATION

public static final java.lang.String INTERPRETER_VALIDATION
See Also:
Constant Field Values
Constructor Detail

TInterpreterActionSet

public TInterpreterActionSet(TInterpreter interpreter)
Creates a new TInterpreterActionSet for the specified interpreter with all the possible actions.

Parameters:
interpreter - The specified interpreter
Method Detail

getAction

public javax.swing.Action getAction(java.lang.String actionId)
Returns the action with the specified actionId.

Parameters:
actionId - The specified actionId
Returns:
The action with the specified actionId