org.eclipse.rse.ui.actions
Class SystemTestFilterStringAction
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.rse.ui.actions.SystemBaseAction
org.eclipse.rse.ui.actions.SystemBaseDialogAction
org.eclipse.rse.ui.actions.SystemTestFilterStringAction
- All Implemented Interfaces:
- IAction, ISelectionChangedListener, ISystemAction, ISystemDialogAction
- Direct Known Subclasses:
- SystemResolveFilterStringAction
- public class SystemTestFilterStringAction
- extends SystemBaseDialogAction
The action for testing a given filter string by resolving it and showing the resolve results
| 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, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
|
Method Summary |
protected Dialog |
createDialog(Shell shell)
If you decide to use the supplied run method as is,
then you must override this method to create and return
the dialog that is displayed by the default run method
implementation.
|
protected Object |
getDialogValue(Dialog dlg)
Required by parent. |
void |
setFilterString(String filterString)
Set the filter string to test |
void |
setSubSystem(ISubSystem subsystem)
Set the subsystem within the context of which this filter string is to be tested. |
| Methods inherited from class org.eclipse.rse.ui.actions.SystemBaseDialogAction |
getDialogHelpContextId, getNeedsProgressMonitor, getProcessAllSelections, getValue, run, setDialogHelp, setNeedsProgressMonitor, setProcessAllSelections, setValue, wasCancelled, wasNeedsProgressMonitorSet |
| Methods inherited from class org.eclipse.rse.ui.actions.SystemBaseAction |
allowOnMultipleSelection, checkObjectType, getAdapter, getContextMenuGroup, getCurrentTreeView, getFirstSelection, getHelpContextId, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getSystemConnection, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setHost, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setTracing, setTracing, setViewer, updateSelection |
| Methods inherited from class org.eclipse.jface.action.Action |
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.rse.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, isHandled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
subsystem
protected ISubSystem subsystem
filterString
protected String filterString
dlg
protected SystemTestFilterStringDialog dlg
SystemTestFilterStringAction
public SystemTestFilterStringAction(Shell shell,
ISubSystem subsystem,
String filterString)
- Constructor when input subsystem and filter string are known already
SystemTestFilterStringAction
public SystemTestFilterStringAction(Shell shell)
- Constructor when input subsystem and filter string are not known already.
- See Also:
setSubSystem(ISubSystem),
setFilterString(String)
setSubSystem
public void setSubSystem(ISubSystem subsystem)
- Set the subsystem within the context of which this filter string is to be tested.
setFilterString
public void setFilterString(String filterString)
- Set the filter string to test
createDialog
protected Dialog createDialog(Shell shell)
- If you decide to use the supplied run method as is,
then you must override this method to create and return
the dialog that is displayed by the default run method
implementation.
If you override run with your own, then
simply implement this to return null as it won't be used.
- Specified by:
createDialog in class SystemBaseDialogAction
- See Also:
SystemBaseDialogAction.run()
getDialogValue
protected Object getDialogValue(Dialog dlg)
- Required by parent. We just return null.
- Specified by:
getDialogValue in class SystemBaseDialogAction
- Parameters:
dlg - The dialog object, after it has returned from open.
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.