Contributing a search result page

You can contribute a customized search results page using the org.eclipse.search.searchResultViewPages extension point.

When contributing a search result view page, you specify the class of search result that the page should be used for, and the name of the class that implements the page. The following example is the JDT plug-in's contribution of the Java search results page:

<extension
	id="JavaSearchResultPage"
	point="org.eclipse.search.searchResultViewPages">
	<viewPage
		id="org.eclipse.jdt.ui.JavaSearchResultPage"
		searchResultClass="org.eclipse.jdt.internal.ui.search.JavaSearchResult"
		class="org.eclipse.jdt.internal.ui.search.JavaSearchResultPage">
	</viewPage>
</extension>

The class must implement the ISearchResultPage interface and often extends AbstractTextSearchViewPage.