blob: 2f4873095c47edda7d697f05959b620da4708e98 [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001<?xml version="1.0" encoding="UTF-8"?>
Stephan Herrmanna55c3412010-04-24 14:26:14 +00002<?eclipse version="3.0"?>
3<!--
Stephan Herrmann32fd38b2014-12-13 15:26:29 +01004 Copyright (c) 2004, 2014 IBM Corporation and others.
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00005 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
9
10 Contributors:
11 IBM Corporation - initial API and implementation
Stephan Herrmann32fd38b2014-12-13 15:26:29 +010012 Harry Terkelsen (het@google.com) - Bug 449262 - Allow the use of third-party Java formatters
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000013 -->
14
15<!-- =================================================================================== -->
16<!-- JDT/CORE Plug-in Manifest -->
17<!-- =================================================================================== -->
18<plugin>
19
20<!-- =================================================================================== -->
21<!-- Prerequisite Plug-ins -->
22<!-- =================================================================================== -->
23
24
25<!-- =================================================================================== -->
26<!-- Runtime Libraries -->
27<!-- =================================================================================== -->
28
29
30<!-- =================================================================================== -->
31<!-- Extension Point: Initializers of Classpath Variables -->
32<!-- =================================================================================== -->
33
34<extension-point name="%classpathVariableInitializersName"
35 id="classpathVariableInitializer"
36 schema="schema/classpathVariableInitializer.exsd"/>
37
38<!-- =================================================================================== -->
39<!-- Extension Point: Initializers of Classpath Containers -->
40<!-- =================================================================================== -->
41
42<extension-point name="%classpathContainerInitializersName"
43 id="classpathContainerInitializer"
44 schema="schema/classpathContainerInitializer.exsd"/>
45
46<!-- =================================================================================== -->
47<!-- Extension Point: Formatter of Source Code -->
48<!-- =================================================================================== -->
49
50<extension-point name="%codeFormattersName"
51 id="codeFormatter"
52 schema="schema/codeFormatter.exsd"/>
53
54<!-- =================================================================================== -->
55<!-- Extension Point: Compilation Participant -->
56<!-- =================================================================================== -->
57
58<extension-point name="%compilationParticipantsName"
59 id="compilationParticipant"
60 schema="schema/compilationParticipant.exsd"/>
61
62<!-- =================================================================================== -->
63<!-- Extension Point: Java 6 Annotation Processor Manager -->
64<!-- =================================================================================== -->
65
66<extension-point name="%annotationProcessorManagerName"
67 id="annotationProcessorManager"
68 schema="schema/annotationProcessorManager.exsd"/>
69
70<!-- =================================================================================== -->
Stephan Herrmann32fd38b2014-12-13 15:26:29 +010071<!-- Extension Point: Java Source Formatter -->
72<!-- =================================================================================== -->
73
74<extension-point name="%javaFormatterName"
75 id="javaFormatter"
76 schema="schema/javaFormatter.exsd"/>
77
78<!-- =================================================================================== -->
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000079<!-- Extension: Java Nature -->
80<!-- =================================================================================== -->
81
82<extension
83 point="org.eclipse.core.resources.natures"
84 id="javanature"
85 name="%javaNatureName">
86 <runtime>
87 <run class="org.eclipse.jdt.internal.core.JavaProject">
88 </run>
89 </runtime>
90</extension>
91
92
93<!-- =================================================================================== -->
94<!-- Extension: Java Builder -->
95<!-- =================================================================================== -->
96
97<extension
98 point="org.eclipse.core.resources.builders"
99 id="javabuilder"
100 name="%javaBuilderName">
101 <builder>
102 <run class="org.eclipse.jdt.internal.core.builder.JavaBuilder">
103 </run>
104 </builder>
105</extension>
106
107<!-- =================================================================================== -->
108<!-- Extension: Java Problem -->
109<!-- =================================================================================== -->
110<extension id="problem" point="org.eclipse.core.resources.markers" name="%javaProblemName">
111 <super type="org.eclipse.core.resources.problemmarker"/>
112 <super type="org.eclipse.core.resources.textmarker"/>
113 <persistent value="true"/>
114 <attribute name="id"/>
115 <attribute name="flags"/>
116 <attribute name="arguments"/>
117 <attribute name="categoryId"/>
118</extension>
119
120<!-- =================================================================================== -->
121<!-- Extension: Java Buildpath Problem -->
122<!-- =================================================================================== -->
123<extension id="buildpath_problem" point="org.eclipse.core.resources.markers" name="%buildPathProblemName">
124 <super type="org.eclipse.core.resources.problemmarker"/>
125 <super type="org.eclipse.core.resources.textmarker"/>
126 <persistent value="true"/>
127 <attribute name ="cycleDetected"/>
128 <attribute name="id"/>
129 <attribute name="arguments"/>
130</extension>
131
132<!-- =================================================================================== -->
133<!-- Extension: Java Transient Problem -->
134<!-- =================================================================================== -->
135<extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientJavaProblemName">
136 <super type="org.eclipse.core.resources.textmarker"/>
137 <persistent value="false"/>
138 <attribute name="id"/>
139 <attribute name="flags"/>
140 <attribute name="arguments"/>
141</extension>
142
143<!-- =================================================================================== -->
144<!-- Extension: Java Task -->
145<!-- =================================================================================== -->
146<extension id="task" name="%javaTaskName" point="org.eclipse.core.resources.markers">
147 <super type="org.eclipse.core.resources.taskmarker"/>
148 <persistent value="true"/>
149</extension>
150
151<!-- =================================================================================== -->
152<!-- Extension: Javac Ant Adapter -->
153<!-- =================================================================================== -->
154<extension
155 point="org.eclipse.ant.core.extraClasspathEntries">
156 <extraClasspathEntry
157 library="jdtCompilerAdapter.jar">
158 </extraClasspathEntry>
159</extension>
160
161<!-- =================================================================================== -->
162<!-- Extension: Javac Ant Task -->
163<!-- =================================================================================== -->
164<extension point="org.eclipse.ant.core.antTasks">
165 <antTask
166 name="eclipse.checkDebugAttributes"
167 class="org.eclipse.jdt.core.CheckDebugAttributes"
168 library="jdtCompilerAdapter.jar">
169 </antTask>
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100170 <antTask
171 name="eclipse.buildJarIndex"
172 class="org.eclipse.jdt.core.BuildJarIndex"
173 library="jdtCompilerAdapter.jar">
174 </antTask>
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000175</extension>
176
177<!-- =================================================================================== -->
178<!-- Extension: User Library Container -->
179<!-- =================================================================================== -->
180<extension
181 point="org.eclipse.jdt.core.classpathContainerInitializer">
182 <classpathContainerInitializer
183 class="org.eclipse.jdt.internal.core.UserLibraryClasspathContainerInitializer"
184 id="org.eclipse.jdt.USER_LIBRARY">
185 </classpathContainerInitializer>
186 </extension>
187
188<!-- =================================================================================== -->
189<!-- Extension: Java File Types -->
190<!-- =================================================================================== -->
191<extension point="org.eclipse.team.core.fileTypes">
192 <fileTypes extension="java" type="text"/>
193 <fileTypes extension="classpath" type="text"/>
194 <fileTypes extension="properties" type="text"/>
195 <fileTypes extension="class" type="binary"/>
196 <fileTypes extension="jar" type="binary"/>
197 <fileTypes extension="jardesc" type="text"/>
198 <fileTypes extension="zip" type="binary"/>
199</extension>
200
201<!-- =================================================================================== -->
202<!-- Extension: Java Code Formatter -->
203<!-- =================================================================================== -->
204<extension
205 id="JavaCodeFormatter"
206 point="org.eclipse.core.runtime.applications">
207 <application>
208 <run class="org.eclipse.jdt.core.formatter.CodeFormatterApplication" />
209 </application>
210</extension>
211
212<!-- =================================================================================== -->
Stephan Herrmann2c38ab42012-01-28 20:42:28 +0100213<!-- Extension: Java Generate Indexer -->
214<!-- =================================================================================== -->
215<extension
216 id="JavaIndexer"
217 point="org.eclipse.core.runtime.applications">
218 <application>
219 <run class="org.eclipse.jdt.core.index.JavaIndexerApplication" />
220 </application>
221</extension>
222
223<!-- =================================================================================== -->
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000224<!-- Extension: Java Content Types -->
225<!-- =================================================================================== -->
226<extension point="org.eclipse.core.contenttype.contentTypes">
227 <!-- declares a content type for Java Properties files -->
228 <content-type id="javaProperties" name="%javaPropertiesName"
229 base-type="org.eclipse.core.runtime.text"
230 priority="high"
231 file-extensions="properties"
232 default-charset="ISO-8859-1"/>
233 <!-- Associates .classpath to the XML content type -->
234 <file-association
235 content-type="org.eclipse.core.runtime.xml"
236 file-names=".classpath"/>
237 <!-- declares a content type for Java Source files -->
238 <content-type id="javaSource" name="%javaSourceName"
239 base-type="org.eclipse.core.runtime.text"
240 priority="high"
241 file-extensions="java"/>
242 <!-- declares a content type for Java class files -->
243 <content-type id="javaClass" name="%javaClassName"
244 priority="high"
245 file-extensions="class">
246 <describer
247 class="org.eclipse.core.runtime.content.BinarySignatureDescriber">
248 <parameter name="signature" value="CA, FE, BA, BE"/>
249 </describer>
250 </content-type>
251 <!-- declares a content type for JAR manifest files -->
252 <content-type id="JARManifest" name="%jarManifestName"
253 base-type="org.eclipse.core.runtime.text"
254 priority="high"
255 file-names="MANIFEST.MF"
256 default-charset="UTF-8"/>
257</extension>
258
259<!-- =================================================================================== -->
260<!-- Extension: Eclipse preferences initializer -->
261<!-- =================================================================================== -->
262<extension
263 point="org.eclipse.core.runtime.preferences">
264 <initializer class="org.eclipse.jdt.internal.core.JavaCorePreferenceInitializer"/>
265</extension>
266<extension
267 point="org.eclipse.core.runtime.preferences">
268 <modifier class="org.eclipse.jdt.internal.core.JavaCorePreferenceModifyListener"/>
269</extension>
270
Stephan Herrmann32fd38b2014-12-13 15:26:29 +0100271<!-- =================================================================================== -->
272<!-- Extension: Eclipse tracing -->
273<!-- =================================================================================== -->
274<extension
275 point="org.eclipse.ui.trace.traceComponents">
276 <component
277 id="org.eclipse.jdt.core.trace"
278 label="%traceComponentLabel">
279 <bundle
280 consumed="false"
281 name="org.eclipse.jdt.core">
282 </bundle>
283 </component>
284</extension>
285
286<!-- =================================================================================== -->
287<!-- Extension: Java Code Formatter -->
288<!-- =================================================================================== -->
289<extension
290 point="org.eclipse.jdt.core.javaFormatter">
291 <javaFormatter
292 class="org.eclipse.jdt.internal.formatter.DefaultCodeFormatter"
293 id="org.eclipse.jdt.core.defaultJavaFormatter"
294 name="Eclipse [built-in]">
295 </javaFormatter>
296</extension>
297
Stephan Herrmann7b7062f2010-04-01 19:56:59 +0000298</plugin>