* @param handler The handler to add
*/
public void addSearchResultsHandler(SearchResultsHandler handler) {
if (handlers == null) {
handlers = new SearchResultsHandlerCollection();
impl.setSearchCompleteCallback(this, null, new GSearchCompleteCallback() {
@Override
public void onSearchResult() {
JsArray<? extends Result> results = getResults();
handlers.fireResult(Search.this, results);
}