tico.editor
Class TActionSet

java.lang.Object
  extended by tico.editor.TActionSet

public class TActionSet
extends java.lang.Object

Map of actions that can be done to an editor.

Version:
1.0 Nov 20, 2006
Author:
Pablo Muñoz

Field Summary
static java.lang.String ALIGN_BOTTOM_ACTION
          The TAlignBottomAction id
static java.lang.String ALIGN_HORIZONTAL_ACTION
          The TAlignHorizontalAction id
static java.lang.String ALIGN_LEFT_ACTION
          The TAlignLeftAction id
static java.lang.String ALIGN_RIGHT_ACTION
          The TAlignRightAction id
static java.lang.String ALIGN_TOP_ACTION
          The TAlignTopAction id
static java.lang.String ALIGN_VERTICAL_ACTION
          The TAlignVerticalAction id
static java.lang.String BACK_ACTION
          The TBackAction id
static java.lang.String BOARD_DELETE_ACTION
          The TBoardDeleteAction id
static java.lang.String BOARD_EXPORT_ACTION
          The TBoardExportAction id
static java.lang.String BOARD_EXPORT_JPG_ACTION
          The TBoardExportJPGAction id
static java.lang.String BOARD_EXPORT_PNG_ACTION
          The TBoardExportPNGAction id
static java.lang.String BOARD_INTERPRET_ACTION
          The TBoardInterpretAction id
static java.lang.String BOARD_NEW_ACTION
          The TBoardNewAction id
static java.lang.String BOARD_PROPERTIES_ACTION
          The TBoardPropertiesAction id
static java.lang.String BOARD_VALIDATION_ACTION
          The TBoardValidationAction id
static java.lang.String CELL_CONTROLLER_HANDLER
          The TControllerCellHandlerAction id
static java.lang.String CELL_HANDLER
          The TCellHandlerAction id
static java.lang.String COPY_ACTION
          The TCopyAction id
static java.lang.String CUT_ACTION
          The TCutAction id
static java.lang.String DELETE_ACTION
          The TDeleteAction id
static java.lang.String EDITOR_ABOUT
          The TEditorAbout id
static java.lang.String EDITOR_EXIT_ACTION
          The TEditorExitAction id
static java.lang.String EDITOR_PREFERENCES
          The TEditorPreferencesAction id
static java.lang.String FIT_HEIGHT_ACTION
          The TFitHeightAction id
static java.lang.String FIT_WIDTH_ACTION
          The TFitWidthAction id
static java.lang.String FRONT_ACTION
          The TFrontAction id
static java.lang.String GRID_HANDLER
          The TGridHandlerAction id
static java.lang.String HORIZONTAL_GAP_ACTION
          The THorizontalGapAction id
static java.lang.String LABEL_HANDLER
          The TLabelHandlerAction id
static java.lang.String LIMITATIONS_ADMIN_ACTION
          The TAtributtesAdminAction id
static java.lang.String LINE_HANDLER
          The TLineHandlerAction id
static java.lang.String OVAL_HANDLER
          The TOvalHandlerAction id
static java.lang.String PASTE_ACTION
          The TPasteAction id
static java.lang.String PROJECT_IMPORT_ACTION
          The TProyectImportAction id
static java.lang.String PROJECT_INTERPRET_ACTION
          The TProjectInterpretAction id
static java.lang.String PROJECT_NEW_ACTION
          The TProyectNewAction id
static java.lang.String PROJECT_OPEN_ACTION
          The TProyectOpenAction id
static java.lang.String PROJECT_PRINT_ACTION
          The TProjectPrintAction id
static java.lang.String PROJECT_PROPERTIES_ACTION
          The TProjectPropertiesAction id
static java.lang.String PROJECT_SAVE_ACTION
          The TProyectSaveAction id
static java.lang.String PROJECT_SAVE_AS_ACTION
          The TProyectSaveAsAction id
static java.lang.String PROJECT_VALIDATION_ACTION
          The TProyectValidationAction id
static java.lang.String RECTANGLE_HANDLER
          The TRectangleHandlerAction id
static java.lang.String REDO_ACTION
          The TRedoAction id
static java.lang.String ROUND_RECT_HANDLER
          The TRoundRectHandlerAction id
static java.lang.String RULES_ADMIN_ACTION
          The TUsersAdminAction id
static java.lang.String SELECT_ALL_ACTION
          The TSelectAllAction id
static java.lang.String SELECTION_HANDLER
          The TSelectionHandlerAction id
static java.lang.String TEXT_AREA_HANDLER
          The TTextAreaHandlerAction id
static java.lang.String UNDO_ACTION
          The TUndoAction id
static java.lang.String USERS_ADMIN_ACTION
          The TUsersAdminAction id
static java.lang.String VERTICAL_GAP_ACTION
          The TVerticalGapAction id
 
Constructor Summary
TActionSet(TEditor editor)
          Creates a new TActionSet for the specified editor 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

EDITOR_PREFERENCES

public static final java.lang.String EDITOR_PREFERENCES
The TEditorPreferencesAction id

See Also:
Constant Field Values

EDITOR_ABOUT

public static final java.lang.String EDITOR_ABOUT
The TEditorAbout id

See Also:
Constant Field Values

EDITOR_EXIT_ACTION

public static final java.lang.String EDITOR_EXIT_ACTION
The TEditorExitAction id

See Also:
Constant Field Values

PROJECT_NEW_ACTION

public static final java.lang.String PROJECT_NEW_ACTION
The TProyectNewAction id

See Also:
Constant Field Values

PROJECT_OPEN_ACTION

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

See Also:
Constant Field Values

PROJECT_SAVE_ACTION

public static final java.lang.String PROJECT_SAVE_ACTION
The TProyectSaveAction id

See Also:
Constant Field Values

PROJECT_SAVE_AS_ACTION

public static final java.lang.String PROJECT_SAVE_AS_ACTION
The TProyectSaveAsAction id

See Also:
Constant Field Values

PROJECT_IMPORT_ACTION

public static final java.lang.String PROJECT_IMPORT_ACTION
The TProyectImportAction id

See Also:
Constant Field Values

PROJECT_INTERPRET_ACTION

public static final java.lang.String PROJECT_INTERPRET_ACTION
The TProjectInterpretAction id

See Also:
Constant Field Values

PROJECT_PROPERTIES_ACTION

public static final java.lang.String PROJECT_PROPERTIES_ACTION
The TProjectPropertiesAction id

See Also:
Constant Field Values

PROJECT_PRINT_ACTION

public static final java.lang.String PROJECT_PRINT_ACTION
The TProjectPrintAction id

See Also:
Constant Field Values

PROJECT_VALIDATION_ACTION

public static final java.lang.String PROJECT_VALIDATION_ACTION
The TProyectValidationAction id

See Also:
Constant Field Values

BOARD_NEW_ACTION

public static final java.lang.String BOARD_NEW_ACTION
The TBoardNewAction id

See Also:
Constant Field Values

BOARD_DELETE_ACTION

public static final java.lang.String BOARD_DELETE_ACTION
The TBoardDeleteAction id

See Also:
Constant Field Values

BOARD_PROPERTIES_ACTION

public static final java.lang.String BOARD_PROPERTIES_ACTION
The TBoardPropertiesAction id

See Also:
Constant Field Values

BOARD_EXPORT_ACTION

public static final java.lang.String BOARD_EXPORT_ACTION
The TBoardExportAction id

See Also:
Constant Field Values

BOARD_INTERPRET_ACTION

public static final java.lang.String BOARD_INTERPRET_ACTION
The TBoardInterpretAction id

See Also:
Constant Field Values

BOARD_EXPORT_JPG_ACTION

public static final java.lang.String BOARD_EXPORT_JPG_ACTION
The TBoardExportJPGAction id

See Also:
Constant Field Values

BOARD_EXPORT_PNG_ACTION

public static final java.lang.String BOARD_EXPORT_PNG_ACTION
The TBoardExportPNGAction id

See Also:
Constant Field Values

BOARD_VALIDATION_ACTION

public static final java.lang.String BOARD_VALIDATION_ACTION
The TBoardValidationAction id

See Also:
Constant Field Values

HORIZONTAL_GAP_ACTION

public static final java.lang.String HORIZONTAL_GAP_ACTION
The THorizontalGapAction id

See Also:
Constant Field Values

VERTICAL_GAP_ACTION

public static final java.lang.String VERTICAL_GAP_ACTION
The TVerticalGapAction id

See Also:
Constant Field Values

ALIGN_BOTTOM_ACTION

public static final java.lang.String ALIGN_BOTTOM_ACTION
The TAlignBottomAction id

See Also:
Constant Field Values

ALIGN_TOP_ACTION

public static final java.lang.String ALIGN_TOP_ACTION
The TAlignTopAction id

See Also:
Constant Field Values

ALIGN_LEFT_ACTION

public static final java.lang.String ALIGN_LEFT_ACTION
The TAlignLeftAction id

See Also:
Constant Field Values

ALIGN_RIGHT_ACTION

public static final java.lang.String ALIGN_RIGHT_ACTION
The TAlignRightAction id

See Also:
Constant Field Values

ALIGN_HORIZONTAL_ACTION

public static final java.lang.String ALIGN_HORIZONTAL_ACTION
The TAlignHorizontalAction id

See Also:
Constant Field Values

ALIGN_VERTICAL_ACTION

public static final java.lang.String ALIGN_VERTICAL_ACTION
The TAlignVerticalAction id

See Also:
Constant Field Values

FIT_WIDTH_ACTION

public static final java.lang.String FIT_WIDTH_ACTION
The TFitWidthAction id

See Also:
Constant Field Values

FIT_HEIGHT_ACTION

public static final java.lang.String FIT_HEIGHT_ACTION
The TFitHeightAction id

See Also:
Constant Field Values

PASTE_ACTION

public static final java.lang.String PASTE_ACTION
The TPasteAction id

See Also:
Constant Field Values

COPY_ACTION

public static final java.lang.String COPY_ACTION
The TCopyAction id

See Also:
Constant Field Values

CUT_ACTION

public static final java.lang.String CUT_ACTION
The TCutAction id

See Also:
Constant Field Values

DELETE_ACTION

public static final java.lang.String DELETE_ACTION
The TDeleteAction id

See Also:
Constant Field Values

SELECT_ALL_ACTION

public static final java.lang.String SELECT_ALL_ACTION
The TSelectAllAction id

See Also:
Constant Field Values

UNDO_ACTION

public static final java.lang.String UNDO_ACTION
The TUndoAction id

See Also:
Constant Field Values

REDO_ACTION

public static final java.lang.String REDO_ACTION
The TRedoAction id

See Also:
Constant Field Values

BACK_ACTION

public static final java.lang.String BACK_ACTION
The TBackAction id

See Also:
Constant Field Values

FRONT_ACTION

public static final java.lang.String FRONT_ACTION
The TFrontAction id

See Also:
Constant Field Values

CELL_HANDLER

public static final java.lang.String CELL_HANDLER
The TCellHandlerAction id

See Also:
Constant Field Values

CELL_CONTROLLER_HANDLER

public static final java.lang.String CELL_CONTROLLER_HANDLER
The TControllerCellHandlerAction id

See Also:
Constant Field Values

GRID_HANDLER

public static final java.lang.String GRID_HANDLER
The TGridHandlerAction id

See Also:
Constant Field Values

LABEL_HANDLER

public static final java.lang.String LABEL_HANDLER
The TLabelHandlerAction id

See Also:
Constant Field Values

LINE_HANDLER

public static final java.lang.String LINE_HANDLER
The TLineHandlerAction id

See Also:
Constant Field Values

RECTANGLE_HANDLER

public static final java.lang.String RECTANGLE_HANDLER
The TRectangleHandlerAction id

See Also:
Constant Field Values

ROUND_RECT_HANDLER

public static final java.lang.String ROUND_RECT_HANDLER
The TRoundRectHandlerAction id

See Also:
Constant Field Values

SELECTION_HANDLER

public static final java.lang.String SELECTION_HANDLER
The TSelectionHandlerAction id

See Also:
Constant Field Values

OVAL_HANDLER

public static final java.lang.String OVAL_HANDLER
The TOvalHandlerAction id

See Also:
Constant Field Values

TEXT_AREA_HANDLER

public static final java.lang.String TEXT_AREA_HANDLER
The TTextAreaHandlerAction id

See Also:
Constant Field Values

USERS_ADMIN_ACTION

public static final java.lang.String USERS_ADMIN_ACTION
The TUsersAdminAction id

See Also:
Constant Field Values

LIMITATIONS_ADMIN_ACTION

public static final java.lang.String LIMITATIONS_ADMIN_ACTION
The TAtributtesAdminAction id

See Also:
Constant Field Values

RULES_ADMIN_ACTION

public static final java.lang.String RULES_ADMIN_ACTION
The TUsersAdminAction id

See Also:
Constant Field Values
Constructor Detail

TActionSet

public TActionSet(TEditor editor)
Creates a new TActionSet for the specified editor with all the possible actions.

Parameters:
editor - The specified editor
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