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

###### API Information:

The contributed class must implement `org.eclipse.search.ui.text.TextSearchQueryProvider`

Copyright (c) 2006, 2009 Wind River Systems 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