|
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 SystemSelectRemoteFileAction com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectIFSFileAction
public class QSYSSelectIFSFileAction
The action for allowing the user to select a remote IFS file.
This is an optimization of SystemSelectRemoteFileAction that restricts connections to iSeries connections.
To configure, call these methods:
#setShowNewConnectionPrompt(boolean)
#setSystemConnection(SystemConnection)
#setSystemType(String)
or #setSystemTypes(String[])
#setRootFolder(SystemConnection, String, String)
or #setRootFolder(SystemConnection, String)
or
#setRootFolder(IRemoteFile, String)
or #setRootFolder(IRemoteFile)
#setAutoExpandDepth(int)
Call these methods to configure the text on the dialog
#setDialogTitle(String)
#setMessage(String)
#setSelectionTreeToolTipText(String)
After running, call these methods to get the output:
#getSelectedFile()
or #getSelectedFiles()
#getSelectedConnection()
com.ibm.etools.systems.core.ui.dialogs.SystemSelectRemoteObjectDialog
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
QSYSSelectIFSFileAction(Shell shell)
Constructor that uses default action label and tooltip |
|
QSYSSelectIFSFileAction(Shell shell,
String label,
String tooltip)
Constructor when you have your own action label and tooltip |
Method Summary | |
---|---|
IBMiConnection |
getSelectedAS400Connection()
Return selected connection as an ISeriesConnection |
void |
setAS400Connection(IBMiConnection conn)
Set the iSeries connection to restrict the user to only working with files in this connection |
void |
setRootFolder(IBMiConnection connection,
String folderAbsolutePath)
Set the root folder from which to start listing files. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String copyright
Constructor Detail |
---|
public QSYSSelectIFSFileAction(Shell shell)
shell
- The shell to hang the dialog off ofpublic QSYSSelectIFSFileAction(Shell shell, String label, String tooltip)
shell
- The shell to hang the dialog off ofresourceBundle
- The resourceBundle containing the translated label and tooltipresourceBundleKey
- The key to which "label" and "tooltip" will be appended to get the action's label and tooltipMethod Detail |
---|
public void setRootFolder(IBMiConnection connection, String folderAbsolutePath)
This overloaded version takes an ISeriesConnection object.
connection
- The connection to the remote system containing the root folderfolderAbsolutePath
- The fully qualified folder to start listing from (eg: "\folder1\folder2")com.ibm.etools.systems.subsystems.impl.RemoteFileFilterString
public void setAS400Connection(IBMiConnection conn)
public IBMiConnection getSelectedAS400Connection()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |