blob: f8e5cddb89fb52093f4e5c11c59d520a389764e6 [file] [log] [blame]
nitindb0f7b262004-11-23 19:12:23 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
david_williamsb5d05632006-02-27 09:24:00 +00004 <extension-point id="elTranslator" name="%extension-point.name.0" schema="schema/eltranslator.exsd"/>
nitindb0f7b262004-11-23 19:12:23 +00005
david_williamsad0e4cc2005-06-04 01:49:19 +00006 <extension point="org.eclipse.wst.sse.core.modelHandler">
7 <modelHandler
8 class="org.eclipse.jst.jsp.core.internal.modelhandler.ModelHandlerForJSP"
9 associatedContentTypeId="org.eclipse.jst.jsp.core.jspsource"
10 id="org.eclipse.jst.jsp.core.internal.modelhandler">
11 </modelHandler>
david_williamse6088952006-04-17 01:10:40 +000012 <modelHandler
13 class="org.eclipse.jst.jsp.core.internal.modelhandler.ModelHandlerForJSP"
14 associatedContentTypeId="org.eclipse.jst.jsp.core.jspfragmentsource"
15 id="org.eclipse.jst.jsp.core.internal.modelhandler">
16 </modelHandler>
nitind96e812e2007-04-19 04:43:24 +000017 <modelHandler
18 class="org.eclipse.jst.jsp.core.internal.modelhandler.ModelHandlerForTag"
19 associatedContentTypeId="org.eclipse.jst.jsp.core.tagsource"
20 id="org.eclipse.jst.jsp.core.internal.modelhandler.tag">
21 </modelHandler>
david_williamsad0e4cc2005-06-04 01:49:19 +000022 </extension>
nitind95958692005-05-04 06:47:59 +000023
david_williamsad0e4cc2005-06-04 01:49:19 +000024 <extension point="org.eclipse.wst.xml.core.documentFactories">
25 <factory
26 type="tld"
27 class="org.eclipse.jst.jsp.core.internal.contentmodel.tld.CMDocumentFactoryTLD">
28 </factory>
29 </extension>
nitind95958692005-05-04 06:47:59 +000030
david_williamsad0e4cc2005-06-04 01:49:19 +000031 <extension point="org.eclipse.wst.sse.core.taskscanner">
32 <scanner
33 id="org.eclipse.jst.jsp.core.internal.tasks.JSPFileTaskScanner"
nitind4ebb3c32008-01-17 05:24:43 +000034 class="org.eclipse.jst.jsp.core.internal.tasks.JSPFileTaskScanner:org.eclipse.jst.jsp.core.taskMarker"
david_williamsad0e4cc2005-06-04 01:49:19 +000035 contentTypeIds="org.eclipse.jst.jsp.core.jspsource" />
36 </extension>
nitind4ebb3c32008-01-17 05:24:43 +000037 <extension
38 id="taskMarker"
39 name="%_taskMarker.name"
40 point="org.eclipse.core.resources.markers">
nitinddec17782008-04-02 04:48:00 +000041 <super type="org.eclipse.core.resources.taskmarker"/>
nitind4ebb3c32008-01-17 05:24:43 +000042 <persistent value="true"/>
43 </extension>
nitinddec17782008-04-02 04:48:00 +000044 <extension
45 id="validationMarker"
46 name="%_validationMarker.name"
47 point="org.eclipse.core.resources.markers">
48 <super type="org.eclipse.wst.validation.problemmarker"/>
49 <persistent value="true"/>
50 </extension>
nitindb0f7b262004-11-23 19:12:23 +000051
david_williamsad0e4cc2005-06-04 01:49:19 +000052 <extension
53 point="org.eclipse.core.filebuffers.documentCreation"
54 id="org.eclipse.jst.jsp.core.documentfactories"
55 name="%Structured_JSP_Document_Factory_Extension.name">
56 <factory
57 contentTypeId="org.eclipse.jst.jsp.core.jspsource"
58 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
59 </extension>
60 <extension
61 point="org.eclipse.core.filebuffers.documentSetup"
62 id="org.eclipse.jst.jsp.core.documentsetup"
david_williamsbd596282005-06-07 22:10:42 +000063 name="%Structured_JSP_Document_Setup_participant.name">
david_williamsad0e4cc2005-06-04 01:49:19 +000064 <participant
65 contentTypeId="org.eclipse.jst.jsp.core.jspsource"
66 class="org.eclipse.jst.jsp.core.internal.contentmodel.TaglibController" />
67 </extension>
68 <extension point="org.eclipse.team.core.fileTypes">
69 <fileTypes
70 type="text"
71 extension="jsp">
72 </fileTypes>
73 <fileTypes
74 type="text"
75 extension="jspf" />
76 <fileTypes
77 type="text"
78 extension="jspx" />
79 <fileTypes
80 type="text"
81 extension="jsf">
82 </fileTypes>
83 <fileTypes
84 type="text"
85 extension="jsv">
86 </fileTypes>
87 <fileTypes
88 type="text"
89 extension="jtpl">
90 </fileTypes>
91 <fileTypes
92 type="text"
93 extension="tld" />
94 <fileTypes
95 type="text"
96 extension="tag" />
97 <fileTypes
98 type="text"
99 extension="tagx" />
100 <fileTypes
101 type="text"
102 extension="tagf" />
103 </extension>
104 <extension point="org.eclipse.wst.sse.core.formatProcessors">
105 <processor
106 class="org.eclipse.wst.html.core.internal.format.HTMLFormatProcessorImpl"
107 contentTypeId="org.eclipse.jst.jsp.core.jspsource">
108 </processor>
109 </extension>
110
111 <extension point="org.eclipse.core.runtime.contentTypes">
nitinda84e6bf2006-03-19 09:04:25 +0000112 <!-- create content type for JSP files -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000113 <content-type
114 file-extensions="jsp,jsv,jtpl,jspx"
115 priority="high"
116 name="%JSP_Content_Type_Extension_Element.name"
117 id="jspsource"
118 base-type="org.eclipse.core.runtime.text"
119 default-charset="ISO-8859-1">
120 <describer
121 class="org.eclipse.jst.jsp.core.internal.contenttype.ContentDescriberForJSP" />
122 </content-type>
nitinda84e6bf2006-03-19 09:04:25 +0000123 <!-- create content type for JSP fragment files -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000124 <content-type
125 file-extensions="jspf,jsf"
126 priority="high"
nitind5764b852005-06-07 21:10:18 +0000127 name="%JSP_Fragment_Content_Type_Extension_Element.name"
david_williamsad0e4cc2005-06-04 01:49:19 +0000128 id="jspfragmentsource"
129 base-type="org.eclipse.jst.jsp.core.jspsource"
130 default-charset="ISO-8859-1">
131 <describer
132 class="org.eclipse.jst.jsp.core.internal.contenttype.ContentDescriberForJSP" />
133 </content-type>
nitinda84e6bf2006-03-19 09:04:25 +0000134 <!-- create content type for JSP 2.0 Tag file types -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000135 <content-type
136 file-extensions="tag,tagx,tagf"
137 priority="high"
nitind5764b852005-06-07 21:10:18 +0000138 name="%JSP_Tag_Content_Type_Extension_Element.name"
david_williamsad0e4cc2005-06-04 01:49:19 +0000139 id="tagsource"
140 base-type="org.eclipse.jst.jsp.core.jspsource"
nitinda84e6bf2006-03-19 09:04:25 +0000141 default-charset="UTF-8"/>
142 <!-- create content type for .tld files -->
143 <content-type
144 file-extensions="tld"
145 priority="high"
146 name="%JSP_TLD_Content_Type_Extension_Element.name"
147 id="tldsource"
148 base-type="org.eclipse.core.runtime.xml"
149 default-charset="UTF-8"/>
nitind039cee92007-05-01 21:58:41 +0000150
151 <!--======================================================================================-->
152 <!-- minimal content-type css jsp support -->
153 <!--======================================================================================-->
154 <content-type
155 file-extensions="jsp"
156 priority="high"
157 name="%contentTypeCSSJSPName"
158 id="cssjspsource"
159 base-type="org.eclipse.jst.jsp.core.jspsource">
160 <describer
161 class="org.eclipse.jst.jsp.css.core.internal.contenttype.ContentDescriberForJSPedCSS" />
162 </content-type>
163 <content-type
164 file-extensions="jspf"
165 priority="high"
166 name="%contentTypeCSSJSPFName"
167 id="cssjspfragmentsource"
168 base-type="org.eclipse.jst.jsp.core.cssjspsource">
169 <describer
170 class="org.eclipse.jst.jsp.css.core.internal.contenttype.ContentDescriberForJSPedCSS" />
171 </content-type>
david_williamsad0e4cc2005-06-04 01:49:19 +0000172 </extension>
173
david_williamsd3484c72005-05-25 21:11:11 +0000174 <!-- initialize jsp core preferences -->
175 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +0000176 <initializer
177 class="org.eclipse.jst.jsp.core.internal.preferences.JSPCorePreferenceInitializer" />
david_williamsd3484c72005-05-25 21:11:11 +0000178 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000179
paverycca4b542006-02-15 13:36:25 +0000180 <!--======================================================================================-->
paverycca4b542006-02-15 13:36:25 +0000181 <!-- JSP batch validation -->
pavery1c55ddc2005-06-03 20:03:15 +0000182 <!--======================================================================================-->
nitind8c3d3682008-04-21 21:12:09 +0000183 <extension id="JSPBatchValidator" name="%JSP_Syntax_Validator.name" point="org.eclipse.wst.validation.validatorV2">
184 <validator
185 build="true"
186 class="org.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator"
187 manual="true"
188 version="1"
189 markerId="org.eclipse.jst.jsp.core.validationMarker">
190 <include>
191 <rules>
192 <projectNature id="org.eclipse.jdt.core.javanature"/>
193 </rules>
194 </include>
195 <include>
196 <rules>
197 <contentType id="org.eclipse.jst.jsp.core.jspsource"/>
198 <!-- needed until bug 181443 is implemented -->
199 <contentType id="org.eclipse.jst.jsp.core.jspfragmentsource"/>
200 <contentType id="org.eclipse.jst.jsp.core.tagsource"/>
201 <fileext
202 caseSensitive="false"
203 ext="jsp">
204 </fileext>
205 <fileext
206 caseSensitive="false"
207 ext="jspf">
208 </fileext>
209 <fileext
210 caseSensitive="false"
211 ext="jsf">
212 </fileext>
213 <fileext
214 caseSensitive="false"
215 ext="tag">
216 </fileext>
217 <fileext
218 caseSensitive="false"
219 ext="tagf">
220 </fileext>
221 <fileext
222 caseSensitive="false"
223 ext="jsv">
224 </fileext>
225 <fileext
226 caseSensitive="false"
227 ext="jtpl">
228 </fileext>
229 </rules>
230 </include>
231 <group id="org.eclipse.wst.sse.core.structuredModelGroup"/>
nitind50477b42008-01-17 03:29:48 +0000232 </validator>
nitind8c3d3682008-04-21 21:12:09 +0000233 </extension>
paverycca4b542006-02-15 13:36:25 +0000234
nitind8c3d3682008-04-21 21:12:09 +0000235 <extension id="JSPContentValidator" name="%JSP_Content_Validator.name" point="org.eclipse.wst.validation.validatorV2">
236 <validator
237 build="true"
238 class="org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator"
239 manual="true"
240 version="1"
241 markerId="org.eclipse.jst.jsp.core.validationMarker">
242 <include>
243 <rules>
244 <contentType id="org.eclipse.jst.jsp.core.jspsource"/>
245 <!-- needed until bug 181443 is implemented -->
246 <contentType id="org.eclipse.jst.jsp.core.jspfragmentsource"/>
247 <fileext
248 caseSensitive="false"
249 ext="jsp">
250 </fileext>
251 <fileext
252 caseSensitive="false"
253 ext="jspf">
254 </fileext>
255 <fileext
256 caseSensitive="false"
257 ext="jsf">
258 </fileext>
259 <fileext
260 caseSensitive="false"
261 ext="tag">
262 </fileext>
263 <fileext
264 caseSensitive="false"
265 ext="tagf">
266 </fileext>
267 <fileext
268 caseSensitive="false"
269 ext="jsv">
270 </fileext>
271 <fileext
272 caseSensitive="false"
273 ext="jtpl">
274 </fileext>
275 </rules>
276 </include>
277 <group id="org.eclipse.wst.sse.core.structuredModelGroup"/>
278 </validator>
279 </extension>
nitind50477b42008-01-17 03:29:48 +0000280
pavery655805c2006-01-31 04:06:39 +0000281 <extension
282 point="org.eclipse.jst.jsp.core.elTranslator">
283 <elTranslator
284 class="org.eclipse.jst.jsp.core.internal.java.jspel.JSPELTranslator"
285 name="Default JSP 2.0 EL Translator"
286 id="org.eclipse.jst.jsp.defaultJSP20"/>
287 </extension>
david_williamse6088952006-04-17 01:10:40 +0000288
david_williamse6088952006-04-17 01:10:40 +0000289 <extension point="org.eclipse.wst.sse.core.modelHandler">
290 <modelHandler
291 class="org.eclipse.jst.jsp.css.core.internal.modelhandler.ModelHandlerForJSPedCSS"
292 associatedContentTypeId="org.eclipse.jst.jsp.core.cssjspsource"
293 id="org.eclipse.jst.jsp.css.core.modelhandler">
294 </modelHandler>
295 <modelHandler
296 class="org.eclipse.jst.jsp.css.core.internal.modelhandler.ModelHandlerForJSPedCSS"
297 associatedContentTypeId="org.eclipse.jst.jsp.core.cssjspfragmentsource"
298 id="org.eclipse.jst.jsp.css.core.modelhandler">
299 </modelHandler>
300 </extension>
301
302 <extension
303 point="org.eclipse.core.filebuffers.documentCreation"
304 id="org.eclipse.jst.jsp.css.core.internal.documentfactories"
305 name="%contentTypeCSSDocumentFactoryName">
306 <factory
307 contentTypeId="org.eclipse.jst.jsp.core.cssjspsource"
308 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
309 </extension>
310 <extension
311 point="org.eclipse.core.filebuffers.documentSetup"
312 id="org.eclipse.jst.jsp.css.core.documentsetup"
313 name="%Structured_JSP_Document_Setup_participant.name">
314 <participant
315 contentTypeId="org.eclipse.jst.jsp.core.cssjspsource"
316 class="org.eclipse.jst.jsp.css.core.internal.contentmodel.JSPedCSSTaglibController" />
317 </extension>
318 <!--
319 <extension
320 point="org.eclipse.core.filebuffers.documentCreation"
321 id="org.eclipse.jst.jsp.css.core.internal.documentfactories.fragment"
322 name="%contentTypeCSSDocumentFactoryName">
323 <factory
324 contentTypeId="org.eclipse.jst.jsp.core.cssjspfragmentsource"
325 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
326 </extension>
327 -->
nitindb0f7b262004-11-23 19:12:23 +0000328</plugin>