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>


<!ELEMENT ParserProvider (Priority , Policy?)>

<!ATTLIST ParserProvider

class CDATA #REQUIRED>


<!ELEMENT Priority EMPTY>

<!ATTLIST Priority

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


<!ELEMENT Policy EMPTY>

<!ATTLIST Policy

class CDATA #REQUIRED>


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