Package | Description |
---|---|
org.eclipse.jdt.core.search |
Provides support for searching the workspace Java
elements that match a particular description.
|
Modifier and Type | Method and Description |
---|---|
static SearchPattern |
SearchPattern.createAndPattern(SearchPattern leftPattern,
SearchPattern rightPattern)
Deprecated.
Unfortunately, this functionality is not fully supported yet
(see "https://bugs.eclipse.org/bugs/show_bug.cgi?id=142044" for more details).
This might be done in a further version...
|
static SearchPattern |
SearchPattern.createOrPattern(SearchPattern leftPattern,
SearchPattern rightPattern)
Returns a search pattern that combines the given two patterns into an
"or" pattern.
|
static SearchPattern |
SearchPattern.createPattern(IJavaElement element,
int limitTo)
Returns a search pattern based on a given Java element.
|
static SearchPattern |
SearchPattern.createPattern(IJavaElement element,
int limitTo,
int matchRule)
Returns a search pattern based on a given Java element.
|
static SearchPattern |
SearchPattern.createPattern(String stringPattern,
int searchFor,
int limitTo,
int matchRule)
Returns a search pattern based on a given string pattern.
|
SearchPattern |
SearchPattern.currentPattern() |
abstract SearchPattern |
SearchPattern.getBlankPattern()
Returns a blank pattern that can be used as a record to decode an index key.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchPattern.acceptMatch(String relativePath,
String containerPath,
char separator,
SearchPattern pattern,
org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor,
SearchParticipant participant,
IJavaSearchScope scope) |
void |
SearchPattern.acceptMatch(String relativePath,
String containerPath,
char separator,
SearchPattern pattern,
org.eclipse.jdt.internal.core.search.IndexQueryRequestor requestor,
SearchParticipant participant,
IJavaSearchScope scope,
IProgressMonitor monitor) |
static SearchPattern |
SearchPattern.createAndPattern(SearchPattern leftPattern,
SearchPattern rightPattern)
Deprecated.
Unfortunately, this functionality is not fully supported yet
(see "https://bugs.eclipse.org/bugs/show_bug.cgi?id=142044" for more details).
This might be done in a further version...
|
static SearchPattern |
SearchPattern.createOrPattern(SearchPattern leftPattern,
SearchPattern rightPattern)
Returns a search pattern that combines the given two patterns into an
"or" pattern.
|
abstract void |
SearchParticipant.locateMatches(SearchDocument[] documents,
SearchPattern pattern,
IJavaSearchScope 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 given search requestor.
|
boolean |
SearchPattern.matchesDecodedKey(SearchPattern decodedPattern)
Returns whether this pattern matches the given pattern (representing a decoded index key).
|
void |
SearchEngine.search(SearchPattern pattern,
SearchParticipant[] participants,
IJavaSearchScope scope,
SearchRequestor requestor,
IProgressMonitor monitor)
Searches for matches of a given search pattern.
|
abstract 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.
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.