Search Pages

Identifier: org.eclipse.search.searchPages

Description: This extension point allows a plug-in to register search pages for specialized searches. When the search action is performed on a resource, the search infrastructure locates the most specific registered search page for it.

Configuration Markup:

   <!ELEMENT page EMPTY>
   <!ATTLIST page
      id               CDATA #REQUIRED
      label            CDATA #REQUIRED
      class            CDATA #REQUIRED
      icon             CDATA #IMPLIED
      sizeHint         CDATA #REQUIRED
      tabPosition      CDATA #IMPLIED
      extensions       CDATA #IMPLIED
      showScopeSection CDATA #IMPLIED
      enabled          CDATA #IMPLIED
   >

Examples:

The following is an example of a search page extension definition:

   <extension point="org.eclipse.search.searchPages">
      <page
         id="org.eclipse.search.ui.text.TextSearchPage"
         label="Text Search"
         icon="icons/full/obj16/tsearch_pref.gif"
         sizeHint="250,160"
         tabPosition="1"
         extensions="*:1"
         showScopeSection="true"
         class="org.eclipse.search.ui.text.TextSearchPage"
      </page>
   </extension>

Supplied Implementation: The search infrastructure provides a search page for full-text search.


 Copyright IBM Corporation 2000, 2002. All Rights Reserved.