blob: 02669dcb5ee9b59425d7cc0011f29bdb9974b746 [file] [log] [blame]
bchilds68f36fc2007-03-01 22:47:33 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<plugin>
bchildsd332ebe2007-06-13 19:00:08 +00004
bchildsb95206a2007-03-21 00:02:12 +00005 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
bchildsd332ebe2007-06-13 19:00:08 +00006
bchildsaf2da582007-11-07 22:44:06 +00007 <!--
bchildsd332ebe2007-06-13 19:00:08 +00008 <sourceViewerConfiguration
9 class="org.eclipse.wst.jsdt.web.ui.StructuredTextViewerConfigurationJSDT"
10 target="org.eclipse.wst.html.core.htmlsource.source" />
11
bchildsaf2da582007-11-07 22:44:06 +000012 -->
bchilds1d322872007-06-25 15:28:17 +000013
bchilds6b966c72007-06-07 23:11:29 +000014 <contentOutlineConfiguration
15 class="org.eclipse.wst.jsdt.web.ui.views.provisional.contentoutline.JsContentOutlineConfig"
bchildsd332ebe2007-06-13 19:00:08 +000016 target="org.eclipse.wst.html.core.htmlsource.source" />
bchildsb95206a2007-03-21 00:02:12 +000017 <provisionalConfiguration
18 type="contentassistprocessor"
19 class="org.eclipse.wst.jsdt.web.ui.internal.contentassist.JSDTContentAssistant"
bchildsaf2da582007-11-07 22:44:06 +000020 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENTHANDLER" />
21
lbustelo6bfa7f72007-07-11 15:07:14 +000022
bchildsb95206a2007-03-21 00:02:12 +000023 <provisionalConfiguration
24 type="linestyleprovider"
25 class="org.eclipse.wst.jsdt.web.ui.internal.style.java.LineStyleProviderForJSDT"
bchildsaf2da582007-11-07 22:44:06 +000026 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENTHANDLER" />
27 <documentationTextHover
bchildsb95206a2007-03-21 00:02:12 +000028 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor"
bchildsaf2da582007-11-07 22:44:06 +000029 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENTHANDLER" />
bchildsb95206a2007-03-21 00:02:12 +000030 <provisionalConfiguration
31 type="characterpairmatcher"
32 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
bchildsaf2da582007-11-07 22:44:06 +000033 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENTHANDLER" />
bchildsb95206a2007-03-21 00:02:12 +000034 <provisionalConfiguration
35 type="autoeditstrategy"
36 class="org.eclipse.wst.jsdt.web.ui.internal.autoedit.AutoEditStrategyForJs"
bchildsaf2da582007-11-07 22:44:06 +000037 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENTHANDLER" />
bchildsb95206a2007-03-21 00:02:12 +000038 </extension>
bchildsaf2da582007-11-07 22:44:06 +000039
40 <extension
41 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
42 <hyperlinkDetector
43 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
44 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
45 name="%hyperlinkDetector.name.2"
46 targetId="org.eclipse.wst.html.core.htmlsource">
47 </hyperlinkDetector>
48
49 </extension>
50
51
52
bchilds5d4d56f2007-06-19 14:11:04 +000053 <extension point = "org.eclipse.wst.sse.ui.extendedEditorActions">
54 <editorContribution
55 targetID="com.ibm.sse.editor.StructuredTextEditor"
56 id="com.ibm.sse.editor.extendedActions2">
57 <action
58 popupmenuPath="group.add"
59 label="Preferences2"
60 class="com.ibm.sse.editor.preferences.ui.EditStructuredTextEditorPreferencesAction"
61 id="com.ibm.sse.editor.preferences.ui.EditStructuredTextEditorPreferencesAction2">
62 </action>
63 </editorContribution>
64
65
66 </extension>
bchildsd5b9b822007-05-31 22:01:33 +000067 <extension
68 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
69 <target
70 id="org.eclipse.wst.html.SCRIPT"
bchilds3e120982007-11-06 21:49:40 +000071 name="%target.name.0">
bchildsd5b9b822007-05-31 22:01:33 +000072 </target>
73 </extension>
74
75 <extension
76 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
77 <target
bchildsaf2da582007-11-07 22:44:06 +000078 id="org.eclipse.wst.html.SCRIPT.EVENTHANDLER"
bchilds3e120982007-11-06 21:49:40 +000079 name="%target.name.1">
bchildsd5b9b822007-05-31 22:01:33 +000080 </target>
81 </extension>
82
83 <extension
84 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
bchildsd5b9b822007-05-31 22:01:33 +000085 <hyperlinkDetector
bchildsa1181702007-06-14 21:47:04 +000086 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
bchildsd5b9b822007-05-31 22:01:33 +000087 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector"
bchilds3e120982007-11-06 21:49:40 +000088 name="%hyperlinkDetector.name.0"
bchildsd5b9b822007-05-31 22:01:33 +000089 targetId="org.eclipse.wst.html.SCRIPT">
90 </hyperlinkDetector>
91 <hyperlinkDetector
bchildsa1181702007-06-14 21:47:04 +000092 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
bchildsd5b9b822007-05-31 22:01:33 +000093 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector"
bchilds3e120982007-11-06 21:49:40 +000094 name="%hyperlinkDetector.name.1"
bchildsaf2da582007-11-07 22:44:06 +000095 targetId="org.eclipse.wst.html.SCRIPT.EVENTHANDLER">
bchildsd5b9b822007-05-31 22:01:33 +000096 </hyperlinkDetector>
97 </extension>
bchilds6b966c72007-06-07 23:11:29 +000098
99
100 <extension
101 point="org.eclipse.ui.popupMenus">
bchilds73b88932007-06-11 20:45:50 +0000102 <!-- content outline contributions for Open Type and Open Hierarchy menu. Menus show up in reverse order of decliration (google it). -->
bchilds6b966c72007-06-07 23:11:29 +0000103 <objectContribution
bchilds5d4d56f2007-06-19 14:11:04 +0000104 objectClass="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode"
bchilds6b966c72007-06-07 23:11:29 +0000105 id="org.eclipse.wst.jsdt.web.ui.JavaActions">
bchilds73b88932007-06-11 20:45:50 +0000106 <!-- Declerations Search Menu -->
bchildsfe706322007-06-11 15:09:02 +0000107 <menu
bchilds73b88932007-06-11 20:45:50 +0000108 id="org.eclipse.wst.jsdt.web.declerations"
bchilds3e120982007-11-06 21:49:40 +0000109 label="%menu.label.0"
bchilds73b88932007-06-11 20:45:50 +0000110 path="group.search">
111 <separator name="declerations"/>
bchildsfe706322007-06-11 15:09:02 +0000112 </menu>
113 <action
bchilds3e120982007-11-06 21:49:40 +0000114 label="%action.label.0"
115 tooltip="%action.tooltip.0"
bchilds73b88932007-06-11 20:45:50 +0000116 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
117 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesInWorkingSetAction"
118 enablesFor="1"
119 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInWorkingSetAction">
120 </action>
121 <action
bchilds3e120982007-11-06 21:49:40 +0000122 label="%action.label.1"
123 tooltip="%action.tooltip.1"
bchilds73b88932007-06-11 20:45:50 +0000124 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
bchildsfe706322007-06-11 15:09:02 +0000125 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
126 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000127 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInHierarchyAction">
128 </action>
bchildsfe706322007-06-11 15:09:02 +0000129 <action
bchilds3e120982007-11-06 21:49:40 +0000130 label="%action.label.2"
131 tooltip="%action.tooltip.2"
bchilds73b88932007-06-11 20:45:50 +0000132 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
bchildsfe706322007-06-11 15:09:02 +0000133 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
134 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000135 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInProjectAction">
bchildsfe706322007-06-11 15:09:02 +0000136 </action>
bchilds73b88932007-06-11 20:45:50 +0000137
138 <action
bchilds3e120982007-11-06 21:49:40 +0000139 label="%action.label.3"
140 tooltip="%action.tooltip.3"
bchilds73b88932007-06-11 20:45:50 +0000141 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
142 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
143 enablesFor="1"
144 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsAction">
145 </action>
146
147 <!-- Refrences Search menu -->
148 <menu
149 id="org.eclipse.wst.jsdt.web.references"
bchilds3e120982007-11-06 21:49:40 +0000150 label="%menu.label.1"
bchilds73b88932007-06-11 20:45:50 +0000151 path="group.search">
152 <separator name="references"/>
153 </menu>
154 <action
bchilds3e120982007-11-06 21:49:40 +0000155 label="%action.label.4"
156 tooltip="%action.tooltip.4"
bchilds73b88932007-06-11 20:45:50 +0000157 menubarPath="org.eclipse.wst.jsdt.web.references/references"
158 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesInWorkingSetAction"
159 enablesFor="1"
160 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInWorkingSetAction">
161 </action>
bchildsfe706322007-06-11 15:09:02 +0000162 <action
bchilds3e120982007-11-06 21:49:40 +0000163 label="%action.label.5"
164 tooltip="%action.tooltip.5"
bchildsfe706322007-06-11 15:09:02 +0000165 menubarPath="org.eclipse.wst.jsdt.web.references/references"
166 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
167 enablesFor="1"
168 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInHierarchyAction">
169 </action>
bchilds73b88932007-06-11 20:45:50 +0000170 <action
bchilds3e120982007-11-06 21:49:40 +0000171 label="%action.label.6"
172 tooltip="%action.tooltip.6"
bchildsfe706322007-06-11 15:09:02 +0000173 menubarPath="org.eclipse.wst.jsdt.web.references/references"
174 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
175 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000176 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInProjectAction">
177 </action>
178
179 <action
bchilds3e120982007-11-06 21:49:40 +0000180 label="%action.label.7"
181 tooltip="%action.tooltip.7"
bchilds73b88932007-06-11 20:45:50 +0000182 menubarPath="org.eclipse.wst.jsdt.web.references/references"
183 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
184 enablesFor="1"
185 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesAction">
186 </action>
bchilds7123e002007-06-12 22:02:54 +0000187 <!-- Source and Refactoring Menu's -->
188 <menu
189 id="org.eclipse.wst.jsdt.web.refactor"
bchilds3e120982007-11-06 21:49:40 +0000190 label="%menu.label.2"
bchilds7123e002007-06-12 22:02:54 +0000191 path="group.generate">
192 <separator name="refactor"/>
193 </menu>
194
195 <menu
196 id="org.eclipse.wst.jsdt.web.source"
bchilds3e120982007-11-06 21:49:40 +0000197 label="%menu.label.3"
bchilds7123e002007-06-12 22:02:54 +0000198 path="group.generate">
199 <separator name="source"/>
200 </menu>
201 <!-- Source Actions -->
202 <action
bchilds3e120982007-11-06 21:49:40 +0000203 label="%action.label.8"
204 tooltip="%action.tooltip.8"
bchilds7123e002007-06-12 22:02:54 +0000205 menubarPath="org.eclipse.wst.jsdt.web.source/source"
206 style="push"
bchildsd332ebe2007-06-13 19:00:08 +0000207 class="org.eclipse.wst.jsdt.web.ui.actions.AddJavaDocStubAction"
bchilds7123e002007-06-12 22:02:54 +0000208 enablesFor="*"
209 id="org.eclipse.wst.jsdt.web.ui.generate.element.comment">
210 </action>
211 <!-- Refactor Actions -->
212 <action
bchilds3e120982007-11-06 21:49:40 +0000213 label="%action.label.9"
214 tooltip="%action.tooltip.9"
bchilds7123e002007-06-12 22:02:54 +0000215 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
216 style="push"
217 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
218 enablesFor="*"
219 id="org.eclipse.wst.jsdt.web.ui.change.function.signature">
220 </action>
221 <action
bchilds3e120982007-11-06 21:49:40 +0000222 label="%action.label.10"
223 tooltip="%action.tooltip.10"
bchilds7123e002007-06-12 22:02:54 +0000224 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
225 style="push"
226 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
227 enablesFor="*"
228 id="org.eclipse.wst.jsdt.web.ui.Move">
229 </action>
230 <action
bchilds3e120982007-11-06 21:49:40 +0000231 label="%action.label.11"
232 tooltip="%action.tooltip.11"
bchilds7123e002007-06-12 22:02:54 +0000233 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
234 style="push"
235 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
236 enablesFor="*"
237 id="org.eclipse.wst.jsdt.web.ui.rename">
238 </action>
239
240
241 <!-- Edit (cut copy paste etc.. -->
242 <action
bchilds3e120982007-11-06 21:49:40 +0000243 label="%action.label.12"
244 tooltip="%action.tooltip.12"
bchilds7123e002007-06-12 22:02:54 +0000245 menubarPath="group.edit"
246 style="push"
247 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
248 enablesFor="*"
249 id="org.eclipse.wst.jsdt.web.ui.delete">
250 </action>
251
252 <action
bchilds3e120982007-11-06 21:49:40 +0000253 label="%action.label.13"
254 tooltip="%action.tooltip.13"
bchilds7123e002007-06-12 22:02:54 +0000255 menubarPath="group.edit"
256 style="push"
257 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
258 enablesFor="1"
259 id="org.eclipse.wst.jsdt.web.ui.paste.after">
260 </action>
261 <action
bchilds3e120982007-11-06 21:49:40 +0000262 label="%action.label.14"
263 tooltip="%action.tooltip.14"
bchilds7123e002007-06-12 22:02:54 +0000264 menubarPath="group.edit"
265 style="push"
266 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
267 enablesFor="1"
268 id="org.eclipse.wst.jsdt.web.ui.paste.before">
269 </action>
270 <action
bchilds3e120982007-11-06 21:49:40 +0000271 label="%action.label.15"
272 tooltip="%action.tooltip.15"
bchilds7123e002007-06-12 22:02:54 +0000273 menubarPath="group.edit"
274 style="push"
275 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
276 enablesFor="*"
277 id="org.eclipse.wst.jsdt.web.ui.copy">
278 </action>
279
280 <action
bchilds3e120982007-11-06 21:49:40 +0000281 label="%action.label.16"
282 tooltip="%action.tooltip.16"
bchilds7123e002007-06-12 22:02:54 +0000283 menubarPath="group.edit"
284 style="push"
285 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
286 enablesFor="*"
287 id="org.eclipse.wst.jsdt.web.ui.cut">
288 </action>
bchilds73b88932007-06-11 20:45:50 +0000289
290 <!-- Show in Script Explorer, History and Navigator -->
291 <menu
292 id="org.eclipse.wst.jsdt.web.showin"
bchilds3e120982007-11-06 21:49:40 +0000293 label="%menu.label.4"
bchilds73b88932007-06-11 20:45:50 +0000294 path="group.show">
295 <separator name="showin"/>
296 </menu>
297 <action
bchilds3e120982007-11-06 21:49:40 +0000298 label="%action.label.17"
299 tooltip="%action.tooltip.17"
bchilds73b88932007-06-11 20:45:50 +0000300 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
301 style="push"
302 class="org.eclipse.wst.jsdt.web.ui.actions.ShowInNavigatorAction"
303 enablesFor="1"
304 id="org.eclipse.wst.jsdt.ui.actions.ShowInNavigatorViewAction">
305 </action>
306 <!-- History not working well -->
307 <!--
308 <action
309 label="History"
310 tooltip="Show In History"
311 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
312 style="push"
313 class="org.eclipse.wst.jsdt.web.ui.actions.ShowHistoryAction"
314 enablesFor="1"
315 id="org.eclipse.wst.jsdt.internal.ui.callhierarchy.OpenCallHierarchyAction">
bchildsfe706322007-06-11 15:09:02 +0000316 </action>
bchilds73b88932007-06-11 20:45:50 +0000317 -->
318 <action
bchilds3e120982007-11-06 21:49:40 +0000319 label="%action.label.18"
320 tooltip="%action.tooltip.18"
bchilds73b88932007-06-11 20:45:50 +0000321 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
322 style="push"
323 class="org.eclipse.wst.jsdt.web.ui.actions.ShowInScriptExplorerAction"
324 enablesFor="1"
325 id="org.eclipse.wst.jsdt.ui.actions.ShowInScriptExplorer">
326 </action>
327
328 <!-- Open Call and Type Hierarchies -->
329 <action
bchilds3e120982007-11-06 21:49:40 +0000330 label="%action.label.19"
331 tooltip="%action.tooltip.19"
bchilds73b88932007-06-11 20:45:50 +0000332 menubarPath="group.show"
333 style="push"
334 class="org.eclipse.wst.jsdt.web.ui.actions.OpenCallHierarchyAction"
335 enablesFor="1"
336 id="org.eclipse.wst.jsdt.internal.ui.callhierarchy.OpenCallHierarchyAction">
337 </action>
338 <action
bchilds3e120982007-11-06 21:49:40 +0000339 label="%action.label.20"
340 tooltip="%action.tooltip.20"
bchilds73b88932007-06-11 20:45:50 +0000341 menubarPath="group.show"
342 style="push"
343 class="org.eclipse.wst.jsdt.web.ui.actions.OpenTypeHierarchy"
344 enablesFor="1"
345 id="org.eclipse.wst.jsdt.ui.actions.OpenTypeHierarchyAction">
346 </action>
347 </objectContribution>
bchilds6b966c72007-06-07 23:11:29 +0000348
349 </extension>
350
bchildsa1181702007-06-14 21:47:04 +0000351
bchilds8f94a9d2007-03-13 22:24:43 +0000352 <!-- ====================================================================================== -->
bchilds68f36fc2007-03-01 22:47:33 +0000353 <!-- source validation for JSP -->
354 <!--======================================================================================-->
bchildsd332ebe2007-06-13 19:00:08 +0000355
bchilds68f36fc2007-03-01 22:47:33 +0000356 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
357 <validator
358 scope="total"
bchilds8f94a9d2007-03-13 22:24:43 +0000359 class="org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator"
bchilds68f36fc2007-03-01 22:47:33 +0000360 id="org.eclipse.wst.jsdt.web.jspsourcevalidator">
bchilds8f94a9d2007-03-13 22:24:43 +0000361 <contentTypeIdentifier id="org.eclipse.wst.html.core.htmlsource">
bchilds9924d9f2007-05-02 00:26:07 +0000362 <partitionType id="org.eclipse.wst.html.SCRIPT"></partitionType>
bchildsaf2da582007-11-07 22:44:06 +0000363 <partitionType id="org.eclipse.wst.html.SCRIPT.EVENTHANDLER"></partitionType>
bchilds9924d9f2007-05-02 00:26:07 +0000364 </contentTypeIdentifier>
365 </validator>
366
367
368 </extension>
bchildsd332ebe2007-06-13 19:00:08 +0000369
bchilds68f36fc2007-03-01 22:47:33 +0000370 <!--======================================================================================-->
371 <!-- JSP UI Adapter factories -->
372 <!--======================================================================================-->
373 <extension
374 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
375 <adapterFactoryDescription
bchilds8f94a9d2007-03-13 22:24:43 +0000376 class="org.eclipse.wst.jsdt.web.ui.internal.registry.AdapterFactoryProviderForJSDT">
bchilds68f36fc2007-03-01 22:47:33 +0000377 <contentType id="org.eclipse.wst.html.core.htmlsource" />
378 </adapterFactoryDescription>
379 </extension>
bchilds68f36fc2007-03-01 22:47:33 +0000380
bchilds68f36fc2007-03-01 22:47:33 +0000381
382
383
384 <!--======================================================================================-->
385 <!-- for breakpoint -->
386 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000387 <!-- removed for now -->
388 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000389 <extension point="org.eclipse.wst.sse.ui.breakpoint">
390 <breakpointContribution id="org.eclipse.wst.jsdt.web.ui.providers">
bchilds68f36fc2007-03-01 22:47:33 +0000391 <provider
bchilds46514c72007-03-06 01:30:32 +0000392 contentTypes="org.eclipse.wst.html.core.htmlsource"
bchilds68f36fc2007-03-01 22:47:33 +0000393 class="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*html,js,htm*"
394 id="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" />
395 </breakpointContribution>
396 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000397 -->
bchildsa1181702007-06-14 21:47:04 +0000398
bchilds8f94a9d2007-03-13 22:24:43 +0000399
bchilds68f36fc2007-03-01 22:47:33 +0000400 <!-- Editor actionsets -->
bchilds8f94a9d2007-03-13 22:24:43 +0000401 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000402 <extension point="org.eclipse.ui.actionSetPartAssociations">
403 <actionSetPartAssociation
404 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
405 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
406 </actionSetPartAssociation>
407 <actionSetPartAssociation
408 targetID="org.eclipse.ui.NavigateActionSet">
409 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
410 </actionSetPartAssociation>
411 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000412 -->
bchilds68f36fc2007-03-01 22:47:33 +0000413
414
415
416
417 <!-- Keybindings for jsp source editor -->
bchildsea8d7792007-07-27 15:08:07 +0000418 <!--
bchilds8f94a9d2007-03-13 22:24:43 +0000419 <extension point="org.eclipse.ui.bindings"> -->
bchilds68f36fc2007-03-01 22:47:33 +0000420 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
421 <!-- rename refactor -->
bchildsea8d7792007-07-27 15:08:07 +0000422 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000423 <key
424 sequence="M2+M3+R"
425 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
bchildsea8d7792007-07-27 15:08:07 +0000426 commandId="org.eclipse.wst.jsdt.ui.edit.text.java.rename.element"
bchilds68f36fc2007-03-01 22:47:33 +0000427 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
428 </key>
bchildsea8d7792007-07-27 15:08:07 +0000429 -->
bchilds68f36fc2007-03-01 22:47:33 +0000430 <!-- move refactor -->
bchildsea8d7792007-07-27 15:08:07 +0000431 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000432 <key
433 sequence="M2+M3+V"
434 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
435 commandId="org.eclipse.wst.jsdt.web.ui.refactor.move"
436 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
437 </key>
438 </extension>
bchildsea8d7792007-07-27 15:08:07 +0000439 -->
bchilds8f94a9d2007-03-13 22:24:43 +0000440
bchildsa1181702007-06-14 21:47:04 +0000441
bchilds68f36fc2007-03-01 22:47:33 +0000442 <!--======================================================================================-->
443 <!-- queryParticipant to participate in java seraches -->
444 <!--======================================================================================-->
bchildsd01b1ea2007-03-02 16:52:19 +0000445 <extension point="org.eclipse.wst.jsdt.ui.queryParticipants">
bchilds68f36fc2007-03-01 22:47:33 +0000446 <queryParticipant
bchilds01e14c42007-11-07 16:33:43 +0000447 name="%queryParticipant.name.0"
bchildsd01b1ea2007-03-02 16:52:19 +0000448 nature="org.eclipse.wst.jsdt.core.jsNature"
bchildsa1181702007-06-14 21:47:04 +0000449 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.ui.JsQueryParticipant"
450 id="org.eclipse.wst.jsdt.web.ui.java.search.ui.JsQueryParticipant" />
bchilds68f36fc2007-03-01 22:47:33 +0000451
452 </extension>
bchildsa1181702007-06-14 21:47:04 +0000453
bchilds8f94a9d2007-03-13 22:24:43 +0000454
bchilds68f36fc2007-03-01 22:47:33 +0000455 <!--======================================================================================-->
456 <!-- Document provider for ExternalFileEditorInput -->
457 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000458 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000459 <extension point="org.eclipse.ui.editors.documentProviders">
460 <provider
461 inputTypes="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.ExternalFileEditorInput"
462 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
463 id="org.eclipse.wst.jsdt.web.ui.internal.ExternalFileDocumentProvider" />
464
465 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000466 -->
bchilds3e120982007-11-06 21:49:40 +0000467 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000468 <extension point="org.eclipse.ui.popupMenus">
469 <viewerContribution
470 targetID="org.eclipse.wst.jsdt.web.core.jspsource.source.RulerContext"
471 id="org.eclipse.ui.texteditor.ruler.context.actions">
472 <action
473 label="%AddTask.label"
474 helpContextId="org.eclipse.ui.AddTask_action_context"
475 class="org.eclipse.ui.texteditor.TaskRulerAction"
476 tooltip="%AddTask.tooltip"
477 menubarPath="additions"
478 id="org.eclipse.ui.texteditor.TaskRulerAction" />
479
480 <action
481 label="%AddBookmark.label"
482 helpContextId="org.eclipse.ui.bookmark_action_context"
483 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
484 tooltip="%AddBookmark.tooltip"
485 menubarPath="additions"
486 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
487
488 </viewerContribution>
489 </extension>
bchilds3e120982007-11-06 21:49:40 +0000490-->
bchilds68f36fc2007-03-01 22:47:33 +0000491
bchilds3e120982007-11-06 21:49:40 +0000492
493<!--
bchilds68f36fc2007-03-01 22:47:33 +0000494 <extension point="org.eclipse.ui.editorActions">
495 <editorContribution
496 id="org.eclipse.wst.jsdt.web.core.jspsource.source.editorActions"
bchilds6b966c72007-06-07 23:11:29 +0000497 contributorClass="org.eclipse.wst.jsdt.internal.ui.javaeditor.CompilationUnitEditorActionContributor"
bchilds68f36fc2007-03-01 22:47:33 +0000498 targetID="org.eclipse.wst.html.core.htmlsource">
499 <action
500 id="CleanupDocument"
501 label="%CleanupDocument_label"
502 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
503 tooltip="%CleanupDocument_tooltip"
504 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
505 actionID="CleanupDocument">
506 </action>
507 <action
508 id="ToggleComment"
509 label="%ToggleComment_label"
510 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
511 tooltip="%ToggleComment_tooltip"
512 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
513 actionID="ToggleComment">
514 </action>
515 <action
516 id="AddBlockComment"
517 label="%AddBlockComment_label"
518 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
519 tooltip="%AddBlockComment_tooltip"
520 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
521 actionID="AddBlockComment">
522 </action>
523 <action
524 id="RemoveBlockComment"
525 label="%RemoveBlockComment_label"
526 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
527 tooltip="%RemoveBlockComment_tooltip"
528 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
529 actionID="RemoveBlockComment">
530 </action>
531 <action
532 id="RenameElement"
533 label="%RenameElement_label"
534 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
535 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPRenameElementActionDelegate"
536 actionID="RenameElement">
537 </action>
538 <action
539 id="MoveElement"
540 label="%MoveElement_label"
541 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.move"
542 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMoveElementActionDelegate"
543 actionID="MoveElement">
544 </action>
545 <action
546 id="FindOccurrences"
547 label="%FindOccurrences_label"
548 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
bchildsa1181702007-06-14 21:47:04 +0000549 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.JsFindOccurrencesActionDelegate"
bchilds68f36fc2007-03-01 22:47:33 +0000550 actionID="FindOccurrences">
551 </action>
552 <action
553 id="StructureSelectEnclosing"
554 label="%StructureSelectEnclosing_label"
555 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
556 tooltip="%StructureSelectEnclosing_tooltip"
557 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
558 actionID="StructureSelectEnclosing">
559 </action>
560 <action
561 id="StructureSelectNext"
562 label="%StructureSelectNext_label"
563 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
564 tooltip="%StructureSelectNext_tooltip"
565 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
566 actionID="StructureSelectNext">
567 </action>
568 <action
569 id="StructureSelectPrevious"
570 label="%StructureSelectPrevious_label"
571 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
572 tooltip="%StructureSelectPrevious_tooltip"
573 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
574 actionID="StructureSelectPrevious">
575 </action>
576 <action
577 id="StructureSelectHistory"
578 label="%StructureSelectHistory_label"
579 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
580 tooltip="%StructureSelectHistory_tooltip"
581 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
582 actionID="StructureSelectHistory">
583 </action>
584 </editorContribution>
585 <editorContribution
586 targetID="org.eclipse.wst.html.core.htmlsource"
587 id="org.eclipse.wst.jsdt.web.core.jspsource.ruler.actions">
588 <action
589 label="%AddBookmark.label"
590 helpContextId="org.eclipse.ui.bookmark_action_context"
591 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
592 actionID="RulerDoubleClick"
593 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
594 <action
595 label="%SelectRuler.label"
596 class="org.eclipse.ui.texteditor.SelectRulerAction"
597 actionID="RulerClick"
598 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
599 </editorContribution>
600 </extension>
bchilds3e120982007-11-06 21:49:40 +0000601 -->
bchilds5d4d56f2007-06-19 14:11:04 +0000602 <!--======================================================================================-->
603 <!-- FOR JSP/JAVA RENAME PARTICIPATION -->
604 <!--======================================================================================-->
605 <extension
606 point="org.eclipse.ltk.core.refactoring.renameParticipants">
607 <renameParticipant
bchilds3e120982007-11-06 21:49:40 +0000608 name="%renameParticipant.name.0"
bchilds5d4d56f2007-06-19 14:11:04 +0000609 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant"
610 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant">
611 <enablement>
612 <with variable="affectedNatures">
613 <iterate operator="or">
614 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
615 </iterate>
616 </with>
617 <with variable="element">
618 <instanceof value="org.eclipse.wst.jsdt.core.IType" />
619
620 </with>
621 </enablement>
622 </renameParticipant>
623 <renameParticipant
bchilds3e120982007-11-06 21:49:40 +0000624 name="%renameParticipant.name.1"
bchilds5d4d56f2007-06-19 14:11:04 +0000625 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant"
626 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant">
627 <enablement>
628 <with variable="affectedNatures">
629 <iterate operator="or">
630 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
631 </iterate>
632 </with>
633 <with variable="element">
634 <instanceof value="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode" />
635
636 </with>
637 </enablement>
638 </renameParticipant>
639 <renameParticipant
bchilds3e120982007-11-06 21:49:40 +0000640 name="%renameParticipant.name.2"
bchilds5d4d56f2007-06-19 14:11:04 +0000641 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant"
642 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant">
643 <enablement>
644 <with variable="affectedNatures">
645 <iterate operator="or">
646 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
647
648 </iterate>
649 </with>
650 <with variable="element">
pberkland82712a92008-04-30 17:09:15 +0000651 <instanceof value="org.eclipse.wst.jsdt.core.IFunction" />
bchilds5d4d56f2007-06-19 14:11:04 +0000652
653 </with>
654 </enablement>
655 </renameParticipant>
656 <renameParticipant
bchilds3e120982007-11-06 21:49:40 +0000657 name="%renameParticipant.name.3"
bchilds5d4d56f2007-06-19 14:11:04 +0000658 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant"
659 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant">
660 <enablement>
661 <with variable="affectedNatures">
662 <iterate operator="or">
663 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
664
665 </iterate>
666 </with>
667 <with variable="element">
668 <instanceof value="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode" />
669
670 </with>
671 </enablement>
672 </renameParticipant>
bchilds423c5ef2007-07-05 22:56:35 +0000673
bchilds0d8372e2008-03-28 19:21:31 +0000674 </extension>
pberklanda0c664c2008-06-18 19:08:14 +0000675 <!--
bchilds0d8372e2008-03-28 19:21:31 +0000676 <extension point="org.eclipse.wst.jsdt.ui.JsGlobalScopeUIInitializer">
677 <JsGlobalScopeUIInitializer
678 id="org.eclipse.wst.jsdt.launching.WebProject"
679 class="org.eclipse.wst.jsdt.web.ui.WebProjectJsGlobalScopeUIInitializer">
680 </JsGlobalScopeUIInitializer>
681 </extension>
pberklanda0c664c2008-06-18 19:08:14 +0000682-->
bchilds0d8372e2008-03-28 19:21:31 +0000683
684
bchildsc2caaea2007-09-12 19:52:13 +0000685 <extension
686 point="org.eclipse.ui.popupMenus">
687 <objectContribution
688 objectClass="org.eclipse.core.resources.IProject"
689 adaptable="true"
690 id="org.eclipse.wst.jsdt.web.ui.jsdtSetup">
691 <menu
bchilds3e120982007-11-06 21:49:40 +0000692 label="%menu.label.5"
bchildsc2caaea2007-09-12 19:52:13 +0000693 id="org.eclipse.wst.jsdt.web.ui.project.tools">
694 <separator
695 name="group0">
696 </separator>
697 </menu>
698 <action
699 class="org.eclipse.wst.jsdt.web.ui.SetupProjectsWizzard"
bchilds3e120982007-11-06 21:49:40 +0000700 label="%action.label.21"
bchildsc2caaea2007-09-12 19:52:13 +0000701 menubarPath="org.eclipse.wst.jsdt.web.ui.project.tools/group0"
702 enablesFor="+"
703 id="org.eclipse.wst.jsdt.internal.web.ui.convertProjects">
704 </action>
705 </objectContribution>
706 </extension>
707 <!-- Uncomment for Standalone + HTML as seperate options -->
708 <!--
709 <extension
bchilds7267f872007-09-12 18:43:28 +0000710 point="org.eclipse.ui.popupMenus">
711 <objectContribution
712 objectClass="org.eclipse.core.resources.IProject"
713 adaptable="true"
714 id="org.eclipse.wst.jsdt.web.ui.jsdtSetup">
715 <action
716 label="Add Support for JavaScript in HTML"
717 class="org.eclipse.wst.jsdt.web.ui.SetupProjectsWizzard"
718 menubarPath="org.eclipse.wst.jsdt.ui.project.tools/group0"
719 enablesFor="+"
720 id="org.eclipse.wst.jsdt.web.internal.ui.convertProjects">
721 </action>
722 </objectContribution>
723 </extension>
bchildsc2caaea2007-09-12 19:52:13 +0000724 -->
bchilds68f36fc2007-03-01 22:47:33 +0000725</plugin>