Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 1 | <?xml version='1.0' encoding='UTF-8'?>
|
| 2 | <!-- Schema file written by PDE -->
|
Stephan Herrmann | a55c341 | 2010-04-24 14:26:14 +0000 | [diff] [blame] | 3 | <schema targetNamespace="org.eclipse.jdt.core" xmlns="http://www.w3.org/2001/XMLSchema">
|
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 4 | <annotation>
|
| 5 | <appInfo>
|
| 6 | <meta.schema plugin="org.eclipse.jdt.core" id="codeFormatter" name="Code Formatters"/>
|
| 7 | </appInfo>
|
| 8 | <documentation>
|
| 9 | This extension point allows clients to contribute new source code formatter implementations.
|
| 10 | </documentation>
|
| 11 | </annotation>
|
| 12 |
|
| 13 | <element name="extension">
|
Stephan Herrmann | a55c341 | 2010-04-24 14:26:14 +0000 | [diff] [blame] | 14 | <annotation>
|
| 15 | <appInfo>
|
| 16 | <meta.element deprecated="true" />
|
| 17 | </appInfo>
|
| 18 | </annotation>
|
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 19 | <complexType>
|
| 20 | <sequence>
|
| 21 | <element ref="codeFormatter" minOccurs="0" maxOccurs="unbounded"/>
|
| 22 | </sequence>
|
| 23 | <attribute name="point" type="string" use="required">
|
| 24 | <annotation>
|
| 25 | <documentation>
|
| 26 | a fully qualified identifier of the target extension point
|
| 27 | </documentation>
|
| 28 | </annotation>
|
| 29 | </attribute>
|
| 30 | <attribute name="id" type="string">
|
| 31 | <annotation>
|
| 32 | <documentation>
|
| 33 | an optional identifier of the extension instance
|
| 34 | </documentation>
|
| 35 | </annotation>
|
| 36 | </attribute>
|
| 37 | <attribute name="name" type="string">
|
| 38 | <annotation>
|
| 39 | <documentation>
|
| 40 | an optional name of the extension instance
|
| 41 | </documentation>
|
| 42 | <appInfo>
|
| 43 | <meta.attribute translatable="true"/>
|
| 44 | </appInfo>
|
| 45 | </annotation>
|
| 46 | </attribute>
|
| 47 | </complexType>
|
| 48 | </element>
|
| 49 |
|
| 50 | <element name="codeFormatter">
|
| 51 | <complexType>
|
| 52 | <attribute name="class" type="string" use="required">
|
| 53 | <annotation>
|
| 54 | <documentation>
|
| 55 | the class that defines the code formatter implementation. This class must be a public implementation of <code>org.eclipse.jdt.core.ICodeFormatter</code> with a public 0-argument constructor.
|
| 56 | </documentation>
|
| 57 | </annotation>
|
| 58 | </attribute>
|
| 59 | </complexType>
|
| 60 | </element>
|
| 61 |
|
| 62 | <annotation>
|
| 63 | <appInfo>
|
| 64 | <meta.section type="since"/>
|
| 65 | </appInfo>
|
| 66 | <documentation>
|
| 67 | 2.0
|
| 68 | </documentation>
|
| 69 | </annotation>
|
| 70 |
|
| 71 | <annotation>
|
| 72 | <appInfo>
|
| 73 | <meta.section type="examples"/>
|
| 74 | </appInfo>
|
| 75 | <documentation>
|
| 76 | Example of an implementation of <code>ICodeFormatter</code>: <pre> |
| 77 | <extension point="org.eclipse.jdt.core.codeFormatter"> |
| 78 | <codeFormatter |
| 79 | class="com.example.MyCodeFormatter"/> |
| 80 | </extension> |
| 81 | </pre>
|
| 82 | </documentation>
|
| 83 | </annotation>
|
| 84 |
|
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 85 |
|
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 86 |
|
| 87 | <annotation>
|
| 88 | <appInfo>
|
| 89 | <meta.section type="copyright"/>
|
| 90 | </appInfo>
|
| 91 | <documentation>
|
Stephan Herrmann | a55c341 | 2010-04-24 14:26:14 +0000 | [diff] [blame] | 92 | Copyright (c) 2000, 2010 IBM Corporation and others.<br>
|
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 93 | All rights reserved. This program and the accompanying materials are made
|
| 94 | available under the terms of the Eclipse Public License v1.0 which accompanies
|
| 95 | this distribution, and is available at <a
|
| 96 | href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
|
Stephan Herrmann | a55c341 | 2010-04-24 14:26:14 +0000 | [diff] [blame] | 97 | </documentation>
|
Stephan Herrmann | 7b7062f | 2010-04-01 19:56:59 +0000 | [diff] [blame] | 98 | </annotation>
|
| 99 |
|
| 100 | </schema>
|