Classes and interface required to contribute search dialog pages and search result view pages.

Package Specification

The search plugin implements the search dialog and the search result view. Client can contribute search dialog pages (extension point '') and search result view pages (extension point '') to integrate their searches to the shared search user interface.

Search dialog pages

Search dialog pages contributing to the 'searchPages' extension point must implement ISearchPage. A search page has access to its ISearchPageContainer to modify search dialog properties.

A search dialog page can additionally implement IReplacePage to allow the 'Replace' button to show up.

Search result view

The search view that shows the search results has been redesigned for 3.0. It is recommended to use and to switch to the new API:

On 'OK', an implementation of a search dialog page creates a search query, represented by an instances of type ISearchQuery. The query can be run using API on NewSearchUI and will create a ISearchResult as result. ISearchResultListener can be added to search results and report changes as SearchResultEvent.

Clients have to contribute a search result page (ISearchResultPage) that can visualize the matches contained in the result set.

The result page has access to the view using ISearchResultViewPart

  • Class
    Constants for menu groups used in context menus for Search views and editors.
    A listener for changes to the set of search queries.
    An extension interface to ISearchPage.
    Interface to be implemented by contributors to the extension point
    Offers client access to the search dialog.
    Computes a score that is used by the search dialog to find the best fitting page for a selection when opened.
    Represents a particular search query (in a Java example, a query might be "find all occurrences of 'foo' in workspace").
    Implementors of this interface represent the result of a search.
    Listener interface for changes to an ISearchResult.
    Interface to be implemented by contributors to the extension point
    Interface for the search result view.
    A facade for access to the new search UI facilities.
    The common superclass of all events sent from ISearchResults.