Package | Description |
---|---|
org.eclipse.search.ui |
Classes and interface required to contribute search dialog pages and search result view pages.
|
org.eclipse.search.ui.text |
Provides the base classes to implement a search result view part for searches with textual matches.
|
Modifier and Type | Method and Description |
---|---|
static ISearchQuery[] |
NewSearchUI.getQueries()
Returns all search queries know to the search UI (i.e. registered via
runQuery() or runQueryInForeground()) . |
ISearchQuery |
ISearchResult.getQuery()
Returns the query that produced this search result.
|
Modifier and Type | Method and Description |
---|---|
static void |
NewSearchUI.cancelQuery(ISearchQuery query)
Sends a 'cancel' command to the given query running in background.
|
static boolean |
NewSearchUI.isQueryRunning(ISearchQuery query)
Returns whether the given query is currently running.
|
void |
IQueryListener.queryAdded(ISearchQuery query)
Called when an query has been added to the system.
|
void |
IQueryListener.queryFinished(ISearchQuery query)
Called after an
ISearchQuery has finished. |
void |
IQueryListener.queryRemoved(ISearchQuery query)
Called when a query has been removed.
|
void |
IQueryListener.queryStarting(ISearchQuery query)
Called before an
ISearchQuery is starting. |
static void |
NewSearchUI.removeQuery(ISearchQuery query)
Removes the given search query.
|
static void |
NewSearchUI.runQuery(ISearchQuery query)
Deprecated.
deprecated in 3.1.
Use
NewSearchUI.runQueryInBackground(ISearchQuery) to run a query in background
or NewSearchUI.runQueryInForeground(IRunnableContext, ISearchQuery) to run it in foreground |
static void |
NewSearchUI.runQueryInBackground(ISearchQuery query)
Runs the given search query.
|
static void |
NewSearchUI.runQueryInBackground(ISearchQuery query,
ISearchResultViewPart view)
Runs the given search query.
|
static IStatus |
NewSearchUI.runQueryInForeground(IRunnableContext context,
ISearchQuery query)
Runs the given search query.
|
static IStatus |
NewSearchUI.runQueryInForeground(IRunnableContext context,
ISearchQuery query,
ISearchResultViewPart view)
Runs the given search query.
|
Modifier and Type | Method and Description |
---|---|
abstract ISearchQuery |
TextSearchQueryProvider.createQuery(String selectedText)
Create a query to search for the selected text in the workspace.
|
abstract ISearchQuery |
TextSearchQueryProvider.createQuery(String selectedText,
IResource[] resources)
Create a query to search for the selected text in the given resources.
|
abstract ISearchQuery |
TextSearchQueryProvider.createQuery(String selectedText,
IWorkingSet[] ws)
Create a query to search for the selected text in the given working sets.
|
abstract ISearchQuery |
TextSearchQueryProvider.createQuery(TextSearchQueryProvider.TextSearchInput textSearchInput)
Create a query for the input with the given information.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.