Uses of Interface
org.eclipse.jdt.core.search.IJavaSearchScope
Packages that use IJavaSearchScope
Package
Description
Provides support for searching the workspace Java
elements that match a particular description.
Application programming interfaces for interaction
with the Eclipse Java User Interface.
Application programming interfaces for Java search participants..
-
Uses of IJavaSearchScope in org.eclipse.jdt.core.search
Methods in org.eclipse.jdt.core.search that return IJavaSearchScopeModifier and TypeMethodDescriptionstatic IJavaSearchScopeSearchEngine.createHierarchyScope(IType type) Returns a Java search scope limited to the hierarchy of the given type.static IJavaSearchScopeSearchEngine.createHierarchyScope(IType type, WorkingCopyOwner owner) Returns a Java search scope limited to the hierarchy of the given type.static IJavaSearchScopeSearchEngine.createJavaSearchScope(boolean excludeTestCode, IJavaElement[] elements, boolean includeReferencedProjects) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createJavaSearchScope(boolean excludeTestCode, IJavaElement[] elements, int includeMask) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createJavaSearchScope(org.eclipse.core.resources.IResource[] resources) Deprecated.static IJavaSearchScopeSearchEngine.createJavaSearchScope(IJavaElement[] elements) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createJavaSearchScope(IJavaElement[] elements, boolean includeReferencedProjects) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createJavaSearchScope(IJavaElement[] elements, int includeMask) Returns a Java search scope limited to the given Java elements.static IJavaSearchScopeSearchEngine.createStrictHierarchyScope(IJavaProject project, IType type, boolean onlySubtypes, boolean includeFocusType, WorkingCopyOwner owner) Returns a Java search scope limited to the hierarchy of the given type and to a given project.static IJavaSearchScopeSearchEngine.createWorkspaceScope()Returns a Java search scope with the workspace as the only limit.Methods in org.eclipse.jdt.core.search with parameters of type IJavaSearchScopeModifier and TypeMethodDescriptionvoidSearchPattern.acceptMatch(String relativePath, String containerPath, char separator, SearchPattern pattern, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope) voidSearchPattern.acceptMatch(String relativePath, String containerPath, char separator, SearchPattern pattern, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, org.eclipse.core.runtime.IProgressMonitor monitor) voidSearchPattern.findIndexMatches(org.eclipse.jdt.internal.core.index.Index index, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, boolean resolveDocumentName, org.eclipse.core.runtime.IProgressMonitor monitor) Query a given index for matching entries.voidSearchPattern.findIndexMatches(org.eclipse.jdt.internal.core.index.Index index, org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor, SearchParticipant participant, IJavaSearchScope scope, org.eclipse.core.runtime.IProgressMonitor monitor) Query a given index for matching entries.abstract voidSearchParticipant.locateMatches(SearchDocument[] documents, SearchPattern pattern, IJavaSearchScope scope, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Locates the matches in the given documents using the given search pattern and search scope, and reports them to the given search requestor.voidSearchEngine.search(org.eclipse.core.resources.IWorkspace workspace, String patternString, int searchFor, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector) voidSearchEngine.search(org.eclipse.core.resources.IWorkspace workspace, IJavaElement element, int limitTo, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector) voidSearchEngine.search(org.eclipse.core.resources.IWorkspace workspace, ISearchPattern searchPattern, IJavaSearchScope scope, IJavaSearchResultCollector resultCollector) voidSearchEngine.search(SearchPattern pattern, SearchParticipant[] participants, IJavaSearchScope scope, SearchRequestor requestor, org.eclipse.core.runtime.IProgressMonitor monitor) Searches for matches of a given search pattern.voidSearchEngine.searchAllMethodNames(char[] packageName, int pkgMatchRule, char[] declaringQualification, int declQualificationMatchRule, char[] declaringSimpleName, int declSimpleNameMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameMatchRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidSearchEngine.searchAllMethodNames(char[] packageName, int pkgMatchRule, char[] declaringQualification, int declQualificationMatchRule, char[] declaringSimpleName, int declSimpleNameMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidSearchEngine.searchAllMethodNames(char[] qualifier, int qualifierMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameMatchRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidSearchEngine.searchAllMethodNames(char[] qualifier, int qualifierMatchRule, char[] methodName, int methodMatchRule, IJavaSearchScope scope, MethodNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all method declarations in the given scope.voidSearchEngine.searchAllTypeNames(char[][] qualifications, char[][] typeNames, IJavaSearchScope scope, TypeNameMatchRequestor nameMatchRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope matching any of the given qualifications and type names in a case sensitive way.voidSearchEngine.searchAllTypeNames(char[][] qualifications, char[][] typeNames, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope matching any of the given qualifications and type names in a case sensitive way.voidSearchEngine.searchAllTypeNames(char[] packageName, char[] typeName, int matchRule, int searchFor, IJavaSearchScope scope, ITypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidSearchEngine.searchAllTypeNames(char[] packageExactName, char[] typeName, int matchRule, int searchFor, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) voidSearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, TypeNameMatchRequestor nameMatchRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope.voidSearchEngine.searchAllTypeNames(char[] packageName, int packageMatchRule, char[] typeName, int typeMatchRule, int searchFor, IJavaSearchScope scope, TypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) Searches for all top-level types and member types in the given scope.voidSearchEngine.searchAllTypeNames(org.eclipse.core.resources.IWorkspace workspace, char[] packageName, char[] typeName, int matchMode, boolean isCaseSensitive, int searchFor, IJavaSearchScope scope, ITypeNameRequestor nameRequestor, int waitingPolicy, org.eclipse.core.runtime.IProgressMonitor progressMonitor) abstract org.eclipse.core.runtime.IPath[]SearchParticipant.selectIndexes(SearchPattern query, IJavaSearchScope scope) Returns the collection of index locations to consider when performing the given search query in the given scope. -
Uses of IJavaSearchScope in org.eclipse.jdt.ui
Methods in org.eclipse.jdt.ui with parameters of type IJavaSearchScopeModifier and TypeMethodDescriptionstatic org.eclipse.ui.dialogs.SelectionDialogJavaUI.createMainTypeDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.operation.IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection) Creates a selection dialog that lists all types in the given scope containing a standardmainmethod.static org.eclipse.ui.dialogs.SelectionDialogJavaUI.createMainTypeDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.operation.IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter) Creates a selection dialog that lists all types in the given scope containing a standardmainmethod.static org.eclipse.ui.dialogs.SelectionDialogJavaUI.createPackageDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.operation.IRunnableContext context, IJavaSearchScope scope, boolean multipleSelection, boolean removeDuplicates, String filter) Creates a selection dialog that lists all packages of the given Java search scope.static org.eclipse.ui.dialogs.SelectionDialogJavaUI.createPackageDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.operation.IRunnableContext context, IJavaSearchScope scope, boolean multipleSelection, int flags, String filter) Creates a selection dialog that lists all packages of the given Java search scope.static org.eclipse.ui.dialogs.SelectionDialogJavaUI.createTypeDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.operation.IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection) Creates a selection dialog that lists all types in the given scope.static org.eclipse.ui.dialogs.SelectionDialogJavaUI.createTypeDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.operation.IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter) Creates a selection dialog that lists all types in the given scope.static org.eclipse.ui.dialogs.SelectionDialogJavaUI.createTypeDialog(org.eclipse.swt.widgets.Shell parent, org.eclipse.jface.operation.IRunnableContext context, IJavaSearchScope scope, int style, boolean multipleSelection, String filter, TypeSelectionExtension extension) Creates a selection dialog that lists all types in the given scope. -
Uses of IJavaSearchScope in org.eclipse.jdt.ui.search
Methods in org.eclipse.jdt.ui.search that return IJavaSearchScopeModifier and TypeMethodDescriptionQuerySpecification.getScope()Returns the search scope to be used in the query.Constructors in org.eclipse.jdt.ui.search with parameters of type IJavaSearchScopeModifierConstructorDescriptionElementQuerySpecification(IJavaElement javaElement, int limitTo, IJavaSearchScope scope, String scopeDescription) A constructor.PatternQuerySpecification(String pattern, int searchFor, boolean caseSensitive, int limitTo, IJavaSearchScope scope, String scopeDescription)
SearchEngine.createJavaSearchScope(IJavaElement[])instead.