|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.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.SystemBaseWizardAction
org.eclipse.rse.ui.filters.actions.SystemNewFilterAction
org.eclipse.rse.files.ui.actions.SystemNewFileFilterAction
org.eclipse.rse.files.ui.actions.SystemNewFileFilterFromFolderAction
Class for defining a new filter from a preselected folder
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.ui.filters.actions.SystemNewFilterAction |
|---|
callbackConfigurator, callbackConfiguratorCalled, callbackData, defaultFilterStrings, editPane, filterPoolSelectionValidator, fromRSE, namePageHelp, nested, page1Description, parentPool, poolsToSelectFrom, poolWrapperInformation, showFilterStrings, showInfoPage, showNamePrompt, type, verbage |
| Fields inherited from class org.eclipse.rse.ui.actions.SystemBaseDialogAction |
|---|
cancelled, dlgHelpId, needsProgressMonitor, needsProgressMonitorSet, processAll, value |
| Fields inherited from class org.eclipse.rse.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, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
| Constructor Summary | |
|---|---|
SystemNewFileFilterFromFolderAction(Shell parent)
Constructor for SystemNewFileFilterFromFolderAction |
|
| Method Summary | |
|---|---|
protected void |
configureNewFilterWizard(SystemNewFilterWizard wizard)
Parent intercept. |
ISystemFilterPoolReferenceManagerProvider |
getSystemFilterPoolReferenceManagerProvider()
Output method. |
void |
run()
This is the method called by the system when the user selects this action. |
boolean |
updateSelection(IStructuredSelection selection)
Called when the selection changes in the systems view. |
| Methods inherited from class org.eclipse.rse.files.ui.actions.SystemNewFileFilterAction |
|---|
setParentFilterPool |
| Methods inherited from class org.eclipse.rse.ui.filters.actions.SystemNewFilterAction |
|---|
checkObjectType, configureNewFilter, createNewFilterWizard, createWizard, getFilterString, getFilterStrings, getNewFilter, getType, postProcessWizard, setAllowFilterPoolSelection, setAllowFilterPoolSelection, setCallBackConfigurator, setDefaultFilterStrings, setFilterPoolSelectionValidator, setFilterStringEditPane, setFromRSE, setHelpContextId, setNamePageHelp, setPage1Description, setShowFilterStrings, setShowInfoPage, setShowNamePrompt, setType, setVerbage |
| Methods inherited from class org.eclipse.rse.ui.actions.SystemBaseWizardAction |
|---|
createDialog, getDialogValue, getWizardPageTitle, setMinimumPageSize, setWizardImage, setWizardPageTitle, setWizardTitle, wasCancelled |
| Methods inherited from class org.eclipse.rse.ui.actions.SystemBaseDialogAction |
|---|
getDialogHelpContextId, getNeedsProgressMonitor, getProcessAllSelections, getValue, setDialogHelp, setNeedsProgressMonitor, setProcessAllSelections, setValue, wasNeedsProgressMonitorSet |
| Methods inherited from class org.eclipse.jface.action.AbstractAction |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| 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.ISystemDialogAction |
|---|
getValue, setProcessAllSelections, setValue |
| 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 |
| Methods inherited from interface org.eclipse.jface.viewers.ISelectionChangedListener |
|---|
selectionChanged |
| Constructor Detail |
public SystemNewFileFilterFromFolderAction(Shell parent)
parent - | Method Detail |
public void run()
SystemBaseDialogActionPlease note that if NO ITEMS are selected, we will still call createDialog but not call setInput.
To use this default implementation you must implement the createDialog method. Note we will also call dlg.setBlockOnOpen(true) on the returned dialog to force it to be modal.
run in interface IActionrun in class SystemBaseDialogActionpublic boolean updateSelection(IStructuredSelection selection)
updateSelection in class SystemBaseActionselection - the current seleciton
public ISystemFilterPoolReferenceManagerProvider getSystemFilterPoolReferenceManagerProvider()
getSystemFilterPoolReferenceManagerProvider in class SystemNewFilterActionprotected void configureNewFilterWizard(SystemNewFilterWizard wizard)
Overridable extension. For those cases when you don't want to create your own wizard subclass, but prefer to simply configure the default wizard.
Note, at the point this is called, all the base configuration, based on the setters for this action, have been called.
We do it here versus via setters as it defers some work until the user actually selects this action.
configureNewFilterWizard in class SystemNewFileFilterAction
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||