|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemBaseDialogAction com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectAbstractAction com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectCommandAction
public class QSYSSelectCommandAction
The action for allowing the user to select a command object.
To configure the dialog, call these input methods:
QSYSSelectAbstractAction.setShowPropertySheet(boolean)
or QSYSSelectAbstractAction.setShowPropertySheet(boolean,boolean)
#enableAddMode(IAS400AddObjectListener)
#setSystemConnection(SystemConnection)
or #setDefaultConnection(SystemConnection)
QSYSSelectAbstractAction.addLibraryFilter(String)
#setRootLibrary(SystemConnection, String)
To override the default prompt labels and tooltip text, call these input methods:
QSYSSelectAbstractAction.setMessage(String)
QSYSSelectAbstractAction.setDialogTitle(String)
QSYSSelectAbstractAction.setSelectionTreeToolTipText(String)
After running, call these methods to get the output:
com.ibm.etools.systems.core.ui.actions.SystemSelectRemoteObjectAction
,
com.ibm.etools.systems.core.ui.dialogs.SystemSelectRemoteObjectDialog
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectAbstractAction |
---|
addButton, addButtonCallback, addFilterStrings, addLabel, addToolTipText, autoExpandDepth, defaultConnection, dlg, EMPTY_OBJECT_ARRAY, EMPTY_STRING_ARRAY, multipleSelectionMode, objTypes, onlyConnection, outputConnection, preSelectLibraryName, preSelectObjectName, rootLibraryName, selectionType, showLiblFilter, showNewConnectionPrompt, showPropertySheet, showPropertySheetDetailsButton, showPropertySheetDetailsButtonInitialState, showYourLibrariesPrompt, title, treeTip, verbage |
Fields inherited from interface com.ibm.etools.iseries.rse.ui.actions.select.IQSYSSelectCommandAction |
---|
Copyright |
Constructor Summary | |
---|---|
|
QSYSSelectCommandAction(Shell shell)
Constructor |
protected |
QSYSSelectCommandAction(Shell shell,
String label,
String tooltip)
Base constructor used by child classes, to supply their own action label. |
Method Summary | |
---|---|
void |
addCommandFilter(String commandFilter)
Add a command filter to the initial list shown when a connection is expanded The command name can be simple or generic |
IQSYSCommand |
getSelectedCommand()
Return selected command |
String |
getSelectedCommandName()
Return selected command's name |
String |
getSelectedLibraryName()
Return selected command's library name |
String |
getSelectedName()
Return selected name. |
void |
reset()
Reset all attributes to initial values. |
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectAbstractAction |
---|
addFilter, addLibraryFilter, createDialog, enableAddMode, enableAddMode, getDialogValue, getFileSubSystem, getSelectDialog, getSelected, getSelectedConnection, getSelectedObjects, setAddModeLabel, setAutoExpandDepth, setDefaultConnection, setDialogTitle, setMessage, setMultipleSelectionMode, setObjectTypes, setPreSelection, setPreSelection, setRootLibrary, setSelectionTreeToolTipText, setSelectionValidator, setShowLiblFilter, setShowNewConnectionPrompt, setShowPropertySheet, setShowPropertySheet, setShowYourLibrariesPrompt, setSystemConnection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.etools.iseries.rse.ui.actions.select.IIBMiSelectAction |
---|
addFilter, addLibraryFilter, getSelected, getSelectedConnection, getSelectedObjects, setDefaultConnection, setDialogTitle, setMessage, setMultipleSelectionMode, setSelectionTreeToolTipText, setShowNewConnectionPrompt, setShowPropertySheet, setShowYourLibrariesPrompt, setSystemConnection |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public QSYSSelectCommandAction(Shell shell)
shell
- The shell to hang the dialog off ofprotected QSYSSelectCommandAction(Shell shell, String label, String tooltip)
Method Detail |
---|
public void addCommandFilter(String commandFilter)
addCommandFilter
in interface IQSYSSelectCommandAction
public void reset()
reset
in interface IIBMiSelectAction
reset
in class QSYSSelectAbstractAction
public String getSelectedName()
getSelectedName
in interface IIBMiSelectAction
getSelectedCommand()
public String getSelectedLibraryName()
getSelectedLibraryName
in interface IIBMiSelectAction
getSelectedCommand()
public String getSelectedCommandName()
getSelectedCommandName
in interface IQSYSSelectCommandAction
getSelectedCommand()
public IQSYSCommand getSelectedCommand()
getSelectedCommand
in interface IQSYSSelectCommandAction
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |