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 GMF Guide
Previous Page Home Next Page

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 https://www.eclipse.org/legal/epl-v10.html


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