org.sourcejammer.client.gui.action
Class ActionCentral

java.lang.Object
  |
  +--org.sourcejammer.client.gui.action.ActionCentral
All Implemented Interfaces:
Actions

public class ActionCentral
extends java.lang.Object
implements Actions

Title: $FileName: ActionCentral.java$

Version:
$VerNum: 3$
Author:
$AuthorName: Rob MacGrogan$

$Description: $
$KeyWordsOff: $

Central clearing house for actions.

Nested Class Summary
protected  class ActionCentral.ActionAndEvent
           
protected  class ActionCentral.FireActionThread
           
protected  class ActionCentral.InvokeLaterRunner
           
 
Field Summary
private  ActionCentral.FireActionThread fireThread
           
private static ActionCentral instance
           
private  java.util.Hashtable mhshActions
           
 
Fields inherited from interface org.sourcejammer.client.gui.action.Actions
act_ABOUT, act_ADD_EDIT_ARCHIVE_CONF_INFO, act_ADD_FILE, act_ADD_SELECTED_FILES, act_ADD_USER_TO_ARCHIVE_CONTROLLERS, act_ADD_USER_TO_ARCHIVE_USERS, act_BRANCH_FILE, act_BRANCH_PROJECT, act_CHANGE_FILE_DESCRIPTION, act_CHANGE_PASSWORD, act_CHECK_IN_FILES, act_CHECK_OUT_FILES, act_CHECK_OUT_RPT, act_CLEAR_MESSAGES, act_CONNECT, act_CONNECT_LIST_ARCHIVES, act_DELETE_ARCHIVE_CONF_INFO, act_DELETE_ARCHIVE_ON_SERVER, act_DELETE_LOCAL_FILES, act_DISCONNECT, act_DISPLAY_PROJECT_DETAILS, act_EXIT, act_FORCE_CHECK_IN, act_GET_CHANGE_LIST, act_GET_COMPLETE_USER_LIST, act_GET_FILE_INFO, act_GET_FILE_VERSION, act_GET_FILES, act_GET_FILES_IN_PROJECT, act_GET_LABELED_VERSION, act_GET_PROJECT, act_K_LOOK_AND_FEEL, act_LIST_ARCHIVES, act_LIST_ARCHIVES_ON_SERVER, act_LIST_ARCHIVES_ON_SERVER_DELETE, act_MAINTAIN_ARCHIVE_USERS, act_MAKE_ARCHIVE, act_MAKE_LABELED_VERSION, act_MAKE_PROJECT, act_MAKE_USER, act_METAL_LOOK_AND_FEEL, act_METOUIA_LOOK_AND_FEEL, act_MOTIF_LOOK_AND_FEEL, act_MOVE_COPY_FILE, act_MOVE_COPY_PROJECT, act_PERMANENTLY_DELETE, act_PLASTIC_LOOK_AND_FEEL, act_PREFERENCES, act_PROXY_SETTINGS, act_REBUILD_LABEL, act_REFRESH_PROJECT, act_REMOVE_FILE_SHARES, act_REMOVE_FILES, act_REMOVE_PROJECT, act_REMOVE_PROJECT_SHARES, act_REMOVE_USER, act_REMOVE_USER_FROM_ARCHIVE_CONTROLLERS, act_REMOVE_USER_FROM_ARCHIVE_USERS, act_RENAME_FILE, act_RENAME_PROJECT, act_RESTORE_REMOVED, act_RETREIVE_FILE_INFO, act_ROLLBACK_TO_PREV_VERSION, act_SET_DEFAULT_DIR, act_SHARE_FILE, act_SHARE_PROJECT, act_SHOW_ARCHIVE_PROPS, act_SHOW_USER_GUIDE, act_SKIN_LF, act_TOGGLE_LOCAL_REMOTE_SYNC_VIEW, act_TOGGLE_USER_ADMIN_STATUS, act_UNDO_CHECK_OUT, act_VIEW_DELETE_REMOVED, act_VIEW_FILE, act_VIEW_LABELED_VERSIONS, act_VIEW_REMOVED, act_VIEW_RESTORE_REMOVED, act_VIEW_VERSION_COMMENT, act_VISUAL_DIFF, act_WINDOWS_LOOK_AND_FEEL
 
Constructor Summary
private ActionCentral()
           
 
Method Summary
 void disableAction(java.lang.Integer identifier)
           
 void enableAction(java.lang.Integer identifier)
           
protected  void finalize()
           
 void fireAction(java.lang.Integer identifier)
           
 void fireAction(java.lang.Integer identifier, java.awt.event.ActionEvent ev)
           
 void fireActionInvokeLater(java.lang.Integer identifier)
           
 void fireActionInvokeLater(java.lang.Integer identifier, java.awt.event.ActionEvent ev)
           
 void fireActionThisThread(java.lang.Integer identifier)
           
 void fireActionThisThread(java.lang.Integer identifier, java.awt.event.ActionEvent ev)
           
 javax.swing.Action getAction(java.lang.Integer identifier)
           
static ActionCentral getInstance()
           
 void registerAction(javax.swing.Action action, java.lang.Integer identifier)
          Use constants in Actions interface for identifier.
 void restartThread()
           
protected  void waitTillNotified()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static ActionCentral instance

mhshActions

private java.util.Hashtable mhshActions

fireThread

private ActionCentral.FireActionThread fireThread
Constructor Detail

ActionCentral

private ActionCentral()
Method Detail

restartThread

public void restartThread()

getInstance

public static ActionCentral getInstance()

getAction

public javax.swing.Action getAction(java.lang.Integer identifier)

registerAction

public void registerAction(javax.swing.Action action,
                           java.lang.Integer identifier)
Use constants in Actions interface for identifier.


enableAction

public void enableAction(java.lang.Integer identifier)

disableAction

public void disableAction(java.lang.Integer identifier)

fireAction

public void fireAction(java.lang.Integer identifier)

fireAction

public void fireAction(java.lang.Integer identifier,
                       java.awt.event.ActionEvent ev)

fireActionThisThread

public void fireActionThisThread(java.lang.Integer identifier)

fireActionThisThread

public void fireActionThisThread(java.lang.Integer identifier,
                                 java.awt.event.ActionEvent ev)

fireActionInvokeLater

public void fireActionInvokeLater(java.lang.Integer identifier)

fireActionInvokeLater

public void fireActionInvokeLater(java.lang.Integer identifier,
                                  java.awt.event.ActionEvent ev)

waitTillNotified

protected void waitTillNotified()
                         throws java.lang.InterruptedException
java.lang.InterruptedException

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
java.lang.Throwable


Copyright 2003 Soucejammer project.