|
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.QSYSSelectLibraryAction
public class QSYSSelectLibraryAction
A reusable action for prompting for a library on a remote iSeries system.
The resulting dialog offers a tree view for selecting remote libraries.
Browse for library
.--------------------------------------.
| Conn1 |
| + Library1 |
| + Library2 |
| + Library3 |
.--------------------------------------.
To configure the dialog, call these input methods:
QSYSSelectAbstractAction.setShowPropertySheet(boolean)
or QSYSSelectAbstractAction.setShowPropertySheet(boolean,boolean)
QSYSSelectAbstractAction.setShowNewConnectionPrompt(boolean)
QSYSSelectAbstractAction.setShowYourLibrariesPrompt(boolean)
#enableAddMode(IAS400AddLibraryListener)
#setSystemConnection(SystemConnection)
or #setDefaultConnection(SystemConnection)
QSYSSelectAbstractAction.addLibraryFilter(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:
getSelectedLibrary()
or getSelectedLibraries()
QSYSSelectAbstractAction.getSelectedConnection()
getSelectedLibraryName()
or getSelectedLibraryNames()
Field Summary | |
---|---|
static String |
copyright
|
protected static IQSYSLibrary[] |
EMPTY_LIBRARY_ARRAY
|
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.IQSYSSelectLibraryAction |
---|
Copyright |
Constructor Summary | |
---|---|
|
QSYSSelectLibraryAction(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. |
protected |
QSYSSelectLibraryAction(Shell shell,
String label,
String tooltip)
Base constructor used by child classes, to supply their own action label. |
Method Summary | |
---|---|
IQSYSLibrary[] |
getSelectedLibraries()
Return selected AS400 libraries. |
IQSYSLibrary |
getSelectedLibrary()
Return selected AS400 library. |
String |
getSelectedLibraryName()
Return selected library name |
String[] |
getSelectedLibraryNames()
Return selected library names |
String |
getSelectedName()
Return selected library 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
protected static final IQSYSLibrary[] EMPTY_LIBRARY_ARRAY
Constructor Detail |
---|
public QSYSSelectLibraryAction(Shell shell)
protected QSYSSelectLibraryAction(Shell shell, String label, String tooltip)
Method Detail |
---|
public void reset()
reset
in interface IIBMiSelectAction
reset
in class QSYSSelectAbstractAction
public String getSelectedName()
getSelectedName
in interface IIBMiSelectAction
or #getSelectedLibraryNames()
public String getSelectedLibraryName()
getSelectedLibraryName
in interface IIBMiSelectAction
getSelectedLibrary()
public String[] getSelectedLibraryNames()
getSelectedLibraries()
public IQSYSLibrary getSelectedLibrary()
getSelectedLibrary
in interface IQSYSSelectLibraryAction
public IQSYSLibrary[] getSelectedLibraries()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |