|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISearchEngineResultCollector
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 |
|---|
void accept(ISearchEngineResult searchResult)
searchResult - the new search resultvoid accept(ISearchEngineResult[] searchResults)
searchResults - an array of search result objectsvoid 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.6 |
|||||||||
| 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, 2010. All rights reserved.