blob: de65ad2bdea9785b953a6e078bfadbdd9f1afdfa [file] [log] [blame]
bchilds68f36fc2007-03-01 22:47:33 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<plugin>
4
bchildsb95206a2007-03-21 00:02:12 +00005 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
bchilds6b966c72007-06-07 23:11:29 +00006 <contentOutlineConfiguration
7 class="org.eclipse.wst.jsdt.web.ui.views.provisional.contentoutline.JsContentOutlineConfig"
8 target="org.eclipse.wst.html.core.htmlsource" />
bchildsb95206a2007-03-21 00:02:12 +00009 <provisionalConfiguration
10 type="contentassistprocessor"
11 class="org.eclipse.wst.jsdt.web.ui.internal.contentassist.JSDTContentAssistant"
12 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
13 <provisionalConfiguration
14 type="linestyleprovider"
15 class="org.eclipse.wst.jsdt.web.ui.internal.style.java.LineStyleProviderForJSDT"
16 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
17 <provisionalConfiguration
18 type="texthover"
19 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor"
20 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
21 <provisionalConfiguration
22 type="informationpresenter"
23 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTInformationProvider"
24 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
25 <provisionalConfiguration
26 type="characterpairmatcher"
27 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
28 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
29 <provisionalConfiguration
30 type="autoeditstrategy"
31 class="org.eclipse.wst.jsdt.web.ui.internal.autoedit.AutoEditStrategyForJs"
32 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
33 <provisionalConfiguration
34 type="contentformater"
35 class="org.eclipse.wst.jsdt.web.ui.internal.format.FormattingStrategyJSPJava"
36 target="org.eclipse.wst.html.SCRIPT" />
bchilds9924d9f2007-05-02 00:26:07 +000037 <provisionalConfiguration
38 type="hyperlinkdetector"
39 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSPJavaHyperlinkDetector"
40 target="org.eclipse.wst.html.SCRIPT" />
bchildsb95206a2007-03-21 00:02:12 +000041 </extension>
bchildsd5b9b822007-05-31 22:01:33 +000042 <extension
43 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
44 <target
45 id="org.eclipse.wst.html.SCRIPT"
46 name="JavaScirpt Source">
47 </target>
48 </extension>
49
50 <extension
51 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
52 <target
53 id="org.eclipse.wst.html.SCRIPT.EVENT"
54 name="JavaScirpt Event Source">
55 </target>
56 </extension>
57
58 <extension
59 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
bchildsd5b9b822007-05-31 22:01:33 +000060 <hyperlinkDetector
61 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSPJavaHyperlinkDetector"
62 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector"
63 name="Java Element HyperLink Detector"
64 targetId="org.eclipse.wst.html.SCRIPT">
65 </hyperlinkDetector>
66 <hyperlinkDetector
67 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSPJavaHyperlinkDetector"
68 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector"
69 name="Java Element HyperLink Detector"
70 targetId="org.eclipse.wst.html.SCRIPT.EVENT">
71 </hyperlinkDetector>
72 </extension>
bchilds6b966c72007-06-07 23:11:29 +000073
74
75 <extension
76 point="org.eclipse.ui.popupMenus">
bchildsfe706322007-06-11 15:09:02 +000077 <!-- content outline contributions for Open Type and Open Hierarchy menu -->
bchilds6b966c72007-06-07 23:11:29 +000078 <objectContribution
79 objectClass="org.eclipse.wst.jsdt.web.ui.actions.IJavaWebNode"
80 id="org.eclipse.wst.jsdt.web.ui.JavaActions">
bchildsfe706322007-06-11 15:09:02 +000081 <menu
82 id="org.eclipse.wst.jsdt.web.open"
83 label="Open"
84 path="additions">
85 <separator name="open"/>
86 </menu>
bchilds6b966c72007-06-07 23:11:29 +000087 <action
bchildsfe706322007-06-11 15:09:02 +000088 label="Type Hierarchy"
bchilds6b966c72007-06-07 23:11:29 +000089 tooltip=""
bchildsfe706322007-06-11 15:09:02 +000090 menubarPath="org.eclipse.wst.jsdt.web.open/open"
91
bchilds6b966c72007-06-07 23:11:29 +000092 class="org.eclipse.wst.jsdt.web.ui.actions.OpenTypeHierarchy"
93 enablesFor="1"
94 id="org.eclipse.wst.jsdt.ui.actions.OpenTypeHierarchyAction">
95 </action>
96 <action
bchildsfe706322007-06-11 15:09:02 +000097 label="Call Hierarchy"
bchilds6b966c72007-06-07 23:11:29 +000098 tooltip="Open Call Hierarchy"
bchildsfe706322007-06-11 15:09:02 +000099 menubarPath="org.eclipse.wst.jsdt.web.open/open"
bchilds6b966c72007-06-07 23:11:29 +0000100 class="org.eclipse.wst.jsdt.web.ui.actions.OpenCallHierarchyAction"
101 enablesFor="1"
102 id="org.eclipse.wst.jsdt.internal.ui.callhierarchy.OpenCallHierarchyAction">
103 </action>
bchildsfe706322007-06-11 15:09:02 +0000104 <!-- content outline contributions for Find occurances menu's -->
105 <menu
106 id="org.eclipse.wst.jsdt.web.references"
107 label="References"
108 path="additions">
109 <separator name="references"/>
110 </menu>
111 <action
112 label="Workspace"
113 tooltip=""
114 menubarPath="org.eclipse.wst.jsdt.web.references/references"
115 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
116 enablesFor="1"
117 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesAction">
118 </action>
119 <action
120 label="Project"
121 tooltip="Project"
122 menubarPath="org.eclipse.wst.jsdt.web.references/references"
123 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
124 enablesFor="1"
125 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInProjectAction">
126 </action>
127 <action
128 label="Hierarchy"
129 tooltip="Hierarchy"
130 menubarPath="org.eclipse.wst.jsdt.web.references/references"
131 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
132 enablesFor="1"
133 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInHierarchyAction">
134 </action>
135 <action
136 label="Working Set"
137 tooltip="Working Set"
138 menubarPath="org.eclipse.wst.jsdt.web.references/references"
139 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
140 enablesFor="1"
141 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInWorkingSetAction">
142 </action>
143 </objectContribution>
bchilds6b966c72007-06-07 23:11:29 +0000144
145 </extension>
146
147 <!-- Additional adapters for java elements.. this one is so the element will
148 be displayed properly in ui
149 -->
150 <!--
151 <extension point="org.eclipse.core.runtime.adapters">
152 <factory
153 class="org.eclipse.wst.jsdt.web.ui.JsWebElementAdapterFactory"
154 adaptableType="org.eclipse.wst.jsdt.core.IJavaElement">
155 <adapter type="org.eclipse.ui.views.properties.IPropertySourceProvider"/>
156 </factory>
157 </extension>
158 -->
159
bchildsb95206a2007-03-21 00:02:12 +0000160<!--
bchilds68f36fc2007-03-01 22:47:33 +0000161 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
162 <sourceViewerConfiguration
163 class="org.eclipse.wst.jsdt.web.ui.StructuredTextViewerConfigurationJSP"
164 target="org.eclipse.wst.html.core.htmlsource" />
bchilds68f36fc2007-03-01 22:47:33 +0000165 <provisionalConfiguration
166 type="characterpairmatcher"
bchilds8f94a9d2007-03-13 22:24:43 +0000167 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
bchilds68f36fc2007-03-01 22:47:33 +0000168 target="org.eclipse.wst.html.core.htmlsource" />
bchilds8f94a9d2007-03-13 22:24:43 +0000169 <provisionalConfiguration
170 type="sourceeditingtexttools"
171 class="org.eclipse.wst.jsdt.web.ui.internal.editor.JsSourceEditingTextTools"
172 target="org.eclipse.wst.html.core.htmlsource" />
bchilds68f36fc2007-03-01 22:47:33 +0000173 <provisionalConfiguration
174 type="structuredtextfoldingprovider"
175 class="org.eclipse.wst.jsdt.web.ui.internal.projection.StructuredTextFoldingProviderJSP"
176 target="org.eclipse.wst.html.core.htmlsource" />
177 <provisionalDefinition
178 type="preferencepages"
179 value="org.eclipse.wst.sse.ui.preferences.jsp, org.eclipse.wst.sse.ui.preferences.jsp.source, org.eclipse.wst.sse.ui.preferences.jsp.templates, org.eclipse.wst.sse.ui.preferences.jsp.styles"
180 target="org.eclipse.wst.html.core.htmlsource" />
181 <provisionalDefinition
182 type="showintarget"
183 value="org.eclipse.wst.jsdt.ui.PackageExplorer"
184 target="org.eclipse.wst.html.core.htmlsource" />
185 </extension>
bchildsb95206a2007-03-21 00:02:12 +0000186 -->
bchilds8f94a9d2007-03-13 22:24:43 +0000187 <!-- ====================================================================================== -->
bchilds68f36fc2007-03-01 22:47:33 +0000188 <!-- source validation for JSP -->
189 <!--======================================================================================-->
190 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
191 <validator
192 scope="total"
bchilds8f94a9d2007-03-13 22:24:43 +0000193 class="org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator"
bchilds68f36fc2007-03-01 22:47:33 +0000194 id="org.eclipse.wst.jsdt.web.jspsourcevalidator">
bchilds8f94a9d2007-03-13 22:24:43 +0000195 <contentTypeIdentifier id="org.eclipse.wst.html.core.htmlsource">
bchilds9924d9f2007-05-02 00:26:07 +0000196 <partitionType id="org.eclipse.wst.html.SCRIPT"></partitionType>
197 <partitionType id="org.eclipse.wst.html.SCRIPT.EVENT"></partitionType>
198 </contentTypeIdentifier>
199 </validator>
200
201
202 </extension>
203 <!--
204 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
205 <validator
206 scope="partial"
207 class="org.eclipse.wst.html.internal.validation.HTMLPartValidator"
208 id="org.eclipse.wst.jsdt.web.HTMLPartValidator">
209 <contentTypeIdentifier id="org.eclipse.wst.html.core.htmlsource">
210 <partitionType id="org.eclipse.wst.html.HTML_DECLARATION"></partitionType>
211 <partitionType id="org.eclipse.wst.html.HTML_COMMENT"></partitionType>
212 <partitionType id="org.eclipse.wst.html.HTML_DEFAULT"></partitionType>
213 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"></partitionType>
bchilds68f36fc2007-03-01 22:47:33 +0000214 </contentTypeIdentifier>
215 </validator>
216 </extension>
bchilds9924d9f2007-05-02 00:26:07 +0000217 -->
bchilds68f36fc2007-03-01 22:47:33 +0000218 <!--======================================================================================-->
219 <!-- JSP UI Adapter factories -->
220 <!--======================================================================================-->
221 <extension
222 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
223 <adapterFactoryDescription
bchilds8f94a9d2007-03-13 22:24:43 +0000224 class="org.eclipse.wst.jsdt.web.ui.internal.registry.AdapterFactoryProviderForJSDT">
bchilds68f36fc2007-03-01 22:47:33 +0000225 <contentType id="org.eclipse.wst.html.core.htmlsource" />
226 </adapterFactoryDescription>
227 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000228<!--======================================================================================-->
229<!-- JSP PREFERENCE PAGES -->
230<!--======================================================================================-->
231 <!-- Use the JSDTs prefrence pages -->
232 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000233 <extension point="org.eclipse.ui.preferencePages">
234
bchilds8f94a9d2007-03-13 22:24:43 +0000235
bchilds68f36fc2007-03-01 22:47:33 +0000236 <page
237 name="%JSP_Files.name"
238 category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
239 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPFilesPreferencePage"
240 id="org.eclipse.wst.sse.ui.preferences.jsp">
241 <keywordReference id="org.eclipse.wst.jsp.ui.files"/>
242 </page>
243 <page
244 name="%JSP_Source.name"
245 category="org.eclipse.wst.sse.ui.preferences.jsp"
246 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPSourcePreferencePage"
247 id="org.eclipse.wst.sse.ui.preferences.jsp.source">
248 </page>
249 <page
250 name="%JSP_Templates.name"
251 category="org.eclipse.wst.sse.ui.preferences.jsp"
252 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPTemplatePreferencePage"
253 id="org.eclipse.wst.sse.ui.preferences.jsp.templates">
254 <keywordReference id="org.eclipse.wst.jsp.ui.templates"/>
255 </page>
256 <page
257 name="%JSP_Styles.name"
258 category="org.eclipse.wst.sse.ui.preferences.jsp"
259 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPColorPage"
260 id="org.eclipse.wst.sse.ui.preferences.jsp.styles">
261 <keywordReference id="org.eclipse.wst.jsp.ui.styles"/>
262 </page>
263 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000264 -->
bchilds68f36fc2007-03-01 22:47:33 +0000265 <!-- Keywords for preference and properties pages -->
bchilds8f94a9d2007-03-13 22:24:43 +0000266 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000267 <extension point="org.eclipse.ui.keywords">
268 <keyword
269 label="%preferenceKeywords.files"
270 id="org.eclipse.wst.jsp.ui.files"/>
271 <keyword
272 label="%preferenceKeywords.templates"
273 id="org.eclipse.wst.jsp.ui.templates"/>
274 <keyword
275 label="%preferenceKeywords.styles"
276 id="org.eclipse.wst.jsp.ui.styles"/>
277 <keyword
278 label="%preferenceKeywords.fragments"
279 id="org.eclipse.wst.jsp.ui.fragments"/>
280 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000281 -->
bchilds68f36fc2007-03-01 22:47:33 +0000282
283
284
285 <!--======================================================================================-->
286 <!-- for breakpoint -->
287 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000288 <!-- removed for now -->
289 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000290 <extension point="org.eclipse.wst.sse.ui.breakpoint">
291 <breakpointContribution id="org.eclipse.wst.jsdt.web.ui.providers">
bchilds68f36fc2007-03-01 22:47:33 +0000292 <provider
bchilds46514c72007-03-06 01:30:32 +0000293 contentTypes="org.eclipse.wst.html.core.htmlsource"
bchilds68f36fc2007-03-01 22:47:33 +0000294 class="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*html,js,htm*"
295 id="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" />
296 </breakpointContribution>
297 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000298 -->
bchilds68f36fc2007-03-01 22:47:33 +0000299 <!--======================================================================================-->
300 <!-- Snippet View contributions -->
301 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000302 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000303 <extension
304 point="org.eclipse.wst.common.snippets.SnippetContributions">
305 <category
306 label="%JSP_Extension_Element.label"
307 smallicon="icons/snippets/tag-jsp.gif"
308 id="org.eclipse.wst.jsdt.web.ui.category0"
bchilds46514c72007-03-06 01:30:32 +0000309 contenttypes="org.eclipse.wst.html.core.htmlsource">
bchilds68f36fc2007-03-01 22:47:33 +0000310 <item
311 label="%jsp_hidden_comment"
312 smallicon="icons/snippets/tag-generic.gif"
313 id="org.eclipse.wst.jsdt.web.ui.jsp_hidden_comment">
314 <content>%jsp_hidden_comment_content</content>
315 </item>
316 <item
317 label="%jsp_scriptlet"
318 smallicon="icons/snippets/jspscr.gif"
319 id="org.eclipse.wst.jsdt.web.ui.jsp_scriptlet">
320 <content>%jsp_scr_content</content>
321 </item>
322 <item
323 label="%jsp_expression"
324 smallicon="icons/snippets/jspexp.gif"
325 id="org.eclipse.wst.jsdt.web.ui.jsp_expression">
326 <content>%jsp_expression_content</content>
327 </item>
328 <item
329 label="%jsp_declaration"
330 smallicon="icons/snippets/jspdecl.gif"
331 id="org.eclipse.wst.jsdt.web.ui.jsp_declaration">
332 <content>%jsp_declaration_content</content>
333 </item>
334 <item
335 label="%jsp_include_directive"
336 smallicon="icons/snippets/jspincl.gif"
337 id="org.eclipse.wst.jsdt.web.ui.jsp_include_directive">
338 <content>%jsp_include_directive_content</content>
339 </item>
340 <item
341 label="%jsp_page_directive"
342 id="org.eclipse.wst.jsdt.web.ui.jsp_page_directive">
343 <content>%jsp_page_directive_content</content>
344 </item>
345 <item
346 label="%jsp_taglib_directive"
347 smallicon="icons/snippets/jsptaglib.gif"
348 id="org.eclipse.wst.jsdt.web.ui.jsp_taglib_directive">
349 <content>%jsp_taglib_directive_content</content>
350 <variable
351 description="%jsp_taglib_directive_uri"
352 id="uri" />
353
354 <variable
355 default="mylib"
356 description="%jsp_taglib_directive_prefix"
357 id="prefix" />
358
359 </item>
360 </category>
361 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000362 -->
363
bchilds68f36fc2007-03-01 22:47:33 +0000364 <!-- Editor actionsets -->
bchilds8f94a9d2007-03-13 22:24:43 +0000365 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000366 <extension point="org.eclipse.ui.actionSetPartAssociations">
367 <actionSetPartAssociation
368 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
369 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
370 </actionSetPartAssociation>
371 <actionSetPartAssociation
372 targetID="org.eclipse.ui.NavigateActionSet">
373 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
374 </actionSetPartAssociation>
375 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000376 -->
bchilds68f36fc2007-03-01 22:47:33 +0000377
378
379
380
381 <!-- Keybindings for jsp source editor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000382
383 <extension point="org.eclipse.ui.bindings"> -->
bchilds68f36fc2007-03-01 22:47:33 +0000384 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
385 <!-- rename refactor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000386
bchilds68f36fc2007-03-01 22:47:33 +0000387 <key
388 sequence="M2+M3+R"
389 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
390 commandId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
391 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
392 </key>
bchilds8f94a9d2007-03-13 22:24:43 +0000393
bchilds68f36fc2007-03-01 22:47:33 +0000394 <!-- move refactor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000395
bchilds68f36fc2007-03-01 22:47:33 +0000396 <key
397 sequence="M2+M3+V"
398 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
399 commandId="org.eclipse.wst.jsdt.web.ui.refactor.move"
400 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
401 </key>
402 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000403
404
bchilds68f36fc2007-03-01 22:47:33 +0000405 <!--======================================================================================-->
406 <!-- Templates -->
407 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000408 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000409 <extension point="org.eclipse.ui.editors.templates">
410 <contextType
411 name="%All_JSP_context_type_Extension_Element.name"
412 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
413 id="jsp_all" />
414
415 <contextType
416 name="%JSP_New_context_type_Extension_Element.name"
417 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
418 id="jsp_new" />
419
420 <contextType
421 name="%JSP_Tag_context_type_Extension_Element.name"
422 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
423 id="jsp_tag" />
424
425 <contextType
426 name="%JSP_Attribute_context_type_Extension_Element.name"
427 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
428 id="jsp_attribute" />
429
430 <contextType
431 name="%JSP_Attribute_value_context_type_Extension_Element.name"
432 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
433 id="jsp_attribute_value" />
434
435 <include
436 file="templates/jspdefault-templates.xml"
437 translations="$nl$/templates/jspdefault-templates.properties" />
438
439 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000440 -->
bchilds68f36fc2007-03-01 22:47:33 +0000441 <!--======================================================================================-->
442 <!-- queryParticipant to participate in java seraches -->
443 <!--======================================================================================-->
bchildsd01b1ea2007-03-02 16:52:19 +0000444 <extension point="org.eclipse.wst.jsdt.ui.queryParticipants">
bchilds68f36fc2007-03-01 22:47:33 +0000445 <queryParticipant
446 name="%JSP_Query_Participant_Extension_Element.name"
bchildsd01b1ea2007-03-02 16:52:19 +0000447 nature="org.eclipse.wst.jsdt.core.jsNature"
bchilds68f36fc2007-03-01 22:47:33 +0000448 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.ui.JSPQueryParticipant"
449 id="org.eclipse.wst.jsdt.web.ui.java.search.ui.JSPQueryParticipant" />
450
451 </extension>
452 <!-- initialize xml ui preferences -->
bchilds8f94a9d2007-03-13 22:24:43 +0000453 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000454 <extension point="org.eclipse.core.runtime.preferences">
455 <initializer
456 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.JSPUIPreferenceInitializer" />
457 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000458 -->
459
bchilds68f36fc2007-03-01 22:47:33 +0000460 <!--======================================================================================-->
461 <!-- Document provider for ExternalFileEditorInput -->
462 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000463 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000464 <extension point="org.eclipse.ui.editors.documentProviders">
465 <provider
466 inputTypes="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.ExternalFileEditorInput"
467 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
468 id="org.eclipse.wst.jsdt.web.ui.internal.ExternalFileDocumentProvider" />
469
470 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000471 -->
bchilds68f36fc2007-03-01 22:47:33 +0000472 <!-- New JSP wizard -->
bchilds46514c72007-03-06 01:30:32 +0000473 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000474 <extension point="org.eclipse.ui.newWizards">
475 <wizard
476 id="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard"
477 name="%_UI_WIZARD_NAME"
478 class="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard"
479 category="org.eclipse.wst.web.ui"
480 icon="$nl$/icons/full/etool16/newjsp_wiz.gif">
481 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
482 <selection class="org.eclipse.core.resources.IResource" />
483 </wizard>
484 </extension>
bchilds46514c72007-03-06 01:30:32 +0000485 -->
bchilds68f36fc2007-03-01 22:47:33 +0000486 <!-- Add new JSP wizard to J2EE Project Navigator -->
bchilds46514c72007-03-06 01:30:32 +0000487 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000488 <extension
489 id="org.eclipse.wst.jsdt.web.commonWizard.newJSP"
490 point="org.eclipse.ui.navigator.navigatorContent">
491 <commonWizard
492 menuGroupId="org.eclipse.wst.web.ui"
493 type="new"
494 wizardId="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard">
495 <enablement>
496 <or>
497 <adapt type="org.eclipse.core.resources.IResource">
498 <test
499 property="org.eclipse.wst.common.project.facet.core.projectFacet"
500 value="jst.web"/>
501 </adapt>
502 </or>
503 </enablement>
504 </commonWizard>
505 </extension>
bchilds46514c72007-03-06 01:30:32 +0000506 -->
bchilds68f36fc2007-03-01 22:47:33 +0000507 <extension point="org.eclipse.ui.popupMenus">
508 <viewerContribution
509 targetID="org.eclipse.wst.jsdt.web.core.jspsource.source.RulerContext"
510 id="org.eclipse.ui.texteditor.ruler.context.actions">
511 <action
512 label="%AddTask.label"
513 helpContextId="org.eclipse.ui.AddTask_action_context"
514 class="org.eclipse.ui.texteditor.TaskRulerAction"
515 tooltip="%AddTask.tooltip"
516 menubarPath="additions"
517 id="org.eclipse.ui.texteditor.TaskRulerAction" />
518
519 <action
520 label="%AddBookmark.label"
521 helpContextId="org.eclipse.ui.bookmark_action_context"
522 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
523 tooltip="%AddBookmark.tooltip"
524 menubarPath="additions"
525 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
526
527 </viewerContribution>
528 </extension>
529
530 <extension point="org.eclipse.ui.editorActions">
531 <editorContribution
532 id="org.eclipse.wst.jsdt.web.core.jspsource.source.editorActions"
bchilds6b966c72007-06-07 23:11:29 +0000533 contributorClass="org.eclipse.wst.jsdt.internal.ui.javaeditor.CompilationUnitEditorActionContributor"
bchilds68f36fc2007-03-01 22:47:33 +0000534 targetID="org.eclipse.wst.html.core.htmlsource">
535 <action
536 id="CleanupDocument"
537 label="%CleanupDocument_label"
538 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
539 tooltip="%CleanupDocument_tooltip"
540 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
541 actionID="CleanupDocument">
542 </action>
543 <action
544 id="ToggleComment"
545 label="%ToggleComment_label"
546 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
547 tooltip="%ToggleComment_tooltip"
548 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
549 actionID="ToggleComment">
550 </action>
551 <action
552 id="AddBlockComment"
553 label="%AddBlockComment_label"
554 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
555 tooltip="%AddBlockComment_tooltip"
556 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
557 actionID="AddBlockComment">
558 </action>
559 <action
560 id="RemoveBlockComment"
561 label="%RemoveBlockComment_label"
562 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
563 tooltip="%RemoveBlockComment_tooltip"
564 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
565 actionID="RemoveBlockComment">
566 </action>
567 <action
568 id="RenameElement"
569 label="%RenameElement_label"
570 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
571 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPRenameElementActionDelegate"
572 actionID="RenameElement">
573 </action>
574 <action
575 id="MoveElement"
576 label="%MoveElement_label"
577 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.move"
578 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMoveElementActionDelegate"
579 actionID="MoveElement">
580 </action>
581 <action
582 id="FindOccurrences"
583 label="%FindOccurrences_label"
584 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
585 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.JSPFindOccurrencesActionDelegate"
586 actionID="FindOccurrences">
587 </action>
588 <action
589 id="StructureSelectEnclosing"
590 label="%StructureSelectEnclosing_label"
591 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
592 tooltip="%StructureSelectEnclosing_tooltip"
593 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
594 actionID="StructureSelectEnclosing">
595 </action>
596 <action
597 id="StructureSelectNext"
598 label="%StructureSelectNext_label"
599 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
600 tooltip="%StructureSelectNext_tooltip"
601 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
602 actionID="StructureSelectNext">
603 </action>
604 <action
605 id="StructureSelectPrevious"
606 label="%StructureSelectPrevious_label"
607 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
608 tooltip="%StructureSelectPrevious_tooltip"
609 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
610 actionID="StructureSelectPrevious">
611 </action>
612 <action
613 id="StructureSelectHistory"
614 label="%StructureSelectHistory_label"
615 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
616 tooltip="%StructureSelectHistory_tooltip"
617 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
618 actionID="StructureSelectHistory">
619 </action>
620 </editorContribution>
621 <editorContribution
622 targetID="org.eclipse.wst.html.core.htmlsource"
623 id="org.eclipse.wst.jsdt.web.core.jspsource.ruler.actions">
624 <action
625 label="%AddBookmark.label"
626 helpContextId="org.eclipse.ui.bookmark_action_context"
627 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
628 actionID="RulerDoubleClick"
629 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
630 <action
631 label="%SelectRuler.label"
632 class="org.eclipse.ui.texteditor.SelectRulerAction"
633 actionID="RulerClick"
634 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
635 </editorContribution>
636 </extension>
637 <!-- JSP Fragment Property Page -->
bchilds8f94a9d2007-03-13 22:24:43 +0000638 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000639 <extension point="org.eclipse.ui.propertyPages">
bchilds8f94a9d2007-03-13 22:24:43 +0000640
bchilds68f36fc2007-03-01 22:47:33 +0000641 <page
642 name="%JSPFragmentContentSettings.name"
643 class="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ui.ProjectJSPFContentSettingsPropertyPage"
644 id="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ProjectJSPFContentSettingsPropertyPage">
645 <enabledWhen>
646 <and>
647 <adapt type="org.eclipse.core.resources.IProject">
648 <or>
649 <test
650 forcePluginActivation="true"
651 property="org.eclipse.wst.common.project.facet.core.projectFacet"
652 value="jst.web" />
653 </or>
654 </adapt>
655 </and>
656 </enabledWhen>
657 <keywordReference id="org.eclipse.wst.jsp.ui.fragments"/>
658 </page>
659 <page
660 name="%JSPFragmentContentSettings.name"
661 class="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ui.JSPFContentSettingsPropertyPage"
662 id="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.JSPFContentSettingsPropertyPage">
663 <enabledWhen>
664 <and>
665 <adapt type="org.eclipse.core.resources.IFile">
666 <or>
667 <test
668 forcePluginActivation="true"
669 property="org.eclipse.core.resources.contentTypeId"
670 value="org.eclipse.wst.jsdt.web.core.jspfragmentsource" />
671 <test
672 forcePluginActivation="true"
673 property="org.eclipse.core.resources.contentTypeId"
674 value="org.eclipse.wst.jsdt.web.core.cssjspfragmentsource" />
675 </or>
676 </adapt>
677 </and>
678 </enabledWhen>
679 <keywordReference id="org.eclipse.wst.jsp.ui.fragments"/>
680 </page>
bchilds8f94a9d2007-03-13 22:24:43 +0000681 </extension>
682 -->
bchilds68f36fc2007-03-01 22:47:33 +0000683 <!-- jsp-for-css editor configurations -->
bchilds8f94a9d2007-03-13 22:24:43 +0000684 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000685 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
686 <contentOutlineConfiguration
687 class="org.eclipse.wst.css.ui.views.contentoutline.CSSContentOutlineConfiguration"
688 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
689 <sourceViewerConfiguration
690 class="org.eclipse.wst.css.ui.StructuredTextViewerConfigurationCSS"
691 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
692 <propertySheetConfiguration
693 class="org.eclipse.wst.jsdt.web.css.ui.internal.views.properties.JSPedCSSPropertySheetConfiguration"
694 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
695 <provisionalConfiguration
696 type="characterpairmatcher"
697 class="org.eclipse.wst.css.ui.internal.text.CSSDocumentRegionEdgeMatcher"
698 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
699 <provisionalConfiguration
700 type="structuredtextfoldingprovider"
701 class="org.eclipse.wst.css.ui.internal.projection.StructuredTextFoldingProviderCSS"
702 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
703 <provisionalDefinition
704 type="preferencepages"
705 value="org.eclipse.wst.sse.ui.preferences.css, org.eclipse.wst.sse.ui.preferences.css.source, org.eclipse.wst.css.ui.preferences.templates, org.eclipse.wst.sse.ui.preferences.css.styles"
706 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
707 </extension>
708 <extension
709 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
710 <adapterFactoryDescription
711 class="org.eclipse.wst.jsdt.web.css.ui.internal.registry.AdapterFactoryProviderJSPedCSS">
712 <contentType id="org.eclipse.wst.jsdt.web.core.cssjspsource" />
713 </adapterFactoryDescription>
714 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000715 -->
bchilds68f36fc2007-03-01 22:47:33 +0000716</plugin>