|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtend.shared.ui.editor.search.query.XtendXpandSearchQuery
public abstract class XtendXpandSearchQuery
XtendXpandSearchQuery
is a base class for search queries. Queries
contain the search parameters for the search and the code that performs the
query as well.
Constructor Summary | |
---|---|
XtendXpandSearchQuery(IXtendXpandProject project,
java.lang.String identifier)
Creates a new XtendXpandSearchQuery . |
Method Summary | |
---|---|
boolean |
canRerun()
|
boolean |
canRunInBackground()
|
java.lang.String |
getIdentifier()
|
java.lang.String |
getLabel()
|
IXtendXpandProject |
getProject()
Retrurns the project this query is operating on. |
java.lang.String |
getResultLabel(int matchCount)
Returns the label that will be displayed on top of the search result view. |
org.eclipse.search.ui.ISearchResult |
getSearchResult()
|
protected abstract java.util.List<SearchMatch> |
performSearch()
|
org.eclipse.core.runtime.IStatus |
run(org.eclipse.core.runtime.IProgressMonitor monitor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XtendXpandSearchQuery(IXtendXpandProject project, java.lang.String identifier)
XtendXpandSearchQuery
.
project
- The project to run this query on.identifier
- The identifier to look for.Method Detail |
---|
public boolean canRerun()
canRerun
in interface org.eclipse.search.ui.ISearchQuery
public boolean canRunInBackground()
canRunInBackground
in interface org.eclipse.search.ui.ISearchQuery
public java.lang.String getLabel()
getLabel
in interface org.eclipse.search.ui.ISearchQuery
public java.lang.String getResultLabel(int matchCount)
matchCount
- The number of search matches.
public org.eclipse.search.ui.ISearchResult getSearchResult()
getSearchResult
in interface org.eclipse.search.ui.ISearchQuery
public org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.OperationCanceledException
run
in interface org.eclipse.search.ui.ISearchQuery
org.eclipse.core.runtime.OperationCanceledException
protected abstract java.util.List<SearchMatch> performSearch()
public java.lang.String getIdentifier()
public IXtendXpandProject getProject()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |