Eclipse Platform
Release 3.2

Uses of Interface
org.eclipse.search.ui.ISearchQuery

Packages that use ISearchQuery
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.  
 

Uses of ISearchQuery in org.eclipse.search.ui
 

Methods in org.eclipse.search.ui that return ISearchQuery
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.
 

Methods in org.eclipse.search.ui with parameters of type ISearchQuery
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.
static boolean NewSearchUI.isQueryRunning(ISearchQuery query)
          Returns whether the given query is currently running.
static void NewSearchUI.cancelQuery(ISearchQuery query)
          Sends a 'cancel' command to the given query running in background.
 void IQueryListener.queryAdded(ISearchQuery query)
          Called when an query has been added to the system.
 void IQueryListener.queryRemoved(ISearchQuery query)
          Called when a query has been removed.
 void IQueryListener.queryStarting(ISearchQuery query)
          Called before an ISearchQuery is starting.
 void IQueryListener.queryFinished(ISearchQuery query)
          Called after an ISearchQuery has finished.
 

Uses of ISearchQuery in org.eclipse.search.ui.text
 

Methods in org.eclipse.search.ui.text that return ISearchQuery
abstract  ISearchQuery TextSearchQueryProvider.createQuery(TextSearchQueryProvider.TextSearchInput textSearchInput)
          Create a query for the input with the given information.
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.
 


Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.