|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A collector for the search hits (asynchronously) returned by the help search participants.
This interface is intended to be implemented by clients and passed to the search engine instance.
Method Summary | |
void |
accept(ISearchEngineResult searchResult)
Accepts a new search result object. |
void |
accept(ISearchEngineResult[] searchResults)
Accepts an array of new search results. |
void |
error(IStatus status)
Notifies the collector that an error has occured in the search engine. |
Method Detail |
public void accept(ISearchEngineResult searchResult)
searchResult
- the new search resultpublic void accept(ISearchEngineResult[] searchResults)
searchResults
- an array of search result objectspublic void error(IStatus status)
CoreException
. Use this method to
report errors that are expected to occur from time to time (e.g., server
down, server timeout, incorrect URL etc.).
status
- the reported error status
|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.