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