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 -->
|
| 3 | <schema targetNamespace="org.eclipse.jdt.core">
|
| 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">
|
| 14 | <complexType>
|
| 15 | <sequence>
|
| 16 | <element ref="codeFormatter" minOccurs="0" maxOccurs="unbounded"/>
|
| 17 | </sequence>
|
| 18 | <attribute name="point" type="string" use="required">
|
| 19 | <annotation>
|
| 20 | <documentation>
|
| 21 | a fully qualified identifier of the target extension point
|
| 22 | </documentation>
|
| 23 | </annotation>
|
| 24 | </attribute>
|
| 25 | <attribute name="id" type="string">
|
| 26 | <annotation>
|
| 27 | <documentation>
|
| 28 | an optional identifier of the extension instance
|
| 29 | </documentation>
|
| 30 | </annotation>
|
| 31 | </attribute>
|
| 32 | <attribute name="name" type="string">
|
| 33 | <annotation>
|
| 34 | <documentation>
|
| 35 | an optional name of the extension instance
|
| 36 | </documentation>
|
| 37 | <appInfo>
|
| 38 | <meta.attribute translatable="true"/>
|
| 39 | </appInfo>
|
| 40 | </annotation>
|
| 41 | </attribute>
|
| 42 | </complexType>
|
| 43 | </element>
|
| 44 |
|
| 45 | <element name="codeFormatter">
|
| 46 | <complexType>
|
| 47 | <attribute name="class" type="string" use="required">
|
| 48 | <annotation>
|
| 49 | <documentation>
|
| 50 | 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.
|
| 51 | </documentation>
|
| 52 | </annotation>
|
| 53 | </attribute>
|
| 54 | </complexType>
|
| 55 | </element>
|
| 56 |
|
| 57 | <annotation>
|
| 58 | <appInfo>
|
| 59 | <meta.section type="since"/>
|
| 60 | </appInfo>
|
| 61 | <documentation>
|
| 62 | 2.0
|
| 63 | </documentation>
|
| 64 | </annotation>
|
| 65 |
|
| 66 | <annotation>
|
| 67 | <appInfo>
|
| 68 | <meta.section type="examples"/>
|
| 69 | </appInfo>
|
| 70 | <documentation>
|
| 71 | Example of an implementation of <code>ICodeFormatter</code>: <pre> |
| 72 | <extension point="org.eclipse.jdt.core.codeFormatter"> |
| 73 | <codeFormatter |
| 74 | class="com.example.MyCodeFormatter"/> |
| 75 | </extension> |
| 76 | </pre>
|
| 77 | </documentation>
|
| 78 | </annotation>
|
| 79 |
|
| 80 | <annotation>
|
| 81 | <appInfo>
|
| 82 | <meta.section type="apiInfo"/>
|
| 83 | </appInfo>
|
| 84 | <documentation>
|
| 85 |
|
| 86 | </documentation>
|
| 87 | </annotation>
|
| 88 |
|
| 89 | <annotation>
|
| 90 | <appInfo>
|
| 91 | <meta.section type="implementation"/>
|
| 92 | </appInfo>
|
| 93 | <documentation>
|
| 94 |
|
| 95 | </documentation>
|
| 96 | </annotation>
|
| 97 |
|
| 98 | <annotation>
|
| 99 | <appInfo>
|
| 100 | <meta.section type="copyright"/>
|
| 101 | </appInfo>
|
| 102 | <documentation>
|
| 103 | Copyright (c) 2000, 2004 IBM Corporation and others.<br> |
| 104 | All rights reserved. This program and the accompanying materials are made
|
| 105 | available under the terms of the Eclipse Public License v1.0 which accompanies
|
| 106 | this distribution, and is available at <a
|
| 107 | href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
|
| 108 | </documentation>
|
| 109 | </annotation>
|
| 110 |
|
| 111 | </schema>
|