# Parser Providers Extension Point

###### Identifier:

org.eclipse.gmf.runtime.common.ui.services.parserProviders

###### Description:

This extension point is used to define parser providers for the parser service (`org.eclipse.gmf.runtime.common.ui.services.parser.ParserService`).

The parser service supplies and applies text associated with a given element.

###### Configuration Markup:

<!ELEMENT extension (ParserProvider)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - The identifier of the extension point, i.e. `org.eclipse.gmf.runtime.common.ui.services.parserProviders`.
- id - The identifier of the extension, e.g. `parserProviders`.
- name - The name of the extension, e.g. `%ext.parserProviders`.

<!ELEMENT ParserProvider (Priority , Policy?)>

<!ATTLIST ParserProvider

class CDATA #REQUIRED>

- class - The provider class.

<!ELEMENT Priority EMPTY>

<!ATTLIST Priority

name (Lowest|Low|Medium|High|Highest) >

- name - The name of the provider priority, i.e. Lowest, Low, Medium, High, or Highest.

<!ELEMENT Policy EMPTY>

<!ATTLIST Policy

class CDATA #REQUIRED>

- class - The provider policy class.

###### Examples:

Following is an example of a parser provider extension:

       <extension
            id="parserProviders"
            name="%ext.parserProviders"
            point="org.eclipse.gmf.runtime.common.ui.services.parserProviders">
          <ParserProvider
            class="org.eclipse.test.project.providers.parser.MyParserProvider">
             <Priority name="Lowest"></Priority>
          </ParserProvider>
       </extension>

Copyright (c) 2003, 2005 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