public class SearchProcessorInfo extends Object
Constructor and Description |
---|
SearchProcessorInfo() |
Modifier and Type | Method and Description |
---|---|
String[] |
getAlternateTerms()
After
AbstractSearchProcessor.preSearch(String) is called,
this method can be used to return an array of alternative search terms
a user may wish to consider. |
String |
getQuery()
After
AbstractSearchProcessor.preSearch(String) is called,
this method can be used to change the search query used. |
void |
setAlternateTerms(String[] alternateTerms)
Sets the alternate terms to be considered.
|
void |
setQuery(String query)
Sets the query to search with.
|
public String getQuery()
AbstractSearchProcessor.preSearch(String)
is called,
this method can be used to change the search query used.null
for no change.public void setQuery(String query)
query
- getQuery()
public String[] getAlternateTerms()
AbstractSearchProcessor.preSearch(String)
is called,
this method can be used to return an array of alternative search terms
a user may wish to consider.null
for no alternate terms.
An empty array has the same effect as returning null
.public void setAlternateTerms(String[] alternateTerms)
alternateTerms
- getAlternateTerms()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.