blob: 8ebaa6f348d031b0d10519372b80270fa9648722 [file] [log] [blame]
david_williams96213482004-11-11 09:07:12 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
david_williams96213482004-11-11 09:07:12 +00004
lmandel4c1ee842006-04-05 03:11:42 +00005 <!-- An extension for contributing a XML validation error customizer. -->
6 <extension-point id="errorCustomizer" name="%XML_Validation_Error_Customizer.name" schema="schema/errorCustomizer.exsd"/>
7
david_williamsad0e4cc2005-06-04 01:49:19 +00008 <extension point="org.eclipse.wst.sse.core.modelHandler">
9 <modelHandler
10 default="true"
11 class="org.eclipse.wst.xml.core.internal.modelhandler.ModelHandlerForXML"
12 associatedContentTypeId="org.eclipse.core.runtime.xml"
13 id="org.eclipse.wst.xml.core.internal.modelhandler">
14 </modelHandler>
15 </extension>
david_williams09de8f82005-07-08 18:08:48 +000016 <extension point="org.eclipse.wst.sse.core.modelHandler">
17 <modelHandler
18 default="true"
19 class="org.eclipse.wst.xml.core.internal.modelhandler.ModelHandlerForXML"
20 associatedContentTypeId="org.eclipse.wst.xml.core.xmlsource"
21 id="org.eclipse.wst.xml.core.internal.modelhandler2">
22 </modelHandler>
23 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000024
25 <extension point="org.eclipse.wst.sse.core.embeddedTypeHandler">
26 <embeddedTypeHandler
27 class="org.eclipse.wst.xml.core.internal.modelhandler.EmbeddedXML">
28 </embeddedTypeHandler>
29 </extension>
30
31 <extension point="org.eclipse.wst.sse.core.taskscanner">
32 <scanner
33 id="org.eclipse.wst.xml.core.internal.tasks.XMLFileTaskScanner"
nitind187c1652008-01-17 05:05:10 +000034 class="org.eclipse.wst.xml.core.internal.tasks.XMLFileTaskScanner:org.eclipse.wst.xml.core.taskMarker"
david_williamsad0e4cc2005-06-04 01:49:19 +000035 contentTypeIds="org.eclipse.core.runtime.xml" />
36 </extension>
nitind187c1652008-01-17 05:05:10 +000037 <extension
38 id="taskMarker"
39 name="%_taskMarker.name"
40 point="org.eclipse.core.resources.markers">
nitind564649e2008-04-02 17:55:49 +000041 <super type="org.eclipse.core.resources.taskmarker"/>
nitind187c1652008-01-17 05:05:10 +000042 <persistent value="true"/>
43 </extension>
csaltera3a2daa2005-06-15 06:53:51 +000044
45 <!-- Here we define a new extension point. This extension point is used
46 to programmatically contribute catalog entries to the XML Catalog. -->
47 <extension-point id="catalogContributions" name="%XML_Catalog_Contributions_Extension_Point.name" schema="schema/catalogContributions.exsd"/>
48
lmandela8975072005-11-02 23:15:05 +000049 <!-- This extension point extends the Common Extensbile URI Resolver so that
csaltera3a2daa2005-06-15 06:53:51 +000050 the XML Catalog can participare in resolving processes. -->
51 <extension point="org.eclipse.wst.common.uriresolver.resolverExtensions">
52 <resolverExtension
53 stage="postnormalization"
54 class="org.eclipse.wst.xml.core.internal.catalog.XMLCatalogURIResolverExtension">
55 </resolverExtension>
56 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000057
58 <extension
59 point="org.eclipse.core.filebuffers.documentCreation"
60 id="org.eclipse.wst.xml.core.documentfactories"
61 name="%Structured_XML_Document_Factory_Extension.name">
62 <factory
63 contentTypeId="org.eclipse.core.runtime.xml"
64 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
65 </extension>
david_williams09de8f82005-07-08 18:08:48 +000066 <extension
67 point="org.eclipse.core.filebuffers.documentCreation"
68 id="org.eclipse.wst.xml.core.documentfactories2"
69 name="%Structured_XML_Document_Factory_Extension.name">
70 <factory
71 contentTypeId="org.eclipse.wst.xml.core.xmlsource"
72 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
73 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000074 <extension point="org.eclipse.team.core.fileTypes">
75 <fileTypes
76 type="text"
77 extension="xsl">
78 </fileTypes>
79 <fileTypes
80 type="text"
81 extension="xslt">
82 </fileTypes>
83 <fileTypes
84 type="text"
85 extension="dadx">
86 </fileTypes>
87 <fileTypes
88 type="text"
89 extension="wsdl">
90 </fileTypes>
91 <fileTypes
92 type="text"
93 extension="nst">
94 </fileTypes>
95 <fileTypes
96 type="text"
97 extension="xmi">
98 </fileTypes>
99 <fileTypes
100 type="text"
101 extension="xsd">
102 </fileTypes>
103 </extension>
104
105 <extension point="org.eclipse.wst.sse.core.formatProcessors">
106 <processor
amywu29c551d2007-12-20 05:39:27 +0000107 class="org.eclipse.wst.xml.core.internal.formatter.XMLFormatterFormatProcessor"
david_williamsad0e4cc2005-06-04 01:49:19 +0000108 contentTypeId="org.eclipse.core.runtime.xml">
109 </processor>
110 </extension>
111
david_williams8ef7da72005-07-08 21:20:26 +0000112 <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=103083 -->\
113 <!-- FYI: this xmi type *should* be defined in EMF, but, since isn't
114 we will here. In future versions is could be removed -->
david_williamsce29b5a2005-07-08 21:18:46 +0000115 <extension point="org.eclipse.core.runtime.contentTypes">
116 <content-type
117 file-extensions="xmi"
118 priority="low"
jeffliue26facd2005-08-23 14:10:30 +0000119 name="%XMI_Content_Type"
david_williamsce29b5a2005-07-08 21:18:46 +0000120 id="xmisource"
121 base-type="org.eclipse.core.runtime.xml">
122 </content-type>
nitind039cee92007-05-01 21:58:41 +0000123
124 <content-type
125 file-extensions="xml,xsl,xslt,wsdl,xsd,exsd,xmi"
126 priority="low"
127 name="%XML_Content_Type_Extension_Element.name"
128 id="xmlsource"
129 base-type="org.eclipse.core.runtime.text"
130 default-charset="UTF-8">
131 <describer class="org.eclipse.wst.xml.core.internal.contenttype.ContentDescriberForXML" />
132 </content-type>
133
134 <content-type
135 file-extensions="xsl,xslt"
136 priority="high"
137 name="%XSL_Content_Type_Extension_Element.name"
138 id="xslsource"
139 base-type="org.eclipse.core.runtime.xml"
140 default-charset="UTF-8">
141 </content-type>
david_williamsce29b5a2005-07-08 21:18:46 +0000142 </extension>
143
nitind039cee92007-05-01 21:58:41 +0000144
david_williamsd3484c72005-05-25 21:11:11 +0000145 <!-- initialize xml core preferences -->
146 <extension point="org.eclipse.core.runtime.preferences">
nitind039cee92007-05-01 21:58:41 +0000147 <initializer class="org.eclipse.wst.xml.core.internal.preferences.XMLCorePreferenceInitializer" />
david_williamsd3484c72005-05-25 21:11:11 +0000148 </extension>
david_williamsc06c86f2005-03-18 18:23:41 +0000149
kchong47057152005-12-06 22:26:48 +0000150 <extension-point id="documentFactories" name="%Content_Model_Document_Factories_Extension.name" schema="schema/documentFactories.exsd"/>
david_williamsc06c86f2005-03-18 18:23:41 +0000151
kchong47057152005-12-06 22:26:48 +0000152 <extension-point id="modelQueryExtensions" name="%Model_Query_Extension.name" schema="schema/modelQueryExtensions.exsd"/>
david_williamsc06c86f2005-03-18 18:23:41 +0000153
kchong47057152005-12-06 22:26:48 +0000154 <extension-point id="annotationFiles" name="%Content_Model_Annotation_Files_Extension.name" schema="schema/annotationFiles.exsd"/>
cbridghae9a970d2005-10-25 14:58:30 +0000155
156 <extension
157 point="org.eclipse.jem.util.uiContextSensitiveClass">
158 <uiContextSensitiveClass
159 context="UI"
160 key="rendererFactory"
161 className="org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERendererFactory">
162 </uiContextSensitiveClass>
cbridghae9a970d2005-10-25 14:58:30 +0000163 </extension>
lmandel448bf3f2006-03-29 10:02:51 +0000164 <!-- ====================================================== -->
165 <!-- Register the XML validator with the validation -->
166 <!-- framework. -->
167 <!-- ====================================================== -->
vbaciu93dbcba2008-04-02 00:01:48 +0000168
nitind3ac51d52008-01-17 03:41:34 +0000169 <extension
170 id="validationMarker"
171 name="%_validationMarker.name"
172 point="org.eclipse.core.resources.markers">
173 <super type="org.eclipse.wst.validation.problemmarker"/>
174 <persistent value="true"/>
lmandel448bf3f2006-03-29 10:02:51 +0000175 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000176
kchong1c62b5b2008-02-06 23:06:07 +0000177 <extension id="xml" name="%XML_Validator.name" point="org.eclipse.wst.validation.validatorV2">
178 <validator
179 build="true"
180 class="org.eclipse.wst.xml.core.internal.validation.eclipse.Validator"
181 manual="true"
182 sourceid="org.eclipse.wst.xml.ui.internal.validation.DelegatingSourceValidatorForXML"
vbaciu93dbcba2008-04-02 00:01:48 +0000183 version="3"
184 markerId="org.eclipse.wst.xml.core.validationMarker">
kchong1c62b5b2008-02-06 23:06:07 +0000185 <include>
186 <rules>
187 <contentType id="org.eclipse.core.runtime.xml"></contentType>
188 <contentType id="org.eclipse.wst.xml.core.xmlsource"></contentType>
189 <contentType id="org.eclipse.wst.xml.core.xslsource"></contentType>
190 <contentType id="org.eclipse.jst.jsp.core.tldsource"></contentType>
vbaciubc883122008-03-04 19:17:33 +0000191 <fileext
192 caseSensitive="false"
193 ext="xml">
194 </fileext>
195 <fileext
196 caseSensitive="false"
197 ext="gph">
198 </fileext>
199 <fileext
200 caseSensitive="false"
201 ext="wdo-connections">
202 </fileext>
kchong1c62b5b2008-02-06 23:06:07 +0000203 </rules>
204 </include>
205 <exclude>
206 <rules>
207 <projectNature id="org.eclipse.jst.j2ee.ejb.EJBNature"/>
208 <projectNature id="org.eclipse.jst.j2ee.EARNature"/>
vbaciu1c26a772008-02-15 16:46:19 +0000209 <file caseSensitive="true" name=".project" type="file"/>
210 <file caseSensitive="true" name=".classpath" type="file"/>
211 <file caseSensitive="true" name=".settings" type="folder"/>
kchong1c62b5b2008-02-06 23:06:07 +0000212 </rules>
213 </exclude>
214 </validator>
215 </extension>
david_williams96213482004-11-11 09:07:12 +0000216</plugin>