|
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.QSYSSelectObjectAction
public class QSYSSelectObjectAction
A reusable dialog for prompting for an object on a remote iSeries system.
This dialog offers a tree view for selecting the remote objects
Browse for object
.--------------------------------------.
| Conn1 |
| + Library1 |
| - Library2 |
| Object1 |
| Object2 |
| Object3 |
| + Library3 |
.--------------------------------------.
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)
addObjectFilter(String)
QSYSSelectAbstractAction.setObjectTypes(String[])
#setRootLibrary(SystemConnection, String)
To override the default prompt labels and tooltip text, call these input methods:
QSYSSelectAbstractAction.setDialogTitle(String)
QSYSSelectAbstractAction.setMessage(String)
QSYSSelectAbstractAction.setSelectionTreeToolTipText(String)
After running, call these methods to get the output:
getSelectedObject()
or getSelectedAS400Objects()
QSYSSelectAbstractAction.getSelectedConnection()
getSelectedLibraryName()
getSelectedObjectName()
or getSelectedObjectNames()
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.IQSYSSelectObjectAction |
---|
Copyright |
Constructor Summary | |
---|---|
QSYSSelectObjectAction(Shell shell)
Base constructor that offers the default configuration of the dialog All iseries connections are listed, and the first one is selected There is a "New Connection..." special connection object to create new iSeries connections All defaults can be changed via set methods. |
|
QSYSSelectObjectAction(Shell shell,
String label,
String tooltip)
Base constructor used by child classes, to supply their own action label. |
|
QSYSSelectObjectAction(Shell shell,
String label,
String tooltip,
int selectionType)
Base constructor used by child classes, to supply their own action label, and a pre-defined object type. |
Method Summary | |
---|---|
void |
addObjectFilter(String objectFilter)
Add an object filter to the initial list shown when a connection is expanded The object name can be simple or generic and must be qualified, as in LIB/OBJ*. |
IQSYSObject[] |
getSelectedAS400Objects()
Return selected AS400 objects. |
String |
getSelectedLibraryName()
Return selected object's library name |
String |
getSelectedName()
Return selected name. |
String[] |
getSelectedNames()
Return selected names. |
IQSYSObject |
getSelectedObject()
Return selected AS400 object. |
String |
getSelectedObjectName()
Return selected object's name |
String[] |
getSelectedObjectNames()
Return selected objects' names. |
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 QSYSSelectObjectAction(Shell shell)
public QSYSSelectObjectAction(Shell shell, String label, String tooltip)
public QSYSSelectObjectAction(Shell shell, String label, String tooltip, int selectionType)
com.ibm.etools.iseries.core.ui.widgets.IISeriesSelectionTypes
Method Detail |
---|
public void addObjectFilter(String objectFilter)
addObjectFilter
in interface IQSYSSelectObjectAction
public void reset()
reset
in interface IIBMiSelectAction
reset
in class QSYSSelectAbstractAction
public String getSelectedName()
getSelectedName
in interface IIBMiSelectAction
getSelectedObjectName()
public String[] getSelectedNames()
getSelectedObjectNames()
public String getSelectedLibraryName()
getSelectedLibraryName
in interface IIBMiSelectAction
getSelectedObject()
public String getSelectedObjectName()
getSelectedObjectName
in interface IQSYSSelectObjectAction
getSelectedObject()
public String[] getSelectedObjectNames()
getSelectedAS400Objects()
public IQSYSObject getSelectedObject()
getSelectedObject
in interface IQSYSSelectObjectAction
public IQSYSObject[] getSelectedAS400Objects()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |