I believe that JLense should have a standard search
facility. This facility would work something like the
basic search facility in MS Outlook v5. There would be
a standard 'Find' workbench view part that, when
displayed, would filter the contents of the currently
displayed 'list' view.
There would be an extension point for registering search
views. Enabling and disabling search actions could be
done by associating search views with workbench parts
via the extension registry. Searchable workbench parts
will have to implement the 'ISearchView' interface.
When the a workbench part that has associated search
views is active a 'Find' button would be enabled. The
find button would display search page(s) as registered
for the part in the extension registry. After perfoming a
search an retrieving a collection of results the search
page will invoke the ISearchView.displaySearchResults
(Collection results) method and the view will display only
the items contained in the given collection.