|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.Action
com.ibm.etools.systems.core.ui.actions.SystemBaseAction
com.ibm.etools.systems.core.ui.actions.SystemBaseDialogAction
com.ibm.etools.iseries.core.ui.actions.select.ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction
com.ibm.etools.iseries.core.ui.actions.select.ISeriesSelectMemberAndRemoteFileAction
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[])
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.setShowPropertySheet(boolean)
or ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.setShowPropertySheet(boolean,boolean)
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.enableAddMode(IRemoteSelectionAddListener)
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.setSystemConnection(SystemConnection)
or ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.setDefaultConnection(SystemConnection)
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.addLibraryFilter(String)
addFileFilter(String)
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.setRootLibrary(SystemConnection, String)
To override the default prompt labels and tooltip text, call these input methods:
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.setMessage(String)
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.setDialogTitle(String)
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.setSelectionTreeToolTipText(String)
Field Summary | |
---|---|
static String |
copyright
|
protected String[] |
mbrTypes
|
Fields inherited from class com.ibm.etools.iseries.core.ui.actions.select.ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction |
---|
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 |
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseDialogAction |
---|
cancelled, dlgHelpId, needsProgressMonitor, needsProgressMonitorSet, processAll, value |
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
---|
allowOnMultipleSelection, arrowCursor, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor |
Fields inherited from interface org.eclipse.jface.action.IAction |
---|
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
---|---|
|
ISeriesSelectMemberAndRemoteFileAction(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 |
ISeriesSelectMemberAndRemoteFileAction(Shell shell,
String actionResourceID)
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 ISeriesSelectQSYSAndRemoteFileOrFolderDialog |
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 com.ibm.etools.systems.core.ui.actions.SystemBaseDialogAction |
---|
getDialogHelpContextId, getNeedsProgressMonitor, getProcessAllSelections, getValue, run, setDialogHelp, setNeedsProgressMonitor, setProcessAllSelections, setValue, wasCancelled, wasNeedsProgressMonitorSet |
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
---|
allowOnMultipleSelection, checkObjectType, getAdapter, getContextMenuGroup, getCurrentTreeView, getDescription, getFirstSelection, getHelpContextId, getLabel, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getString, getStringOrNull, getSystemConnection, getToolTip, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setTracing, setTracing, setViewer, updateSelection |
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.systems.core.ui.actions.ISystemAction |
---|
allowOnMultipleSelection, getContextMenuGroup, getHelpContextId, getSelection, getShell, getViewer, isDummy, isSelectionSensitive, setContextMenuGroup, setHelp, setInputs, setSelection, setSelectionSensitive, setShell, setViewer |
Methods inherited from interface org.eclipse.jface.action.IAction |
---|
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from interface org.eclipse.jface.viewers.ISelectionChangedListener |
---|
selectionChanged |
Field Detail |
public static final String copyright
protected String[] mbrTypes
Constructor Detail |
public ISeriesSelectMemberAndRemoteFileAction(Shell shell)
protected ISeriesSelectMemberAndRemoteFileAction(Shell shell, String actionResourceID)
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 ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction
protected Dialog createDialog(Shell shell)
createDialog
in class ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction
SystemBaseDialogAction.run()
protected ISeriesSelectQSYSAndRemoteFileOrFolderDialog getSelectDialog(Shell shell)
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction
getSelectDialog
in class ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction
ISeriesSelectAbstractQSYSAndRemoteFileOrFolderAction.getSelectDialog(org.eclipse.swt.widgets.Shell)
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |