|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.jsdt.ui.search.QuerySpecification
org.eclipse.wst.jsdt.ui.search.PatternQuerySpecification
public class PatternQuerySpecification
Describes a search query by giving a textual pattern to search for.
This class is not intended to be instantiated or subclassed by clients.
Provisional API: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
Constructor Summary | |
---|---|
PatternQuerySpecification(java.lang.String pattern,
int searchFor,
boolean caseSensitive,
int limitTo,
IJavaScriptSearchScope scope,
java.lang.String scopeDescription)
|
Method Summary | |
---|---|
java.lang.String |
getPattern()
Returns the search pattern the query should search for. |
int |
getSearchFor()
Returns what kind of IJavaScriptElement the query should search for. |
boolean |
isCaseSensitive()
Whether the query should be case sensitive. |
Methods inherited from class org.eclipse.wst.jsdt.ui.search.QuerySpecification |
---|
getLimitTo, getScope, getScopeDescription |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PatternQuerySpecification(java.lang.String pattern, int searchFor, boolean caseSensitive, int limitTo, IJavaScriptSearchScope scope, java.lang.String scopeDescription)
pattern
- The string that the query should search for.searchFor
- What kind of IJavaScriptElement
the query should search for.caseSensitive
- Whether the query should be case sensitive.limitTo
- The kind of occurrence the query should search for.scope
- The scope to search in.scopeDescription
- A human readable description of the search scope.SearchPattern.createPattern(java.lang.String, int, int, int)
Method Detail |
---|
public boolean isCaseSensitive()
public java.lang.String getPattern()
SearchPattern.createPattern(java.lang.String, int, int, int)
public int getSearchFor()
IJavaScriptElement
the query should search for.
IJavaScriptElement
to search for.IJavaScriptSearchConstants
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |