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

Text Search Query Provider

Identifier:
org.eclipse.search.textSearchQueryProvider

Since:
3.2

Description:
The extension point allows to register a text search query provider that is used to generate the queries for text searches.

Configuration Markup:

<!ELEMENT extension ( textSearchQueryProvider+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>


<!ELEMENT textSearchQueryProvider EMPTY>

<!ATTLIST textSearchQueryProvider

id    CDATA #REQUIRED

label CDATA #REQUIRED

class CDATA #REQUIRED

>

  • id - Used to distinguish different providers.
  • label - Describes the query provider in human readable terms.
  • class - The class extending org.eclipse.search.ui.text.TextSearchQueryProvider

Examples:
As an example, here is the markup for suppling a search engine


<extension id=
"MyProvider"

      point=
"org.eclipse.search.textSearchQueryProvider"
>
   <textSearchEngine
         id=
"myproduct.textSearchQueryProvider"

         label=
"Extended Text Search Query"

         class=
"myproduct.QueryProvider"
 />
</extension>


Copyright (c) 2006, 2009 Wind River Systems 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 https://www.eclipse.org/legal/epl-v10.html


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