|
RSE Release 3.3 |
|||||||||
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.filters.actions.SystemChangeFilterAction
public class SystemChangeFilterAction
The action that displays the Change Filter dialog
Field Summary |
---|
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 | |
---|---|
SystemChangeFilterAction(Shell parent)
Constructor for default action label and image |
|
SystemChangeFilterAction(Shell parent,
String label,
String tooltip)
|
|
SystemChangeFilterAction(Shell parent,
String label,
String tooltip,
ImageDescriptor image)
|
Method Summary | |
---|---|
void |
callConfigureFilterDialog(SystemChangeFilterDialog dlg)
This method is called internally, but had to be made public. |
boolean |
checkObjectType(Object selectedObject)
Called by SystemBaseAction when selection is set. |
protected void |
configureFilterDialog(SystemChangeFilterDialog dlg)
Overridable extension point to configure the filter dialog. |
Dialog |
createDialog(Shell shell)
This method creates and configures the filter dialog. |
protected Object |
getDialogValue(Dialog dlg)
Required by parent but we do not use it so return null; |
protected SystemChangeFilterDialog |
getFilterDialog(Shell shell)
Overridable extension point to get our filter dialog. |
SystemFilterStringEditPane |
getFilterStringEditPane()
Return the edit pane specified via setFilterStringEditPane(SystemFilterStringEditPane) |
ISystemFilter |
getSelectedFilter()
Get the selected filter |
ISystemFilterPoolManagerProvider |
getSystemFilterPoolManagerProvider()
Get the contextual system filter pool manager provider. |
ISystemFilterPoolReferenceManagerProvider |
getSystemFilterPoolReferenceManagerProvider()
Get the contextual system filter pool reference manager provider. |
void |
setDialogHelpContextId(String id)
Set the help id for the dialog that displays |
void |
setDialogTitle(String title)
Set the title for the dialog that displays |
void |
setFilterStringEditPane(SystemFilterStringEditPane editPane)
Specify an edit pane that prompts the user for the contents of a filter string. |
void |
setHelpContextId(String id)
Set the help context Id (infoPop) for this action. |
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.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.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 SystemChangeFilterAction(Shell parent)
public SystemChangeFilterAction(Shell parent, String label, String tooltip)
public SystemChangeFilterAction(Shell parent, String label, String tooltip, ImageDescriptor image)
Method Detail |
---|
public void setHelpContextId(String id)
Same as #setHelp(String)
#setDialogHelp(String)
,
#getHelpContextId()
public void setDialogTitle(String title)
public void setDialogHelpContextId(String id)
public void setFilterStringEditPane(SystemFilterStringEditPane editPane)
public SystemFilterStringEditPane getFilterStringEditPane()
setFilterStringEditPane(SystemFilterStringEditPane)
public boolean checkObjectType(Object selectedObject)
checkObjectType
in class SystemBaseAction
public Dialog createDialog(Shell shell)
getFilterDialog(Shell)
to create it, and then configures it here.
So, do not override this, but do feel free to override getFilterDialog.
createDialog
in class SystemBaseDialogAction
SystemBaseDialogAction.run()
protected SystemChangeFilterDialog getFilterDialog(Shell shell)
public void callConfigureFilterDialog(SystemChangeFilterDialog dlg)
protected void configureFilterDialog(SystemChangeFilterDialog dlg)
Note since the dialog has not been opened yet, you cannot assume its shell is ready, so call getParentShell() versus getShell().
protected Object getDialogValue(Dialog dlg)
getDialogValue
in class SystemBaseDialogAction
dlg
- The dialog object, after it has returned from open.public ISystemFilterPoolReferenceManagerProvider getSystemFilterPoolReferenceManagerProvider()
public ISystemFilterPoolManagerProvider getSystemFilterPoolManagerProvider()
public ISystemFilter getSelectedFilter()
|
RSE Release 3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |