Search Result View Pages

Identifier:
org.eclipse.search.searchResultViewPages

Since:
3.0

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

Configuration Markup:

<!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

label             CDATA #IMPLIED

icon              CDATA #IMPLIED

helpContextId     CDATA #IMPLIED>


Examples:
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>

API Information:
The contributed class must implement org.eclipse.search.ui.ISearchResultPage

Supplied Implementation:
The search plugin provide a search result page for file searches.


Copyright (c) 2001, 2004 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0