blob: f8fc36ea24ff7a29eb5eaac725a51027975eb32d [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"
34 class="org.eclipse.jst.jsp.core.internal.tasks.JSPFileTaskScanner"
35 contentTypeIds="org.eclipse.jst.jsp.core.jspsource" />
36 </extension>
nitindb0f7b262004-11-23 19:12:23 +000037
david_williamsad0e4cc2005-06-04 01:49:19 +000038 <extension
39 point="org.eclipse.core.filebuffers.documentCreation"
40 id="org.eclipse.jst.jsp.core.documentfactories"
41 name="%Structured_JSP_Document_Factory_Extension.name">
42 <factory
43 contentTypeId="org.eclipse.jst.jsp.core.jspsource"
44 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
45 </extension>
46 <extension
47 point="org.eclipse.core.filebuffers.documentSetup"
48 id="org.eclipse.jst.jsp.core.documentsetup"
david_williamsbd596282005-06-07 22:10:42 +000049 name="%Structured_JSP_Document_Setup_participant.name">
david_williamsad0e4cc2005-06-04 01:49:19 +000050 <participant
51 contentTypeId="org.eclipse.jst.jsp.core.jspsource"
52 class="org.eclipse.jst.jsp.core.internal.contentmodel.TaglibController" />
53 </extension>
54 <extension point="org.eclipse.team.core.fileTypes">
55 <fileTypes
56 type="text"
57 extension="jsp">
58 </fileTypes>
59 <fileTypes
60 type="text"
61 extension="jspf" />
62 <fileTypes
63 type="text"
64 extension="jspx" />
65 <fileTypes
66 type="text"
67 extension="jsf">
68 </fileTypes>
69 <fileTypes
70 type="text"
71 extension="jsv">
72 </fileTypes>
73 <fileTypes
74 type="text"
75 extension="jtpl">
76 </fileTypes>
77 <fileTypes
78 type="text"
79 extension="tld" />
80 <fileTypes
81 type="text"
82 extension="tag" />
83 <fileTypes
84 type="text"
85 extension="tagx" />
86 <fileTypes
87 type="text"
88 extension="tagf" />
89 </extension>
90 <extension point="org.eclipse.wst.sse.core.formatProcessors">
91 <processor
92 class="org.eclipse.wst.html.core.internal.format.HTMLFormatProcessorImpl"
93 contentTypeId="org.eclipse.jst.jsp.core.jspsource">
94 </processor>
95 </extension>
96
97 <extension point="org.eclipse.core.runtime.contentTypes">
nitinda84e6bf2006-03-19 09:04:25 +000098 <!-- create content type for JSP files -->
david_williamsad0e4cc2005-06-04 01:49:19 +000099 <content-type
100 file-extensions="jsp,jsv,jtpl,jspx"
101 priority="high"
102 name="%JSP_Content_Type_Extension_Element.name"
103 id="jspsource"
104 base-type="org.eclipse.core.runtime.text"
105 default-charset="ISO-8859-1">
106 <describer
107 class="org.eclipse.jst.jsp.core.internal.contenttype.ContentDescriberForJSP" />
108 </content-type>
nitinda84e6bf2006-03-19 09:04:25 +0000109 <!-- create content type for JSP fragment files -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000110 <content-type
111 file-extensions="jspf,jsf"
112 priority="high"
nitind5764b852005-06-07 21:10:18 +0000113 name="%JSP_Fragment_Content_Type_Extension_Element.name"
david_williamsad0e4cc2005-06-04 01:49:19 +0000114 id="jspfragmentsource"
115 base-type="org.eclipse.jst.jsp.core.jspsource"
116 default-charset="ISO-8859-1">
117 <describer
118 class="org.eclipse.jst.jsp.core.internal.contenttype.ContentDescriberForJSP" />
119 </content-type>
nitinda84e6bf2006-03-19 09:04:25 +0000120 <!-- create content type for JSP 2.0 Tag file types -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000121 <content-type
122 file-extensions="tag,tagx,tagf"
123 priority="high"
nitind5764b852005-06-07 21:10:18 +0000124 name="%JSP_Tag_Content_Type_Extension_Element.name"
david_williamsad0e4cc2005-06-04 01:49:19 +0000125 id="tagsource"
126 base-type="org.eclipse.jst.jsp.core.jspsource"
nitinda84e6bf2006-03-19 09:04:25 +0000127 default-charset="UTF-8"/>
128 <!-- create content type for .tld files -->
129 <content-type
130 file-extensions="tld"
131 priority="high"
132 name="%JSP_TLD_Content_Type_Extension_Element.name"
133 id="tldsource"
134 base-type="org.eclipse.core.runtime.xml"
135 default-charset="UTF-8"/>
nitind039cee92007-05-01 21:58:41 +0000136
137 <!--======================================================================================-->
138 <!-- minimal content-type css jsp support -->
139 <!--======================================================================================-->
140 <content-type
141 file-extensions="jsp"
142 priority="high"
143 name="%contentTypeCSSJSPName"
144 id="cssjspsource"
145 base-type="org.eclipse.jst.jsp.core.jspsource">
146 <describer
147 class="org.eclipse.jst.jsp.css.core.internal.contenttype.ContentDescriberForJSPedCSS" />
148 </content-type>
149 <content-type
150 file-extensions="jspf"
151 priority="high"
152 name="%contentTypeCSSJSPFName"
153 id="cssjspfragmentsource"
154 base-type="org.eclipse.jst.jsp.core.cssjspsource">
155 <describer
156 class="org.eclipse.jst.jsp.css.core.internal.contenttype.ContentDescriberForJSPedCSS" />
157 </content-type>
david_williamsad0e4cc2005-06-04 01:49:19 +0000158 </extension>
159
david_williamsd3484c72005-05-25 21:11:11 +0000160 <!-- initialize jsp core preferences -->
161 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +0000162 <initializer
163 class="org.eclipse.jst.jsp.core.internal.preferences.JSPCorePreferenceInitializer" />
david_williamsd3484c72005-05-25 21:11:11 +0000164 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000165
paverycca4b542006-02-15 13:36:25 +0000166 <!--======================================================================================-->
paverycca4b542006-02-15 13:36:25 +0000167 <!-- JSP batch validation -->
pavery1c55ddc2005-06-03 20:03:15 +0000168 <!--======================================================================================-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000169 <extension
nitind00acbe52006-11-02 00:57:47 +0000170 id="JSPBatchValidator"
pavery1c55ddc2005-06-03 20:03:15 +0000171 name="%JSP_Syntax_Validator.name"
172 point="org.eclipse.wst.validation.validator">
david_williamsad0e4cc2005-06-04 01:49:19 +0000173 <validator>
nitind05c457f2005-07-12 19:20:02 +0000174 <projectNature id="org.eclipse.jdt.core.javanature" />
david_williamsad0e4cc2005-06-04 01:49:19 +0000175 <filter
176 objectClass="org.eclipse.core.resources.IFile"
177 nameFilter="*.jsp">
178 </filter>
179 <filter
180 objectClass="org.eclipse.core.resources.IFile"
181 nameFilter="*.jspf">
182 </filter>
183 <filter
184 objectClass="org.eclipse.core.resources.IFile"
185 nameFilter="*.jsf">
186 </filter>
187 <filter
188 objectClass="org.eclipse.core.resources.IFile"
189 nameFilter="*.jsv">
190 </filter>
191 <filter
192 objectClass="org.eclipse.core.resources.IFile"
193 nameFilter="*.jtpl">
194 </filter>
nitind039cee92007-05-01 21:58:41 +0000195 <contentTypeBinding contentTypeId="org.eclipse.jst.jsp.core.jspsource"/>
196 <!-- needed until bug 181443 is implemented -->
197 <contentTypeBinding contentTypeId="org.eclipse.jst.jsp.core.jspfragmentsource"/>
198 <contentTypeBinding contentTypeId="org.eclipse.jst.jsp.core.tagsource"/>
nitind039cee92007-05-01 21:58:41 +0000199 <helper class="org.eclipse.wst.validation.internal.operations.WorkbenchContext"/>
paverycca4b542006-02-15 13:36:25 +0000200 <run
201 enabled="true"
nitind039cee92007-05-01 21:58:41 +0000202 class="org.eclipse.jst.jsp.core.internal.validation.JSPBatchValidator"/>
paverycca4b542006-02-15 13:36:25 +0000203 </validator>
204 </extension>
205
amywu32bdd412007-02-14 08:12:56 +0000206 <extension
207 id="JSPContentValidator"
208 name="%JSP_Content_Validator.name"
209 point="org.eclipse.wst.validation.validator">
210 <validator>
211 <projectNature id="org.eclipse.jdt.core.javanature" />
212 <filter
213 objectClass="org.eclipse.core.resources.IFile"
214 nameFilter="*.jsp">
215 </filter>
216 <filter
217 objectClass="org.eclipse.core.resources.IFile"
218 nameFilter="*.jspf">
219 </filter>
220 <filter
221 objectClass="org.eclipse.core.resources.IFile"
222 nameFilter="*.jsf">
223 </filter>
224 <filter
225 objectClass="org.eclipse.core.resources.IFile"
226 nameFilter="*.jsv">
227 </filter>
228 <filter
229 objectClass="org.eclipse.core.resources.IFile"
230 nameFilter="*.jtpl">
231 </filter>
nitind039cee92007-05-01 21:58:41 +0000232 <contentTypeBinding contentTypeId="org.eclipse.jst.jsp.core.jspsource"/>
233 <!-- <contentTypeBinding contentTypeId="org.eclipse.jst.jsp.core.jspfragmentsource"/> -->
amywueaf1d5b2007-08-29 19:39:04 +0000234 <!-- <contentTypeBinding contentTypeId="org.eclipse.jst.jsp.core.tagsource"/> -->
nitind039cee92007-05-01 21:58:41 +0000235 <helper class="org.eclipse.wst.validation.internal.operations.WorkbenchContext"/>
236 <run
237 async="true"
238 fullBuild="true"
239 incremental="true"
240 enabled="true"
241 class="org.eclipse.jst.jsp.core.internal.validation.JSPContentValidator"/>
amywu32bdd412007-02-14 08:12:56 +0000242 </validator>
243 </extension>
244
pavery655805c2006-01-31 04:06:39 +0000245 <extension
246 point="org.eclipse.jst.jsp.core.elTranslator">
247 <elTranslator
248 class="org.eclipse.jst.jsp.core.internal.java.jspel.JSPELTranslator"
249 name="Default JSP 2.0 EL Translator"
250 id="org.eclipse.jst.jsp.defaultJSP20"/>
251 </extension>
david_williamse6088952006-04-17 01:10:40 +0000252
david_williamse6088952006-04-17 01:10:40 +0000253 <extension point="org.eclipse.wst.sse.core.modelHandler">
254 <modelHandler
255 class="org.eclipse.jst.jsp.css.core.internal.modelhandler.ModelHandlerForJSPedCSS"
256 associatedContentTypeId="org.eclipse.jst.jsp.core.cssjspsource"
257 id="org.eclipse.jst.jsp.css.core.modelhandler">
258 </modelHandler>
259 <modelHandler
260 class="org.eclipse.jst.jsp.css.core.internal.modelhandler.ModelHandlerForJSPedCSS"
261 associatedContentTypeId="org.eclipse.jst.jsp.core.cssjspfragmentsource"
262 id="org.eclipse.jst.jsp.css.core.modelhandler">
263 </modelHandler>
264 </extension>
265
266 <extension
267 point="org.eclipse.core.filebuffers.documentCreation"
268 id="org.eclipse.jst.jsp.css.core.internal.documentfactories"
269 name="%contentTypeCSSDocumentFactoryName">
270 <factory
271 contentTypeId="org.eclipse.jst.jsp.core.cssjspsource"
272 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
273 </extension>
274 <extension
275 point="org.eclipse.core.filebuffers.documentSetup"
276 id="org.eclipse.jst.jsp.css.core.documentsetup"
277 name="%Structured_JSP_Document_Setup_participant.name">
278 <participant
279 contentTypeId="org.eclipse.jst.jsp.core.cssjspsource"
280 class="org.eclipse.jst.jsp.css.core.internal.contentmodel.JSPedCSSTaglibController" />
281 </extension>
282 <!--
283 <extension
284 point="org.eclipse.core.filebuffers.documentCreation"
285 id="org.eclipse.jst.jsp.css.core.internal.documentfactories.fragment"
286 name="%contentTypeCSSDocumentFactoryName">
287 <factory
288 contentTypeId="org.eclipse.jst.jsp.core.cssjspfragmentsource"
289 class="org.eclipse.wst.sse.core.internal.filebuffers.BasicStructuredDocumentFactory" />
290 </extension>
291 -->
nitindb0f7b262004-11-23 19:12:23 +0000292</plugin>