|
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.SystemFilterWorkWithFilterPoolsDialog
Dialog for working with filter pools.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.jface.window.Window |
|---|
Window.IExceptionHandler |
| Field Summary |
|---|
| 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.viewers.IBasicPropertyConstants |
|---|
P_CHILDREN, P_IMAGE, P_PARENT, P_TEXT |
| 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 | |
|---|---|
SystemFilterWorkWithFilterPoolsDialog(Shell shell,
String title,
String prompt,
SystemFilterPoolManagerUIProvider caller)
Constructor |
|
| Method Summary | |
|---|---|
void |
addNewFilterPool(Shell shell,
ISystemFilterPool pool)
Callback from new action when new pool created |
void |
addSelectionChangedListener(ISelectionChangedListener listener)
|
boolean |
canDelete()
Return true if delete should be enabled based on your current selection. |
boolean |
canRename()
Return true if rename should be enabled based on your current selection. |
void |
clearSelection()
|
boolean |
close()
|
protected Control |
createInner(Composite parent)
Called by createContents method. |
protected ISystemMessageLine |
createMessageLine(Composite c)
Create message line. |
protected void |
createToolBar(Composite parent)
Create the toolbar displayed at the top of the dialog |
boolean |
doDelete(IProgressMonitor monitor)
Actually do the delete of currently selected items. |
boolean |
doRename(String[] newNames)
Actually do the rename of currently selected items. |
SystemFilterPoolDialogOutputs |
getFilterPoolDialogOutputs()
Return an object containing user-specified information pertinent to filter pool actions |
ISystemFilterPoolManager[] |
getFilterPoolManagers()
Callback from new action to get array of managers |
int |
getFilterPoolManagerSelection()
Callback from new action to get index of initial manager to select |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
SystemSimpleContentElement |
getSelectedElement()
Return current selection |
ISelection |
getSelection()
|
boolean |
isPageComplete()
This method can be called by the dialog or wizard page host, to decide whether to enable or disable the next, final or ok buttons. |
boolean |
isSelectionEmpty()
Return true if something selected |
protected void |
populateToolBar(Shell shell,
SystemFilterWorkWithFilterPoolsTreeViewer tree)
Populate the toolbar displayed at the top of the dialog |
protected boolean |
processOK()
Called when user presses OK button. |
boolean |
refreshTree()
Callback from tree when refresh is done |
void |
removeSelectionChangedListener(ISelectionChangedListener listener)
|
void |
selectionChanged(SelectionChangedEvent event)
ISelectionChangedListener method. |
void |
setFilterPoolDialogActionCaller(SystemFilterAbstractFilterPoolAction caller)
Allow base action to pass instance of itself for callback to get info |
void |
setFilterPoolNameValidator(ValidatorFilterPoolName pnv)
Set the pool name validator for the rename action. |
void |
setHelpContextId(String id)
Set the help context id for this wizard |
void |
setPageComplete()
Inform caller of page-complete status of this form |
void |
setRootToPreselect(SystemSimpleContentElement preSelectedRoot)
Set the root to preselect |
void |
setSelection(ISelection selection)
|
boolean |
showDelete()
Return true if delete should even be shown in the popup menu |
boolean |
showRename()
Return true if rename should even be shown in the popup menu |
boolean |
verify()
Verifies all input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SystemFilterWorkWithFilterPoolsDialog(Shell shell,
String title,
String prompt,
SystemFilterPoolManagerUIProvider caller)
| Method Detail |
public void setRootToPreselect(SystemSimpleContentElement preSelectedRoot)
protected ISystemMessageLine createMessageLine(Composite c)
createMessageLine in class SystemPromptDialogprotected Control getInitialFocusControl()
SystemPromptDialog
getInitialFocusControl in class SystemPromptDialogSystemPromptDialog.getInitialFocusControl()public void setFilterPoolNameValidator(ValidatorFilterPoolName pnv)
protected Control createInner(Composite parent)
SystemPromptDialog
createInner in class SystemPromptDialogSystemPromptDialog.createInner(Composite)public boolean refreshTree()
protected void createToolBar(Composite parent)
protected void populateToolBar(Shell shell,
SystemFilterWorkWithFilterPoolsTreeViewer tree)
public void selectionChanged(SelectionChangedEvent event)
selectionChanged in interface ISelectionChangedListenerpublic SystemSimpleContentElement getSelectedElement()
public boolean isSelectionEmpty()
public void clearSelection()
protected boolean processOK()
processOK in class SystemPromptDialogpublic boolean close()
close in class SystemPromptDialogpublic boolean verify()
public boolean isPageComplete()
public void setPageComplete()
public boolean showDelete()
showDelete in interface ISystemDeleteTargetpublic boolean canDelete()
canDelete in interface ISystemDeleteTargetpublic boolean doDelete(IProgressMonitor monitor)
doDelete in interface ISystemDeleteTargetpublic boolean showRename()
showRename in interface ISystemRenameTargetpublic boolean canRename()
canRename in interface ISystemRenameTargetpublic boolean doRename(String[] newNames)
doRename in interface ISystemRenameTargetpublic void addSelectionChangedListener(ISelectionChangedListener listener)
addSelectionChangedListener in interface ISelectionProviderpublic void removeSelectionChangedListener(ISelectionChangedListener listener)
removeSelectionChangedListener in interface ISelectionProviderpublic void setSelection(ISelection selection)
setSelection in interface ISelectionProviderpublic ISelection getSelection()
getSelection in interface ISelectionProvider
public void addNewFilterPool(Shell shell,
ISystemFilterPool pool)
public ISystemFilterPoolManager[] getFilterPoolManagers()
public int getFilterPoolManagerSelection()
public void setFilterPoolDialogActionCaller(SystemFilterAbstractFilterPoolAction caller)
setFilterPoolDialogActionCaller in interface SystemFilterPoolDialogInterfacepublic SystemFilterPoolDialogOutputs getFilterPoolDialogOutputs()
getFilterPoolDialogOutputs in interface SystemFilterPoolDialogInterfacepublic void setHelpContextId(String id)
setHelpContextId in interface SystemFilterPoolDialogInterface
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||