|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.rse.ui.dialogs.SystemPromptDialog
org.eclipse.rse.ui.filters.dialogs.SystemUnNamedFilterDialog
A dialog that prompts the user for a single filter string, but not for the purpose of creating a named filter. The output is that single filter string, and the caller can do what they want with it.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.jface.window.Window |
|---|
Window.IExceptionHandler |
| Field Summary | |
|---|---|
protected SystemFilterStringEditPane |
editpane
|
protected String |
outputFilterString
|
protected ISystemFilterPoolReferenceManagerProvider |
provider
|
| Fields inherited from class org.eclipse.jface.dialogs.Dialog |
|---|
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
| Fields inherited from class org.eclipse.jface.window.Window |
|---|
CANCEL, OK |
| Fields inherited from interface org.eclipse.jface.dialogs.IDialogConstants |
|---|
ABORT_ID, ABORT_LABEL, BACK_ID, BACK_LABEL, BUTTON_BAR_HEIGHT, BUTTON_HEIGHT, BUTTON_MARGIN, BUTTON_WIDTH, CANCEL_ID, CANCEL_LABEL, CLIENT_ID, CLOSE_ID, CLOSE_LABEL, DESELECT_ALL_ID, ENTRY_FIELD_WIDTH, FINISH_ID, FINISH_LABEL, HELP_ID, HELP_LABEL, HIDE_DETAILS_LABEL, HORIZONTAL_MARGIN, HORIZONTAL_SPACING, IGNORE_ID, IGNORE_LABEL, INDENT, INTERNAL_ID, LEFT_MARGIN, MINIMUM_MESSAGE_AREA_WIDTH, NEXT_ID, NEXT_LABEL, NO_ID, NO_LABEL, NO_TO_ALL_ID, NO_TO_ALL_LABEL, OK_ID, OK_LABEL, OPEN_ID, OPEN_LABEL, PROCEED_ID, PROCEED_LABEL, RETRY_ID, RETRY_LABEL, SELECT_ALL_ID, SELECT_TYPES_ID, SHOW_DETAILS_LABEL, SKIP_ID, SKIP_LABEL, SMALL_INDENT, STOP_ID, STOP_LABEL, VERTICAL_MARGIN, VERTICAL_SPACING, YES_ID, YES_LABEL, YES_TO_ALL_ID, YES_TO_ALL_LABEL |
| Constructor Summary | |
|---|---|
SystemUnNamedFilterDialog(Shell shell)
Constructor |
|
SystemUnNamedFilterDialog(Shell shell,
String title)
Constructor, when unique title desired |
|
| Method Summary | |
|---|---|
void |
backupChangedState()
Callback method. |
protected Control |
createInner(Composite parent)
Called by createContents method. |
void |
filterStringChanged(SystemMessage message)
Callback method. |
String |
getFilterString()
Return the string the user configured in this dialog. |
protected SystemFilterStringEditPane |
getFilterStringEditPane(Shell shell)
Return our edit pane. |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
protected boolean |
processCancel()
Parent override. |
protected boolean |
processOK()
Parent override. |
void |
restoreChangedState()
Callback method. |
void |
setFilterStringEditPane(SystemFilterStringEditPane editPane)
Specify an edit pane that prompts the user for the contents of a filter string. |
protected void |
setHelp()
Overridable extension point for setting dialog help. |
void |
setPageComplete(boolean complete)
Override of parent method so we can direct it to the Apply button versus the OK button |
void |
setSystemFilterPoolReferenceManagerProvider(ISystemFilterPoolReferenceManagerProvider provider)
Set the contextual system filter pool reference manager provider. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected SystemFilterStringEditPane editpane
protected String outputFilterString
protected ISystemFilterPoolReferenceManagerProvider provider
| Constructor Detail |
public SystemUnNamedFilterDialog(Shell shell)
public SystemUnNamedFilterDialog(Shell shell,
String title)
| Method Detail |
protected void setHelp()
public void setSystemFilterPoolReferenceManagerProvider(ISystemFilterPoolReferenceManagerProvider provider)
Will be non-null if the current selection is a reference to a filter pool or filter, or a reference manager provider.
This is passed into the filter and filter string wizards and dialogs in case it is needed for context.
public void setFilterStringEditPane(SystemFilterStringEditPane editPane)
public String getFilterString()
protected Control getInitialFocusControl()
SystemPromptDialog
getInitialFocusControl in class SystemPromptDialogSystemPromptDialog.getInitialFocusControl()protected Control createInner(Composite parent)
SystemPromptDialog
createInner in class SystemPromptDialogSystemPromptDialog.createInner(Composite)protected SystemFilterStringEditPane getFilterStringEditPane(Shell shell)
protected boolean processOK()
processOK in class SystemPromptDialogprotected boolean processCancel()
processCancel in class SystemPromptDialogpublic void setPageComplete(boolean complete)
setPageComplete in class SystemPromptDialogpublic void filterStringChanged(SystemMessage message)
filterStringChanged in interface ISystemFilterStringEditPaneListenerpublic void backupChangedState()
backupChangedState in interface ISystemFilterStringEditPaneListenerpublic void restoreChangedState()
restoreChangedState in interface ISystemFilterStringEditPaneListener
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||