[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-search-dev] NewSearchUI - results not showing
|
How did you implement
AbstractTextSearchViewPage#elementsChanged(Object[])?
You have to add new elements to the search result viewer there.
For a simple example, see NLSSearchResultPage#elementsChanged(..), which
forwards to TextSearchTableContentProvider#elementsChanged(..)
See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=72661 .
Markus
David Watkins <David_Watkins@xxxxxxxx>
Sent by: platform-search-dev-admin@xxxxxxxxxxx
2004-08-25 19:19
Please respond to
platform-search-dev@xxxxxxxxxxx
To
platform-search-dev@xxxxxxxxxxx
cc
Subject
Re: [platform-search-dev] NewSearchUI - results not showing
Hi Markus,
Thanks for your suggestions. Unfortunately, it's still not
working :(
I tried setting the code back to your example and I also
ensured the search was the same object (based on the code from
the NLSSearchQuery).
I thought it may have something to do with
'ISearchQuery::canRunInBackground()' so I forced that
method to return false. Unfortunately none of this worked and
I still have the same problem - namely the results don't show
until I access them from the search history.
Any other ideas? I have a feeling it's something missing from the
plugin.xml, other than registering the result page is there anything
else I have to do in terms of initialisation. I added a subsequent
call to 'NewSearchUI.getSearchResultView().getActivePage()' and
inspected the result it was showing my 'BeanSearchResultPage' and
I could see my matches stored in it - weird!
Anyway thanks again for your help , I think I've probably forgotten
something really obvious. Does anyone know of any simple 'all-in-one'
examples out there I can take a look at?
Cheers,
Dave Watkins