org.peace_tools.core
Enum AbstractMenuHelper.ActionType

java.lang.Object
  extended by java.lang.Enum<AbstractMenuHelper.ActionType>
      extended by org.peace_tools.core.AbstractMenuHelper.ActionType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AbstractMenuHelper.ActionType>
Enclosing class:
AbstractMenuHelper

public static enum AbstractMenuHelper.ActionType
extends java.lang.Enum<AbstractMenuHelper.ActionType>

Enumeration to enable referring to a specific type of action. This enumeration provides an exhaustive list of various actions that are supported by various helpers in the system. Note that not all helpers will support all the actions. For example, the FILE_MENU helper will only support the options associated with performing tasks classified as file menu. Refer to the documentation on each derived helper class for details on the actions supported by each helper.

Note: Each menu helper only supports a subset of these actions. The objective is to achieve a reasonable degree of "separation of concerns" so that the code is streamlined and GUI performance is not negatively impacted.


Enum Constant Summary
ABORT_JOB
           
ADD_SERVER
           
COMPUTE_CLUSTERS
           
COMPUTE_MST
           
CONNECTION_TEST
           
DUPLICATE_EDITOR
           
EXIT_PEACE
           
IMPORT_DATASET
           
NEW_DATASET
           
NEW_MAIN_FRAME
           
OPEN_AS_TEXT
           
OPEN_CLUSTER_SUMMARY
           
OPEN_DEFAULT_VIEW
           
REMOVE_JOB
           
REMOVE_SERVER
           
SAVE_WORKSPACE
           
SHOW_ABOUT_DIALOG
           
SHOW_ALL_JOBS
           
SHOW_BUGS
           
SHOW_EMAIL
           
SHOW_HELP_CONTENTS
           
SHOW_JOB_DETAILS
           
SHOW_JOBS_ON_SERVER
           
SHOW_MY_JOBS
           
SHOW_MY_JOBS_ON_SERVER
           
SHOW_NOTES
           
SHOW_PAPERS
           
SHOW_PROG_LOGS
           
SHOW_PROGRAMMER_DOCS
           
SHOW_QUICK_START
           
SHOW_UPDATES
           
SHOW_USER_LOGS
           
SHOW_USER_TUTORIALS
           
SHOW_WORKSPACE_FILE_BROWSER
           
SHOW_WORKSPACE_HIERARCHY_BROWSER
           
START_JOB_MONITOR
           
STOP_JOB_MONITOR
           
SWITCH_WORKSPACE
           
VIEW_JOBS
           
VIEW_SERVERS
           
 
Method Summary
static AbstractMenuHelper.ActionType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AbstractMenuHelper.ActionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SAVE_WORKSPACE

public static final AbstractMenuHelper.ActionType SAVE_WORKSPACE

SWITCH_WORKSPACE

public static final AbstractMenuHelper.ActionType SWITCH_WORKSPACE

NEW_DATASET

public static final AbstractMenuHelper.ActionType NEW_DATASET

IMPORT_DATASET

public static final AbstractMenuHelper.ActionType IMPORT_DATASET

EXIT_PEACE

public static final AbstractMenuHelper.ActionType EXIT_PEACE

OPEN_DEFAULT_VIEW

public static final AbstractMenuHelper.ActionType OPEN_DEFAULT_VIEW

OPEN_CLUSTER_SUMMARY

public static final AbstractMenuHelper.ActionType OPEN_CLUSTER_SUMMARY

OPEN_AS_TEXT

public static final AbstractMenuHelper.ActionType OPEN_AS_TEXT

ADD_SERVER

public static final AbstractMenuHelper.ActionType ADD_SERVER

REMOVE_SERVER

public static final AbstractMenuHelper.ActionType REMOVE_SERVER

SHOW_MY_JOBS

public static final AbstractMenuHelper.ActionType SHOW_MY_JOBS

SHOW_ALL_JOBS

public static final AbstractMenuHelper.ActionType SHOW_ALL_JOBS

CONNECTION_TEST

public static final AbstractMenuHelper.ActionType CONNECTION_TEST

COMPUTE_MST

public static final AbstractMenuHelper.ActionType COMPUTE_MST

COMPUTE_CLUSTERS

public static final AbstractMenuHelper.ActionType COMPUTE_CLUSTERS

START_JOB_MONITOR

public static final AbstractMenuHelper.ActionType START_JOB_MONITOR

STOP_JOB_MONITOR

public static final AbstractMenuHelper.ActionType STOP_JOB_MONITOR

SHOW_JOB_DETAILS

public static final AbstractMenuHelper.ActionType SHOW_JOB_DETAILS

ABORT_JOB

public static final AbstractMenuHelper.ActionType ABORT_JOB

REMOVE_JOB

public static final AbstractMenuHelper.ActionType REMOVE_JOB

SHOW_JOBS_ON_SERVER

public static final AbstractMenuHelper.ActionType SHOW_JOBS_ON_SERVER

SHOW_MY_JOBS_ON_SERVER

public static final AbstractMenuHelper.ActionType SHOW_MY_JOBS_ON_SERVER

NEW_MAIN_FRAME

public static final AbstractMenuHelper.ActionType NEW_MAIN_FRAME

DUPLICATE_EDITOR

public static final AbstractMenuHelper.ActionType DUPLICATE_EDITOR

SHOW_WORKSPACE_HIERARCHY_BROWSER

public static final AbstractMenuHelper.ActionType SHOW_WORKSPACE_HIERARCHY_BROWSER

SHOW_WORKSPACE_FILE_BROWSER

public static final AbstractMenuHelper.ActionType SHOW_WORKSPACE_FILE_BROWSER

VIEW_JOBS

public static final AbstractMenuHelper.ActionType VIEW_JOBS

VIEW_SERVERS

public static final AbstractMenuHelper.ActionType VIEW_SERVERS

SHOW_USER_LOGS

public static final AbstractMenuHelper.ActionType SHOW_USER_LOGS

SHOW_PROG_LOGS

public static final AbstractMenuHelper.ActionType SHOW_PROG_LOGS

SHOW_HELP_CONTENTS

public static final AbstractMenuHelper.ActionType SHOW_HELP_CONTENTS

SHOW_USER_TUTORIALS

public static final AbstractMenuHelper.ActionType SHOW_USER_TUTORIALS

SHOW_PAPERS

public static final AbstractMenuHelper.ActionType SHOW_PAPERS

SHOW_EMAIL

public static final AbstractMenuHelper.ActionType SHOW_EMAIL

SHOW_UPDATES

public static final AbstractMenuHelper.ActionType SHOW_UPDATES

SHOW_PROGRAMMER_DOCS

public static final AbstractMenuHelper.ActionType SHOW_PROGRAMMER_DOCS

SHOW_NOTES

public static final AbstractMenuHelper.ActionType SHOW_NOTES

SHOW_BUGS

public static final AbstractMenuHelper.ActionType SHOW_BUGS

SHOW_QUICK_START

public static final AbstractMenuHelper.ActionType SHOW_QUICK_START

SHOW_ABOUT_DIALOG

public static final AbstractMenuHelper.ActionType SHOW_ABOUT_DIALOG
Method Detail

values

public static AbstractMenuHelper.ActionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AbstractMenuHelper.ActionType c : AbstractMenuHelper.ActionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AbstractMenuHelper.ActionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null