| org.eclipse.jdt.internal.ui.dialogs.FilteredTypesSelectionDialog
All known Subclasses: org.eclipse.jdt.internal.ui.dialogs.OpenTypeSelectionDialog,
FilteredTypesSelectionDialog | public class FilteredTypesSelectionDialog extends FilteredItemsSelectionDialog implements ITypeSelectionComponent(Code) | | Shows a list of Java types to the user with a text entry field for a string
pattern used to filter the list of types.
since: 3.3 |
Inner Class :protected class TypeSelectionHistory extends SelectionHistory | |
Constructor Summary | |
public | FilteredTypesSelectionDialog(Shell parent, boolean multi, IRunnableContext context, IJavaSearchScope scope, int elementKinds) | public | FilteredTypesSelectionDialog(Shell shell, boolean multi, IRunnableContext context, IJavaSearchScope scope, int elementKinds, TypeSelectionExtension extension) Creates new FilteredTypesSelectionDialog instance.
Parameters: shell - shell to parent the dialog on Parameters: multi - true if multiple selection is allowed Parameters: context - context used to execute long-running operations associatedwith this dialog Parameters: scope - scope used when searching for types. |
FilteredTypesSelectionDialog | public FilteredTypesSelectionDialog(Shell parent, boolean multi, IRunnableContext context, IJavaSearchScope scope, int elementKinds)(Code) | | Creates new FilteredTypesSelectionDialog instance
Parameters: parent - shell to parent the dialog on Parameters: multi - true if multiple selection is allowed Parameters: context - context used to execute long-running operations associatedwith this dialog Parameters: scope - scope used when searching for types Parameters: elementKinds - flags defining nature of searched elements; the only validvalues are: IJavaSearchConstants.TYPE IJavaSearchConstants.ANNOTATION_TYPE IJavaSearchConstants.INTERFACE IJavaSearchConstants.ENUM IJavaSearchConstants.CLASS_AND_INTERFACE IJavaSearchConstants.CLASS_AND_ENUM .Please note that the bitwise OR combination of the elementaryconstants is not supported. |
FilteredTypesSelectionDialog | public FilteredTypesSelectionDialog(Shell shell, boolean multi, IRunnableContext context, IJavaSearchScope scope, int elementKinds, TypeSelectionExtension extension)(Code) | | Creates new FilteredTypesSelectionDialog instance.
Parameters: shell - shell to parent the dialog on Parameters: multi - true if multiple selection is allowed Parameters: context - context used to execute long-running operations associatedwith this dialog Parameters: scope - scope used when searching for types. If the scope is null ,then workspace is scope is used as default, and the user canchoose a working set as scope. Parameters: elementKinds - flags defining nature of searched elements; the only validvalues are: IJavaSearchConstants.TYPE IJavaSearchConstants.ANNOTATION_TYPE IJavaSearchConstants.INTERFACE IJavaSearchConstants.ENUM IJavaSearchConstants.CLASS_AND_INTERFACE IJavaSearchConstants.CLASS_AND_ENUM .Please note that the bitwise OR combination of the elementaryconstants is not supported. Parameters: extension - an extension of the standard type selection dialog; SeeTypeSelectionExtension |
configureShell | protected void configureShell(Shell shell)(Code) | | |
create | public void create()(Code) | | |
createContents | protected Control createContents(Composite parent)(Code) | | |
createExtendedContentArea | protected Control createExtendedContentArea(Composite parent)(Code) | | |
createFilter | protected ItemsFilter createFilter()(Code) | | |
fillContentProvider | protected void fillContentProvider(AbstractContentProvider provider, ItemsFilter itemsFilter, IProgressMonitor progressMonitor) throws CoreException(Code) | | |
fillViewMenu | protected void fillViewMenu(IMenuManager menuManager)(Code) | | |
getDialogSettings | protected IDialogSettings getDialogSettings()(Code) | | |
reloadCache | public void reloadCache(boolean checkDuplicates, IProgressMonitor monitor)(Code) | | |
restoreDialog | protected void restoreDialog(IDialogSettings settings)(Code) | | |
setResult | protected void setResult(List newResult)(Code) | | |
setValidator | public void setValidator(ISelectionStatusValidator validator)(Code) | | Sets a new validator.
Parameters: validator - the new validator |
storeDialog | protected void storeDialog(IDialogSettings settings)(Code) | | |
triggerSearch | public void triggerSearch()(Code) | | |
validateItem | protected IStatus validateItem(Object item)(Code) | | |
|
|