|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.gui.GroupUIActionListener
This class is a listener for actions performed in the GroupUI.
Field Summary | |
static java.lang.String |
DELETE_GROUP
|
static java.lang.String |
EDIT_GROUP
|
static java.lang.String |
EXTERNALIZE_ENTITIES_TO
|
static java.lang.String |
EXTERNALIZE_INSTANCES_TO
|
static java.lang.String |
INSTANCES_BY_NAME
|
static java.lang.String |
INSTANCES_BY_POSITION
|
static java.lang.String |
LAUNCH_WIZARD
|
protected static java.lang.String |
MSG_CONFIRM_DELETE_GROUP
|
protected static java.lang.String |
MSG_CONFIRM_DELETE_GROUP_TITLE
|
protected static java.lang.String |
MSG_CONFIRM_DELETE_GROUPS
|
protected static java.lang.String |
MSG_DELETE_VETOABLE_GROUP
|
protected static java.lang.String |
MSG_DELETE_VETOABLE_GROUP_TITLE
|
static java.lang.String |
NEW_GROUP
|
static java.lang.String |
REFRESH_CONTENTS
|
protected static java.lang.String |
SECTION
|
protected GroupUI |
uiDelegate
|
static java.lang.String |
VALIDATE_GROUP
|
Fields inherited from interface com.ibm.dse.tools.workbench.gui.CommonParameters |
CHANGE_LISTENER,
CONTAINER_GROUPS,
CURRENT_GROUP,
PARENT_ROW,
REPOSITORY,
ROW_SELECTION_COUNT,
SELECTED_PARENT_ROWS,
SELECTED_ROWS,
WIZARD_PARAM,
WORKSPACE |
Fields inherited from interface com.ibm.dse.tools.workbench.base.TableNames |
ALLOWED_VALUES,
ATTRIBUTES,
DOMAINS,
ENTITIES,
ENTITIES_ENTITIES,
GROUPS,
GROUPS_ENTITIES,
GROUPS_GROUPS,
GROUPS_INSTANCES,
INSTANCE_ERRORS,
INSTANCES,
PROPERTIES,
USERS |
Constructor Summary | |
GroupUIActionListener(GroupUI delegate)
This constructor creates a GroupUIActionListener object. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
This method dispatch the action event. |
void |
doConnectVersionGroup(java.util.Hashtable params)
This method performs a connection to the repository if it doesn't exist and versions a group definition |
protected void |
doCreateOpenEditionGroup(java.util.Hashtable params)
This method creates an open edition for the selected Group; |
protected void |
doDeleteGroup(java.util.Hashtable params,
TableRow[] rowsToDelete)
This method deletes one or more groups. |
protected void |
doExternalizeEntitiesTo(java.lang.String format,
java.util.Hashtable params)
This method externalizes one or more groups of entities. |
protected void |
doExternalizeInstancesTo(java.lang.String format,
java.util.Hashtable params)
This method externalizes one or more groups of instances. |
protected void |
doNewGroup(java.util.Hashtable params)
This method creates a new group. |
protected void |
doOrderInstances(java.util.Hashtable params,
java.lang.String orderField)
Clones the instance selected |
protected void |
doValidateGroup(java.util.Hashtable params)
Clones the instance selected |
protected void |
doVersionGroup(java.util.Hashtable params)
This method version the given group. |
java.util.Hashtable |
getVersionCode(boolean autoVersion,
TableRow versionableRow,
Repository aRep,
boolean enableAutoVersionChk)
This method gets the code to use when versioning a group |
protected void |
launchWizard(java.util.Hashtable params)
This method launches the GroupUI wizard. |
void |
versionGroupContents(TableRow row,
Repository aRep,
boolean autoVersion)
This method versions the rows contained in a group row |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static final java.lang.String SECTION
protected static final java.lang.String MSG_CONFIRM_DELETE_GROUP
protected static final java.lang.String MSG_CONFIRM_DELETE_GROUPS
protected static final java.lang.String MSG_CONFIRM_DELETE_GROUP_TITLE
protected static final java.lang.String MSG_DELETE_VETOABLE_GROUP
protected static final java.lang.String MSG_DELETE_VETOABLE_GROUP_TITLE
protected GroupUI uiDelegate
public static java.lang.String LAUNCH_WIZARD
public static java.lang.String NEW_GROUP
public static java.lang.String EDIT_GROUP
public static java.lang.String DELETE_GROUP
public static java.lang.String VALIDATE_GROUP
public static java.lang.String REFRESH_CONTENTS
public static java.lang.String EXTERNALIZE_INSTANCES_TO
public static java.lang.String EXTERNALIZE_ENTITIES_TO
public static java.lang.String INSTANCES_BY_POSITION
public static java.lang.String INSTANCES_BY_NAME
Constructor Detail |
public GroupUIActionListener(GroupUI delegate)
delgate
- com.ibm.dse.tools.workbench.gui.GroupUIMethod Detail |
public void actionPerformed(java.awt.event.ActionEvent event)
event
- java.event.ActionEventpublic void doConnectVersionGroup(java.util.Hashtable params)
params
- java.util.Hashtableprotected void doCreateOpenEditionGroup(java.util.Hashtable params)
params
- java.util.Hashtableprotected void doDeleteGroup(java.util.Hashtable params, TableRow[] rowsToDelete)
params
- java.util.Hashtableprotected void doExternalizeEntitiesTo(java.lang.String format, java.util.Hashtable params)
format
- java.lang.Stringparams
- java.util.Hashtableprotected void doExternalizeInstancesTo(java.lang.String format, java.util.Hashtable params)
format
- java.lang.Stringparams
- java.util.Hashtableprotected void doNewGroup(java.util.Hashtable params) throws WorkbenchException
params
- java.util.Hashtableprotected void doOrderInstances(java.util.Hashtable params, java.lang.String orderField)
params
- java.util.Hashtableprotected void doValidateGroup(java.util.Hashtable params)
params
- java.util.Hashtableprotected void doVersionGroup(java.util.Hashtable params)
params
- java.util.Hashtablepublic java.util.Hashtable getVersionCode(boolean autoVersion, TableRow versionableRow, Repository aRep, boolean enableAutoVersionChk) throws WorkbenchException
The code can be asked to the user by a version dialog instance or can be retrieved automatically from the the repository when versioning automatically related rows
autoVersion
- booleanversionableRow
- com.ibm.dse.tools.workbench.base.TableRowaRep
- com.ibm.dse.tools.workbench.base.RepositoryenableAutoVersionChk
- booleanprotected void launchWizard(java.util.Hashtable params) throws WorkbenchException
params
- java.util.Hashtablepublic void versionGroupContents(TableRow row, Repository aRep, boolean autoVersion) throws WorkbenchException
row
- com.ibm.dse.tools.workbench.base.TableRow the group table rowaRep
- com.ibm.dse.tools.workbench.base.Repository the repository where to versionautoVersion
- boolean indicates whether to ask the user the version code or use the automatic version code
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |