Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.actions.select
Class QSYSSelectIFSFileAction

java.lang.Object
  extended by SystemSelectRemoteFileAction
      extended by com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectIFSFileAction

public class QSYSSelectIFSFileAction
extends SystemSelectRemoteFileAction

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:

Call these methods to configure the text on the dialog

After running, call these methods to get the output:

See Also:
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

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

QSYSSelectIFSFileAction

public QSYSSelectIFSFileAction(Shell shell)
Constructor that uses default action label and tooltip

Parameters:
shell - The shell to hang the dialog off of

QSYSSelectIFSFileAction

public QSYSSelectIFSFileAction(Shell shell,
                               String label,
                               String tooltip)
Constructor when you have your own action label and tooltip

Parameters:
shell - The shell to hang the dialog off of
resourceBundle - The resourceBundle containing the translated label and tooltip
resourceBundleKey - The key to which "label" and "tooltip" will be appended to get the action's label and tooltip
Method Detail

setRootFolder

public void setRootFolder(IBMiConnection connection,
                          String folderAbsolutePath)
Set the root folder from which to start listing files.

This overloaded version takes an ISeriesConnection object.

Parameters:
connection - The connection to the remote system containing the root folder
folderAbsolutePath - The fully qualified folder to start listing from (eg: "\folder1\folder2")
See Also:
com.ibm.etools.systems.subsystems.impl.RemoteFileFilterString

setAS400Connection

public void setAS400Connection(IBMiConnection conn)
Set the iSeries connection to restrict the user to only working with files in this connection


getSelectedAS400Connection

public IBMiConnection getSelectedAS400Connection()
Return selected connection as an ISeriesConnection


Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.