com.ibm.dse.tools.workbench.gui
Class EntityUIActionListener
java.lang.Object
|
+--com.ibm.dse.tools.workbench.gui.EntityUIActionListener
- public class EntityUIActionListener
- extends java.lang.Object
- implements java.awt.event.ActionListener, CommonParameters, ActionVariables
This class is a listener for actions performed in the EntityUI.
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 |
Method Summary |
void |
actionPerformed(java.awt.event.ActionEvent event)
This method dispatch the action event. |
void |
doConnectVersionEntity(java.util.Hashtable params)
This method performs a connection to the repository if it doesn't exist and
versions an entity definition |
protected void |
doCreateOpenEditionEntity(java.util.Hashtable params)
This method create an open edition for the entity. |
protected void |
doDeleteEntity(java.util.Hashtable params)
This method deletes the given entity. |
protected void |
doExternalizeTo(java.lang.String format,
java.util.Hashtable params)
This method externalizes one or more instances. |
protected void |
doNewEntity(java.util.Hashtable params)
This method creates a new entity. |
protected void |
doVersionEntity(java.util.Hashtable params)
This method version the given entity. |
protected void |
launchWizard(java.util.Hashtable params)
This method calls the launchWizard method of the delegate. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SECTION
protected static final java.lang.String SECTION
MSG_CONFIRM_DELETE_ENTITY
protected static final java.lang.String MSG_CONFIRM_DELETE_ENTITY
MSG_CONFIRM_DELETE_ENTITIES
protected static final java.lang.String MSG_CONFIRM_DELETE_ENTITIES
MSG_CONFIRM_DELETE_ENTITY_TITLE
protected static final java.lang.String MSG_CONFIRM_DELETE_ENTITY_TITLE
MSG_ENTER_VERSION_NAME
protected static final java.lang.String MSG_ENTER_VERSION_NAME
MSG_DELETE_VETOABLE_ENTITY
protected static final java.lang.String MSG_DELETE_VETOABLE_ENTITY
MSG_DELETE_VETOABLE_ENTITY_TITLE
protected static final java.lang.String MSG_DELETE_VETOABLE_ENTITY_TITLE
MSG_EXTERNALIZATION_RESULT_TEXT
protected static final java.lang.String MSG_EXTERNALIZATION_RESULT_TEXT
uiDelegate
protected EntityUI uiDelegate
LAUNCH_WIZARD
public static java.lang.String LAUNCH_WIZARD
NEW_ENTITY
public static java.lang.String NEW_ENTITY
EDIT_ENTITY
public static java.lang.String EDIT_ENTITY
DELETE_ENTITY
public static java.lang.String DELETE_ENTITY
EXTERNALIZE_TO
public static java.lang.String EXTERNALIZE_TO
EntityUIActionListener
public EntityUIActionListener(EntityUI delegate)
- This constructor creates a GroupUIActionListener with the given delegete.
- Parameters:
delegate
- com.ibm.dse.tools.workbench.gui.EntityUI
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- This method dispatch the action event.
- Specified by:
- actionPerformed in interface java.awt.event.ActionListener
- Parameters:
event
- java.event.ActionEvent
doConnectVersionEntity
public void doConnectVersionEntity(java.util.Hashtable params)
- This method performs a connection to the repository if it doesn't exist and
versions an entity definition
- Parameters:
params
- java.util.Hashtable
doCreateOpenEditionEntity
protected void doCreateOpenEditionEntity(java.util.Hashtable params)
- This method create an open edition for the entity.
- Parameters:
params
- java.util.Hashtable
doDeleteEntity
protected void doDeleteEntity(java.util.Hashtable params)
- This method deletes the given entity.
- Parameters:
params
- java.util.Hashtable
doExternalizeTo
protected void doExternalizeTo(java.lang.String format,
java.util.Hashtable params)
- This method externalizes one or more instances.
- Parameters:
format
- java.lang.Stringparams
- java.util.Hashtable
doNewEntity
protected void doNewEntity(java.util.Hashtable params)
throws WorkbenchException
- This method creates a new entity.
- Parameters:
params
- java.util.Hashtable
doVersionEntity
protected void doVersionEntity(java.util.Hashtable params)
- This method version the given entity.
- Parameters:
params
- java.util.Hashtable
launchWizard
protected void launchWizard(java.util.Hashtable params)
throws WorkbenchException
- This method calls the launchWizard method of the delegate.
- Parameters:
params
- java.util.Hashtable- Throws:
- WorkbenchException -