com.ibm.dse.tools.workbench.gui
Class DWideController

java.lang.Object
  |
  +--com.ibm.dse.tools.workbench.gui.DWideController

public class DWideController
extends java.lang.Object
implements java.awt.event.ActionListener, ActionVariables, WorkbenchVariables

This class is the controller for all the DWide actions.


Field Summary
static int EXIT_WITHOUT_ERRORS
           
protected static java.lang.String FILE_TITLE_HEADER
           
protected static DWideController instance
           
protected static java.lang.String OPEN_TITLE
           
protected static java.lang.String RELOAD_ENVIRONMENT_FILE_CHOOSER_TITLE
           
protected static java.lang.String SECTION
           
protected static java.lang.String USER_IDENTIFICATION_ERROR_MESSAGE
           
protected static java.lang.String USER_IDENTIFICATION_ERROR_TITLE
           
 
Fields inherited from interface com.ibm.dse.tools.workbench.gui.ActionVariables
CMD_ADD_TO_WORKSPACE, CMD_CHANGE_REPOSITORY, CMD_CHANGE_WORKSPACE, CMD_CLONE, CMD_CONNECT_REPOSITORY, CMD_COPY, CMD_CREATE_OPEN_EDITION, CMD_CUT, CMD_DELETE, CMD_DISCONNECT_REPOSITORY, CMD_EXIT, CMD_IMPORT_FILE, CMD_LAUNCH_SPECIFIC_WIZARD, CMD_MORPH_INTO, CMD_MOVE, CMD_OPEN_DOMAINS_EXPLORER, CMD_OPEN_FILE, CMD_OPEN_REPOSITORY_EXPLORER, CMD_OPEN_SETTINGS_WIZARD, CMD_OPEN_TO_EDITIONS, CMD_PASTE, CMD_REFRESH_WORKSPACE, CMD_RELOAD_ENVIRONMENT, CMD_SELECT_ALL, CMD_SHOW_CONSOLE, CMD_SHOW_VERSION, CMD_UNDO, CMD_VERSION
 
Fields inherited from interface com.ibm.dse.tools.workbench.base.WorkbenchVariables
BaseSettings, IDESettings, InstanceWizards, NewInstanceMenu, RepositoryLastURL, RepositoryLastUser, RepositorySettings, ShowConsoleOnStartup, WorkspaceLastURL, WorkspaceLastUser, WorkspaceSettings
 
Constructor Summary
DWideController()
          This constructor creates a DWideActionListener object.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          This method handles all the ActionEvents.
 void doChangeRepository()
          This method changes the current repository.
 void doChangeWorkspace()
          This method changes the current workspace.
 void doCloseRepositoryExplorer()
          This method closes the repository explorer.
 void doConnectRepository()
          This method connects to a repository.
 void doCopy()
          This method copies some text to the clipboard.
 void doCut()
          This method cuts some text to the clipboard.
 void doDisconnectRepository()
          This method disconnects the current repository.
 void doExit()
          This method exits the application.
 void doImportFile()
          This method imports a file.
 void doOpenDomainsExplorer()
          This method opens the repository explorer.
 void doOpenFile()
          This method opens a file.
 void doOpenRepositoryExplorer()
          This method opens the repository explorer.
 void doOpenSettingsWizard()
          This method opens the settings wizard.
 void doOpenUserManagement()
          This method opens the user management wizard.
 void doPaste()
          This method pastes some text from the clipboard.
 void doRefreshWorkspace()
          This method refreshes the current workspace.
 void doReloadEnvironment()
          This method reloads the environment
 void doSelectAll()
          This method select all the text from a text field.
protected  void doShowGraphicConsole()
          This method initializes the graphic console.
 void doShowVersion()
          This method shows the version of the groups, entities and instances.
 void doUndo()
          This method undoes all the changes maded since the last commit in the user workspace.
static DWideController getInstance()
          This method returns the unique instance for this VM of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static DWideController instance

EXIT_WITHOUT_ERRORS

public static int EXIT_WITHOUT_ERRORS

SECTION

protected static final java.lang.String SECTION

OPEN_TITLE

protected static final java.lang.String OPEN_TITLE

FILE_TITLE_HEADER

protected static final java.lang.String FILE_TITLE_HEADER

USER_IDENTIFICATION_ERROR_TITLE

protected static final java.lang.String USER_IDENTIFICATION_ERROR_TITLE

USER_IDENTIFICATION_ERROR_MESSAGE

protected static final java.lang.String USER_IDENTIFICATION_ERROR_MESSAGE

RELOAD_ENVIRONMENT_FILE_CHOOSER_TITLE

protected static final java.lang.String RELOAD_ENVIRONMENT_FILE_CHOOSER_TITLE
Constructor Detail

DWideController

public DWideController()
This constructor creates a DWideActionListener object.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
This method handles all the ActionEvents.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
event - java.awt.event.ActionEvent

doChangeRepository

public void doChangeRepository()
This method changes the current repository.

doChangeWorkspace

public void doChangeWorkspace()
This method changes the current workspace.

doCloseRepositoryExplorer

public void doCloseRepositoryExplorer()
This method closes the repository explorer.

doConnectRepository

public void doConnectRepository()
This method connects to a repository.

doCopy

public void doCopy()
This method copies some text to the clipboard.

doCut

public void doCut()
This method cuts some text to the clipboard.

doDisconnectRepository

public void doDisconnectRepository()
This method disconnects the current repository.

doExit

public void doExit()
This method exits the application.

doImportFile

public void doImportFile()
This method imports a file.

doOpenDomainsExplorer

public void doOpenDomainsExplorer()
This method opens the repository explorer.

doOpenFile

public void doOpenFile()
This method opens a file.

doOpenRepositoryExplorer

public void doOpenRepositoryExplorer()
This method opens the repository explorer.

doOpenSettingsWizard

public void doOpenSettingsWizard()
This method opens the settings wizard.

doOpenUserManagement

public void doOpenUserManagement()
This method opens the user management wizard.

doPaste

public void doPaste()
This method pastes some text from the clipboard.

doRefreshWorkspace

public void doRefreshWorkspace()
This method refreshes the current workspace.

doReloadEnvironment

public void doReloadEnvironment()
This method reloads the environment

doSelectAll

public void doSelectAll()
This method select all the text from a text field.

doShowGraphicConsole

protected void doShowGraphicConsole()
This method initializes the graphic console.

doShowVersion

public void doShowVersion()
This method shows the version of the groups, entities and instances. See UIDelegates and Renderers.

doUndo

public void doUndo()
This method undoes all the changes maded since the last commit in the user workspace.

getInstance

public static DWideController getInstance()
This method returns the unique instance for this VM of this object.
Returns:
com.ibm.dse.tools.workbench.gui.DWideActionListener