Package | Description |
---|---|
org.eclipse.wst.jsdt.core.search | |
org.eclipse.wst.jsdt.ui | |
org.eclipse.wst.jsdt.ui.search |
Modifier and Type | Method and Description |
---|---|
static IJavaScriptSearchScope |
SearchEngine.createHierarchyScope(IType type)
Returns a JavaScript search scope limited to the hierarchy of the given type.
|
static IJavaScriptSearchScope |
SearchEngine.createHierarchyScope(IType type,
WorkingCopyOwner owner)
Returns a JavaScript search scope limited to the hierarchy of the given type.
|
static IJavaScriptSearchScope |
SearchEngine.createJavaSearchScope(IJavaScriptElement[] elements)
Returns a JavaScript search scope limited to the given JavaScript elements.
|
static IJavaScriptSearchScope |
SearchEngine.createJavaSearchScope(IJavaScriptElement[] elements,
boolean includeReferencedProjects)
Returns a JavaScript search scope limited to the given JavaScript elements.
|
static IJavaScriptSearchScope |
SearchEngine.createJavaSearchScope(IJavaScriptElement[] elements,
int includeMask)
Returns a JavaScript search scope limited to the given JavaScript elements.
|
static IJavaScriptSearchScope |
SearchEngine.createWorkspaceScope()
Returns a JavaScript search scope with the workspace as the only limit.
|
Modifier and Type | Method and Description |
---|---|
static char[][] |
SearchEngine.getAllSubtypeNames(char[] typeName,
IJavaScriptSearchScope scope,
int waitingPolicy,
IProgressMonitor progressMonitor)
Gets all the names of subtypes of a given type name in the given
scope.
|
static char[][] |
SearchEngine.getAllSynonyms(char[] typeName,
IJavaScriptSearchScope scope,
int waitingPolicy,
IProgressMonitor progressMonitor)
Gets all the synonyms of a given type, including itself, in the given
scope.
|
abstract void |
SearchParticipant.locateMatches(SearchDocument[] documents,
SearchPattern pattern,
IJavaScriptSearchScope scope,
SearchRequestor requestor,
IProgressMonitor monitor)
Locates the matches in the given documents using the given search pattern
and search scope, and reports them to the givenn search requestor.
|
void |
SearchEngine.search(SearchPattern pattern,
SearchParticipant[] participants,
IJavaScriptSearchScope scope,
SearchRequestor requestor,
IProgressMonitor monitor)
Searches for matches of a given search pattern.
|
void |
SearchEngine.searchAllTypeNames(char[][] qualifications,
char[][] typeNames,
IJavaScriptSearchScope scope,
TypeNameMatchRequestor nameMatchRequestor,
int waitingPolicy,
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.
|
void |
SearchEngine.searchAllTypeNames(char[][] qualifications,
char[][] typeNames,
IJavaScriptSearchScope scope,
TypeNameRequestor nameRequestor,
int waitingPolicy,
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.
|
void |
SearchEngine.searchAllTypeNames(char[] packageName,
int packageMatchRule,
char[] typeName,
int typeMatchRule,
int searchFor,
IJavaScriptSearchScope scope,
TypeNameMatchRequestor nameMatchRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor)
Searches for all top-level types and member types in the given scope.
|
void |
SearchEngine.searchAllTypeNames(char[] packageName,
int packageMatchRule,
char[] typeName,
int typeMatchRule,
int searchFor,
IJavaScriptSearchScope scope,
TypeNameRequestor nameRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor)
Searches for all top-level types and member types in the given scope.
|
void |
SearchEngine.searchAllTypeNames(char[] prefix,
int typeMatchRule,
int searchFor,
IJavaScriptSearchScope scope,
TypeNameMatchRequestor nameMatchRequestor,
int waitingPolicy,
IProgressMonitor progressMonitor)
Searches for all top-level types and member types in the given scope.
|
abstract IPath[] |
SearchParticipant.selectIndexes(SearchPattern query,
IJavaScriptSearchScope scope)
Returns the collection of index locations to consider when performing the
given search query in the given scope.
|
Modifier and Type | Method and Description |
---|---|
static SelectionDialog |
JavaScriptUI.createPackageDialog(Shell parent,
IRunnableContext context,
IJavaScriptSearchScope scope,
boolean multipleSelection,
boolean removeDuplicates,
java.lang.String filter)
Creates a selection dialog that lists all packages of the given JavaScript search scope.
|
static SelectionDialog |
JavaScriptUI.createTypeDialog(Shell parent,
IRunnableContext context,
IJavaScriptSearchScope scope,
int style,
boolean multipleSelection)
Creates a selection dialog that lists all types in the given scope.
|
static SelectionDialog |
JavaScriptUI.createTypeDialog(Shell parent,
IRunnableContext context,
IJavaScriptSearchScope scope,
int style,
boolean multipleSelection,
java.lang.String filter)
Creates a selection dialog that lists all types in the given scope.
|
static SelectionDialog |
JavaScriptUI.createTypeDialog(Shell parent,
IRunnableContext context,
IJavaScriptSearchScope scope,
int style,
boolean multipleSelection,
java.lang.String filter,
TypeSelectionExtension extension)
Creates a selection dialog that lists all types in the given scope.
|
Modifier and Type | Method and Description |
---|---|
IJavaScriptSearchScope |
QuerySpecification.getScope()
Returns the search scope to be used in the query.
|
Constructor and Description |
---|
ElementQuerySpecification(IJavaScriptElement javaElement,
int limitTo,
IJavaScriptSearchScope scope,
java.lang.String scopeDescription)
A constructor.
|
PatternQuerySpecification(java.lang.String pattern,
int searchFor,
boolean caseSensitive,
int limitTo,
IJavaScriptSearchScope scope,
java.lang.String scopeDescription) |
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.