Search Result View Pages

org.eclipse.search.searchResultViewPages

3.0

This extension point allows clients to plug pages into the search result view.

<!ELEMENT extension (viewPage)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED>


<!ELEMENT viewPage EMPTY>

<!ATTLIST viewPage

searchResultClass CDATA #REQUIRED

class             CDATA #REQUIRED

id                CDATA #REQUIRED>


As an example, here is the markup for the file search result page.

<extension id=

"FileSearchPage"

point=

"org.eclipse.search.searchResultViewPages"

>

<viewPage id=

"org.eclipse.search.text.FileSearchResultPage"

searchResultClass=

"org.eclipse.search.internal.ui.text.FileSearchResult"

class=

"org.eclipse.search.internal.ui.text.FileSearchPage"

>

</viewPage>

</extension>

The contributed class must implement org.eclipse.search.ui.ISearchResultPage

The search plugin provide a search result page for file searches.