|
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.IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectMemberAndRemoteFileAction
public class QSYSSelectMemberAndRemoteFileAction
A reusable action for a dialog prompting for a file member on a remote iSeries system or a remote file from IFS or another universal system.
This dialog offers a tree view for selecting the members:
Browse for member
.---------------------------------------------.
| + Library1 |
| - Library2 |
| + File1 |
| - File2 |
| Member1 |
| Member2 |
| Member3 |
| + Library3 |
.---------------------------------------------.
To configure the dialog, call these input methods:
setFileType(String)
or setFileTypes(String[])
setMemberTypes(String[])
IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction.setShowPropertySheet(boolean)
or IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction.setShowPropertySheet(boolean,boolean)
IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction.enableAddMode(IRemoteSelectionAddListener)
#setSystemConnection(SystemConnection)
or #setDefaultConnection(SystemConnection)
IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction.addLibraryFilter(String)
addFileFilter(String)
#setRootLibrary(SystemConnection, String)
To override the default prompt labels and tooltip text, call these input methods:
IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction.setMessage(String)
IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction.setDialogTitle(String)
IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction.setSelectionTreeToolTipText(String)
Field Summary | |
---|---|
static String |
copyright
|
protected String[] |
mbrTypes
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.select.IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction |
---|
addButton, addButtonCallback, addFilterStrings, addLabel, addToolTipText, autoExpandDepth, defaultConnection, dlg, EMPTY_OBJECT_ARRAY, EMPTY_STRING_ARRAY, fileMode, multipleSelectionMode, objTypes, onlyConnection, outputConnection, preSelectLibraryName, preSelectObjectName, rootLibraryName, selectionType, showLiblFilter, showNewConnectionPrompt, showPropertySheet, showPropertySheetDetailsButton, showPropertySheetDetailsButtonInitialState, showYourLibrariesPrompt, title, treeTip, verbage |
Constructor Summary | |
---|---|
|
QSYSSelectMemberAndRemoteFileAction(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 |
QSYSSelectMemberAndRemoteFileAction(Shell shell,
String label,
String tooltip)
Base constructor used by child classes, to supply their own action label. |
Method Summary | |
---|---|
void |
addFileFilter(String fileFilter)
Add a file filter to the initial list shown when a connection is expanded The file name can be simple or generic and must be qualified, as in LIB/FILE* This is just a specialization of addFilter(String). |
void |
addMemberFilter(String memberFilter)
Add a member filter to the initial list shown when a connection is expanded The member name can be simple or generic and must be qualified, as in LIB/FILE(MBR*) |
protected Dialog |
createDialog(Shell shell)
Intercept of parent to apply member-unique configuration settings. |
protected QSYSSelectQSYSAndRemoteFileOrFolderDialog |
getSelectDialog(Shell shell)
This is the overridable point for the dialog. |
void |
reset()
Reset all attributes to initial values. |
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. |
void |
setMemberTypes(String[] mbrTypes)
Set the member types to subset by. |
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
protected String[] mbrTypes
Constructor Detail |
---|
public QSYSSelectMemberAndRemoteFileAction(Shell shell)
protected QSYSSelectMemberAndRemoteFileAction(Shell shell, String label, String tooltip)
Method Detail |
---|
public void addFileFilter(String fileFilter)
public void addMemberFilter(String memberFilter)
public void setFileType(String fileType)
The default is to list members in *FILE objects that are either data or source files. That is, "*FILE:PF-*"
For convenience you can skip the *FILE and just pass an attribute.
public void setFileTypes(String[] fileTypes)
public void setMemberTypes(String[] mbrTypes)
public void reset()
reset
in class IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction
protected Dialog createDialog(Shell shell)
createDialog
in class IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction
#run()
protected QSYSSelectQSYSAndRemoteFileOrFolderDialog getSelectDialog(Shell shell)
IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction
getSelectDialog
in class IBMiSelectAbstractQSYSAndRemoteFileOrFolderAction
com.ibm.etools.iseries.core.ui.actions.select.ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction#getSelectDialog(org.eclipse.swt.widgets.Shell)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |