Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

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.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire