|
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 com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectFileObjectAction
public class QSYSSelectFileObjectAction
The action for allowing the user to select a file object from a remote iSeries system.
To configure the dialog, call these input methods:
setFileType(String)
or setFileTypes(String[])
QSYSSelectAbstractAction.setShowPropertySheet(boolean)
or QSYSSelectAbstractAction.setShowPropertySheet(boolean,boolean)
#enableAddMode(IAS400AddFileListener)
#setSystemConnection(SystemConnection)
or #setDefaultConnection(SystemConnection)
QSYSSelectAbstractAction.addLibraryFilter(String)
addFileFilter(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:
QSYSSelectAbstractAction.getSelectedConnection()
getSelectedFile()
or #getSelectedFiles()
getSelectedFileName()
or getSelectedFileNames()
QSYSSelectObjectAction.getSelectedLibraryName()
Field Summary | |
---|---|
static String |
copyright
|
protected static IQSYSFile[] |
EMPTY_FILE_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.IQSYSSelectFileAction |
---|
Copyright |
Fields inherited from interface com.ibm.etools.iseries.rse.ui.actions.select.IQSYSSelectObjectAction |
---|
Copyright |
Constructor Summary | |
---|---|
|
QSYSSelectFileObjectAction(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 Both src and data files can be selected All defaults can be changed via set methods. |
protected |
QSYSSelectFileObjectAction(Shell shell,
String label,
String tooltip)
Base constructor used by child classes, to supply their own action label. |
Method Summary | |
---|---|
void |
addFileFilter(String filterString)
Add a file filter that users can expand to start their search. |
IQSYSFile[] |
getSelectedAS400Files()
Return selected AS400 fields. |
IQSYSFile |
getSelectedFile()
Return selected AS400 file. |
String |
getSelectedFileName()
Retrieve selected file name, unqualified. |
String[] |
getSelectedFileNames()
Retrieve selected file name, unqualified For use when setMultipleSelection has been called. |
void |
setFileType(String fileType)
Set the file type for the files to list members in. |
void |
setFileTypes(String[] fileTypes)
Set the file types for the files to list members in. |
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectObjectAction |
---|
addObjectFilter, getSelectedAS400Objects, getSelectedLibraryName, getSelectedName, getSelectedNames, getSelectedObject, getSelectedObjectName, getSelectedObjectNames, reset |
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, getSelectedLibraryName, getSelectedName, getSelectedObjects, reset, setDefaultConnection, setDialogTitle, setMessage, setMultipleSelectionMode, setSelectionTreeToolTipText, setShowNewConnectionPrompt, setShowPropertySheet, setShowYourLibrariesPrompt, setSystemConnection |
Field Detail |
---|
public static final String copyright
protected static final IQSYSFile[] EMPTY_FILE_ARRAY
Constructor Detail |
---|
public QSYSSelectFileObjectAction(Shell shell)
protected QSYSSelectFileObjectAction(Shell shell, String label, String tooltip)
Method Detail |
---|
public void addFileFilter(String filterString)
addFileFilter
in interface IQSYSSelectFileAction
public void setFileType(String fileType)
The default is to list any and all *FILE objects.
For convenience you can skip the *FILE and just pass an attribute.
public void setFileTypes(String[] fileTypes)
The default is to list any and all *FILE objects.
public String getSelectedFileName()
QSYSSelectObjectAction.getSelectedName()
getSelectedFileName
in interface IQSYSSelectFileAction
public String[] getSelectedFileNames()
QSYSSelectObjectAction.getSelectedNames()
public IQSYSFile getSelectedFile()
getSelectedFile
in interface IQSYSSelectFileAction
public IQSYSFile[] getSelectedAS400Files()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |