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 extension (page*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT page EMPTY>

<!ATTLIST page

id                         CDATA #REQUIRED

label                      CDATA #REQUIRED

class                      CDATA #REQUIRED

icon                       CDATA #IMPLIED

sizeHint                   CDATA #IMPLIED

tabPosition                CDATA #IMPLIED

extensions                 CDATA #IMPLIED

searchViewHelpContextId    CDATA #IMPLIED

showScopeSection           (true | false)

enabled                    (true | false)

canSearchEnclosingProjects (true | false)

>


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> 

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

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


Copyright (c) 2001, 2009 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html