blob: 4fe77e64bc47c636d2f3736ee9b179c318422752 [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001<?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 &lt;code&gt;org.eclipse.jdt.core.ICodeFormatter&lt;/code&gt; 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 &lt;code&gt;ICodeFormatter&lt;/code&gt;: &lt;pre&gt;
72&lt;extension point=&quot;org.eclipse.jdt.core.codeFormatter&quot;&gt;
73 &lt;codeFormatter
74 class=&quot;com.example.MyCodeFormatter&quot;/&gt;
75&lt;/extension&gt;
76&lt;/pre&gt;
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.&lt;br&gt;
104All rights reserved. This program and the accompanying materials are made
105available under the terms of the Eclipse Public License v1.0 which accompanies
106this distribution, and is available at &lt;a
107href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
108 </documentation>
109 </annotation>
110
111</schema>