Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.update.search
Interface IUpdateSearchQuery


Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This provisional API was never promoted to stable API, and may be removed from a future release of the platform.

public interface IUpdateSearchQuery

A search query.

Note: 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.

Since:
3.0

Method Summary
  IQueryUpdateSiteAdapter getQuerySearchSite ()
          Deprecated. Returns an update site adapter that should be added to the scope while running this query.
 void run ( ISite site, String[] categoriesToSkip, IUpdateSearchFilter filter, IUpdateSearchResultCollector collector, IProgressMonitor monitor)
          Deprecated. Executes the query.
 

Method Detail

getQuerySearchSite


IQueryUpdateSiteAdapter getQuerySearchSite()
Deprecated. 
Returns an update site adapter that should be added to the scope while running this query. Some search category may need to scan specific site adapter in addition to those specified in the search scope.

Returns:
the query-specific site adapter or null if not specified.

run

void run(
ISite site,
         
String[] categoriesToSkip,
         
IUpdateSearchFilter filter,
         
IUpdateSearchResultCollector collector,
         
IProgressMonitor monitor)
Deprecated. 
Executes the query. The implementors should scan the provided update site (skipping certain categories if provided) and pass the matches to the result collector. The query is also responsible for scoping and moving the provided progress monitor.

Parameters:
site - the update site to scan
categoriesToSkip - an array of category names that need to be skipped or null if categories should not be taken into account.
filter - a filter to apply before passing the match to collector
collector - an object that is used for reporting search results
monitor - a progress monitor to report search progress within the provided site

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire