blob: 0fa8c6703cc9f6dff417bf74a801d0f2edf79d51 [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" />
30 <!-- Not sure on information provider extension -->
bchildsb95206a2007-03-21 00:02:12 +000031 <provisionalConfiguration
32 type="informationpresenter"
33 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTInformationProvider"
bchildsaf2da582007-11-07 22:44:06 +000034 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENTHANDLER" />
35
bchildsb95206a2007-03-21 00:02:12 +000036 <provisionalConfiguration
37 type="characterpairmatcher"
38 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
bchildsaf2da582007-11-07 22:44:06 +000039 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENTHANDLER" />
bchildsb95206a2007-03-21 00:02:12 +000040 <provisionalConfiguration
41 type="autoeditstrategy"
42 class="org.eclipse.wst.jsdt.web.ui.internal.autoedit.AutoEditStrategyForJs"
bchildsaf2da582007-11-07 22:44:06 +000043 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENTHANDLER" />
bchildsb95206a2007-03-21 00:02:12 +000044 <provisionalConfiguration
bchildsaf2da582007-11-07 22:44:06 +000045 type="slaveformattingstrategy"
bchildsa1181702007-06-14 21:47:04 +000046 class="org.eclipse.wst.jsdt.web.ui.internal.format.FormattingStrategyJSDT"
bchildsb95206a2007-03-21 00:02:12 +000047 target="org.eclipse.wst.html.SCRIPT" />
bchildsaf2da582007-11-07 22:44:06 +000048 <!--
bchilds9924d9f2007-05-02 00:26:07 +000049 <provisionalConfiguration
50 type="hyperlinkdetector"
bchildsa1181702007-06-14 21:47:04 +000051 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
bchilds9924d9f2007-05-02 00:26:07 +000052 target="org.eclipse.wst.html.SCRIPT" />
bchildsaf2da582007-11-07 22:44:06 +000053
54 -->
bchildsb95206a2007-03-21 00:02:12 +000055 </extension>
bchildsaf2da582007-11-07 22:44:06 +000056
57 <extension
58 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
59 <hyperlinkDetector
60 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
61 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
62 name="%hyperlinkDetector.name.2"
63 targetId="org.eclipse.wst.html.core.htmlsource">
64 </hyperlinkDetector>
65
66 </extension>
67
68
69
bchilds5d4d56f2007-06-19 14:11:04 +000070 <extension point = "org.eclipse.wst.sse.ui.extendedEditorActions">
71 <editorContribution
72 targetID="com.ibm.sse.editor.StructuredTextEditor"
73 id="com.ibm.sse.editor.extendedActions2">
74 <action
75 popupmenuPath="group.add"
76 label="Preferences2"
77 class="com.ibm.sse.editor.preferences.ui.EditStructuredTextEditorPreferencesAction"
78 id="com.ibm.sse.editor.preferences.ui.EditStructuredTextEditorPreferencesAction2">
79 </action>
80 </editorContribution>
81
82
83 </extension>
bchildsd5b9b822007-05-31 22:01:33 +000084 <extension
85 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
86 <target
87 id="org.eclipse.wst.html.SCRIPT"
bchilds3e120982007-11-06 21:49:40 +000088 name="%target.name.0">
bchildsd5b9b822007-05-31 22:01:33 +000089 </target>
90 </extension>
91
92 <extension
93 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
94 <target
bchildsaf2da582007-11-07 22:44:06 +000095 id="org.eclipse.wst.html.SCRIPT.EVENTHANDLER"
bchilds3e120982007-11-06 21:49:40 +000096 name="%target.name.1">
bchildsd5b9b822007-05-31 22:01:33 +000097 </target>
98 </extension>
99
100 <extension
101 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
bchildsd5b9b822007-05-31 22:01:33 +0000102 <hyperlinkDetector
bchildsa1181702007-06-14 21:47:04 +0000103 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
bchildsd5b9b822007-05-31 22:01:33 +0000104 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector"
bchilds3e120982007-11-06 21:49:40 +0000105 name="%hyperlinkDetector.name.0"
bchildsd5b9b822007-05-31 22:01:33 +0000106 targetId="org.eclipse.wst.html.SCRIPT">
107 </hyperlinkDetector>
108 <hyperlinkDetector
bchildsa1181702007-06-14 21:47:04 +0000109 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
bchildsd5b9b822007-05-31 22:01:33 +0000110 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector"
bchilds3e120982007-11-06 21:49:40 +0000111 name="%hyperlinkDetector.name.1"
bchildsaf2da582007-11-07 22:44:06 +0000112 targetId="org.eclipse.wst.html.SCRIPT.EVENTHANDLER">
bchildsd5b9b822007-05-31 22:01:33 +0000113 </hyperlinkDetector>
114 </extension>
bchilds6b966c72007-06-07 23:11:29 +0000115
116
117 <extension
118 point="org.eclipse.ui.popupMenus">
bchilds73b88932007-06-11 20:45:50 +0000119 <!-- 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 +0000120 <objectContribution
bchilds5d4d56f2007-06-19 14:11:04 +0000121 objectClass="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode"
bchilds6b966c72007-06-07 23:11:29 +0000122 id="org.eclipse.wst.jsdt.web.ui.JavaActions">
bchilds73b88932007-06-11 20:45:50 +0000123 <!-- Declerations Search Menu -->
bchildsfe706322007-06-11 15:09:02 +0000124 <menu
bchilds73b88932007-06-11 20:45:50 +0000125 id="org.eclipse.wst.jsdt.web.declerations"
bchilds3e120982007-11-06 21:49:40 +0000126 label="%menu.label.0"
bchilds73b88932007-06-11 20:45:50 +0000127 path="group.search">
128 <separator name="declerations"/>
bchildsfe706322007-06-11 15:09:02 +0000129 </menu>
130 <action
bchilds3e120982007-11-06 21:49:40 +0000131 label="%action.label.0"
132 tooltip="%action.tooltip.0"
bchilds73b88932007-06-11 20:45:50 +0000133 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
134 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesInWorkingSetAction"
135 enablesFor="1"
136 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInWorkingSetAction">
137 </action>
138 <action
bchilds3e120982007-11-06 21:49:40 +0000139 label="%action.label.1"
140 tooltip="%action.tooltip.1"
bchilds73b88932007-06-11 20:45:50 +0000141 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
bchildsfe706322007-06-11 15:09:02 +0000142 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
143 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000144 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInHierarchyAction">
145 </action>
bchildsfe706322007-06-11 15:09:02 +0000146 <action
bchilds3e120982007-11-06 21:49:40 +0000147 label="%action.label.2"
148 tooltip="%action.tooltip.2"
bchilds73b88932007-06-11 20:45:50 +0000149 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
bchildsfe706322007-06-11 15:09:02 +0000150 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
151 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000152 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInProjectAction">
bchildsfe706322007-06-11 15:09:02 +0000153 </action>
bchilds73b88932007-06-11 20:45:50 +0000154
155 <action
bchilds3e120982007-11-06 21:49:40 +0000156 label="%action.label.3"
157 tooltip="%action.tooltip.3"
bchilds73b88932007-06-11 20:45:50 +0000158 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
159 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
160 enablesFor="1"
161 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsAction">
162 </action>
163
164 <!-- Refrences Search menu -->
165 <menu
166 id="org.eclipse.wst.jsdt.web.references"
bchilds3e120982007-11-06 21:49:40 +0000167 label="%menu.label.1"
bchilds73b88932007-06-11 20:45:50 +0000168 path="group.search">
169 <separator name="references"/>
170 </menu>
171 <action
bchilds3e120982007-11-06 21:49:40 +0000172 label="%action.label.4"
173 tooltip="%action.tooltip.4"
bchilds73b88932007-06-11 20:45:50 +0000174 menubarPath="org.eclipse.wst.jsdt.web.references/references"
175 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesInWorkingSetAction"
176 enablesFor="1"
177 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInWorkingSetAction">
178 </action>
bchildsfe706322007-06-11 15:09:02 +0000179 <action
bchilds3e120982007-11-06 21:49:40 +0000180 label="%action.label.5"
181 tooltip="%action.tooltip.5"
bchildsfe706322007-06-11 15:09:02 +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.FindReferencesInHierarchyAction">
186 </action>
bchilds73b88932007-06-11 20:45:50 +0000187 <action
bchilds3e120982007-11-06 21:49:40 +0000188 label="%action.label.6"
189 tooltip="%action.tooltip.6"
bchildsfe706322007-06-11 15:09:02 +0000190 menubarPath="org.eclipse.wst.jsdt.web.references/references"
191 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
192 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000193 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInProjectAction">
194 </action>
195
196 <action
bchilds3e120982007-11-06 21:49:40 +0000197 label="%action.label.7"
198 tooltip="%action.tooltip.7"
bchilds73b88932007-06-11 20:45:50 +0000199 menubarPath="org.eclipse.wst.jsdt.web.references/references"
200 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
201 enablesFor="1"
202 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesAction">
203 </action>
bchilds7123e002007-06-12 22:02:54 +0000204 <!-- Source and Refactoring Menu's -->
205 <menu
206 id="org.eclipse.wst.jsdt.web.refactor"
bchilds3e120982007-11-06 21:49:40 +0000207 label="%menu.label.2"
bchilds7123e002007-06-12 22:02:54 +0000208 path="group.generate">
209 <separator name="refactor"/>
210 </menu>
211
212 <menu
213 id="org.eclipse.wst.jsdt.web.source"
bchilds3e120982007-11-06 21:49:40 +0000214 label="%menu.label.3"
bchilds7123e002007-06-12 22:02:54 +0000215 path="group.generate">
216 <separator name="source"/>
217 </menu>
218 <!-- Source Actions -->
219 <action
bchilds3e120982007-11-06 21:49:40 +0000220 label="%action.label.8"
221 tooltip="%action.tooltip.8"
bchilds7123e002007-06-12 22:02:54 +0000222 menubarPath="org.eclipse.wst.jsdt.web.source/source"
223 style="push"
bchildsd332ebe2007-06-13 19:00:08 +0000224 class="org.eclipse.wst.jsdt.web.ui.actions.AddJavaDocStubAction"
bchilds7123e002007-06-12 22:02:54 +0000225 enablesFor="*"
226 id="org.eclipse.wst.jsdt.web.ui.generate.element.comment">
227 </action>
228 <!-- Refactor Actions -->
229 <action
bchilds3e120982007-11-06 21:49:40 +0000230 label="%action.label.9"
231 tooltip="%action.tooltip.9"
bchilds7123e002007-06-12 22:02:54 +0000232 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
233 style="push"
234 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
235 enablesFor="*"
236 id="org.eclipse.wst.jsdt.web.ui.change.function.signature">
237 </action>
238 <action
bchilds3e120982007-11-06 21:49:40 +0000239 label="%action.label.10"
240 tooltip="%action.tooltip.10"
bchilds7123e002007-06-12 22:02:54 +0000241 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
242 style="push"
243 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
244 enablesFor="*"
245 id="org.eclipse.wst.jsdt.web.ui.Move">
246 </action>
247 <action
bchilds3e120982007-11-06 21:49:40 +0000248 label="%action.label.11"
249 tooltip="%action.tooltip.11"
bchilds7123e002007-06-12 22:02:54 +0000250 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
251 style="push"
252 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
253 enablesFor="*"
254 id="org.eclipse.wst.jsdt.web.ui.rename">
255 </action>
256
257
258 <!-- Edit (cut copy paste etc.. -->
259 <action
bchilds3e120982007-11-06 21:49:40 +0000260 label="%action.label.12"
261 tooltip="%action.tooltip.12"
bchilds7123e002007-06-12 22:02:54 +0000262 menubarPath="group.edit"
263 style="push"
264 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
265 enablesFor="*"
266 id="org.eclipse.wst.jsdt.web.ui.delete">
267 </action>
268
269 <action
bchilds3e120982007-11-06 21:49:40 +0000270 label="%action.label.13"
271 tooltip="%action.tooltip.13"
bchilds7123e002007-06-12 22:02:54 +0000272 menubarPath="group.edit"
273 style="push"
274 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
275 enablesFor="1"
276 id="org.eclipse.wst.jsdt.web.ui.paste.after">
277 </action>
278 <action
bchilds3e120982007-11-06 21:49:40 +0000279 label="%action.label.14"
280 tooltip="%action.tooltip.14"
bchilds7123e002007-06-12 22:02:54 +0000281 menubarPath="group.edit"
282 style="push"
283 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
284 enablesFor="1"
285 id="org.eclipse.wst.jsdt.web.ui.paste.before">
286 </action>
287 <action
bchilds3e120982007-11-06 21:49:40 +0000288 label="%action.label.15"
289 tooltip="%action.tooltip.15"
bchilds7123e002007-06-12 22:02:54 +0000290 menubarPath="group.edit"
291 style="push"
292 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
293 enablesFor="*"
294 id="org.eclipse.wst.jsdt.web.ui.copy">
295 </action>
296
297 <action
bchilds3e120982007-11-06 21:49:40 +0000298 label="%action.label.16"
299 tooltip="%action.tooltip.16"
bchilds7123e002007-06-12 22:02:54 +0000300 menubarPath="group.edit"
301 style="push"
302 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
303 enablesFor="*"
304 id="org.eclipse.wst.jsdt.web.ui.cut">
305 </action>
bchilds73b88932007-06-11 20:45:50 +0000306
307 <!-- Show in Script Explorer, History and Navigator -->
308 <menu
309 id="org.eclipse.wst.jsdt.web.showin"
bchilds3e120982007-11-06 21:49:40 +0000310 label="%menu.label.4"
bchilds73b88932007-06-11 20:45:50 +0000311 path="group.show">
312 <separator name="showin"/>
313 </menu>
314 <action
bchilds3e120982007-11-06 21:49:40 +0000315 label="%action.label.17"
316 tooltip="%action.tooltip.17"
bchilds73b88932007-06-11 20:45:50 +0000317 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
318 style="push"
319 class="org.eclipse.wst.jsdt.web.ui.actions.ShowInNavigatorAction"
320 enablesFor="1"
321 id="org.eclipse.wst.jsdt.ui.actions.ShowInNavigatorViewAction">
322 </action>
323 <!-- History not working well -->
324 <!--
325 <action
326 label="History"
327 tooltip="Show In History"
328 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
329 style="push"
330 class="org.eclipse.wst.jsdt.web.ui.actions.ShowHistoryAction"
331 enablesFor="1"
332 id="org.eclipse.wst.jsdt.internal.ui.callhierarchy.OpenCallHierarchyAction">
bchildsfe706322007-06-11 15:09:02 +0000333 </action>
bchilds73b88932007-06-11 20:45:50 +0000334 -->
335 <action
bchilds3e120982007-11-06 21:49:40 +0000336 label="%action.label.18"
337 tooltip="%action.tooltip.18"
bchilds73b88932007-06-11 20:45:50 +0000338 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
339 style="push"
340 class="org.eclipse.wst.jsdt.web.ui.actions.ShowInScriptExplorerAction"
341 enablesFor="1"
342 id="org.eclipse.wst.jsdt.ui.actions.ShowInScriptExplorer">
343 </action>
344
345 <!-- Open Call and Type Hierarchies -->
346 <action
bchilds3e120982007-11-06 21:49:40 +0000347 label="%action.label.19"
348 tooltip="%action.tooltip.19"
bchilds73b88932007-06-11 20:45:50 +0000349 menubarPath="group.show"
350 style="push"
351 class="org.eclipse.wst.jsdt.web.ui.actions.OpenCallHierarchyAction"
352 enablesFor="1"
353 id="org.eclipse.wst.jsdt.internal.ui.callhierarchy.OpenCallHierarchyAction">
354 </action>
355 <action
bchilds3e120982007-11-06 21:49:40 +0000356 label="%action.label.20"
357 tooltip="%action.tooltip.20"
bchilds73b88932007-06-11 20:45:50 +0000358 menubarPath="group.show"
359 style="push"
360 class="org.eclipse.wst.jsdt.web.ui.actions.OpenTypeHierarchy"
361 enablesFor="1"
362 id="org.eclipse.wst.jsdt.ui.actions.OpenTypeHierarchyAction">
363 </action>
364 </objectContribution>
bchilds6b966c72007-06-07 23:11:29 +0000365
366 </extension>
367
bchildsa1181702007-06-14 21:47:04 +0000368
bchilds8f94a9d2007-03-13 22:24:43 +0000369 <!-- ====================================================================================== -->
bchilds68f36fc2007-03-01 22:47:33 +0000370 <!-- source validation for JSP -->
371 <!--======================================================================================-->
bchildsd332ebe2007-06-13 19:00:08 +0000372
bchilds68f36fc2007-03-01 22:47:33 +0000373 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
374 <validator
375 scope="total"
bchilds8f94a9d2007-03-13 22:24:43 +0000376 class="org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator"
bchilds68f36fc2007-03-01 22:47:33 +0000377 id="org.eclipse.wst.jsdt.web.jspsourcevalidator">
bchilds8f94a9d2007-03-13 22:24:43 +0000378 <contentTypeIdentifier id="org.eclipse.wst.html.core.htmlsource">
bchilds9924d9f2007-05-02 00:26:07 +0000379 <partitionType id="org.eclipse.wst.html.SCRIPT"></partitionType>
bchildsaf2da582007-11-07 22:44:06 +0000380 <partitionType id="org.eclipse.wst.html.SCRIPT.EVENTHANDLER"></partitionType>
bchilds9924d9f2007-05-02 00:26:07 +0000381 </contentTypeIdentifier>
382 </validator>
383
384
385 </extension>
bchildsd332ebe2007-06-13 19:00:08 +0000386
bchilds68f36fc2007-03-01 22:47:33 +0000387 <!--======================================================================================-->
388 <!-- JSP UI Adapter factories -->
389 <!--======================================================================================-->
390 <extension
391 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
392 <adapterFactoryDescription
bchilds8f94a9d2007-03-13 22:24:43 +0000393 class="org.eclipse.wst.jsdt.web.ui.internal.registry.AdapterFactoryProviderForJSDT">
bchilds68f36fc2007-03-01 22:47:33 +0000394 <contentType id="org.eclipse.wst.html.core.htmlsource" />
395 </adapterFactoryDescription>
396 </extension>
bchilds68f36fc2007-03-01 22:47:33 +0000397
bchilds68f36fc2007-03-01 22:47:33 +0000398
399
400
401 <!--======================================================================================-->
402 <!-- for breakpoint -->
403 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000404 <!-- removed for now -->
405 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000406 <extension point="org.eclipse.wst.sse.ui.breakpoint">
407 <breakpointContribution id="org.eclipse.wst.jsdt.web.ui.providers">
bchilds68f36fc2007-03-01 22:47:33 +0000408 <provider
bchilds46514c72007-03-06 01:30:32 +0000409 contentTypes="org.eclipse.wst.html.core.htmlsource"
bchilds68f36fc2007-03-01 22:47:33 +0000410 class="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*html,js,htm*"
411 id="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" />
412 </breakpointContribution>
413 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000414 -->
bchildsa1181702007-06-14 21:47:04 +0000415
bchilds8f94a9d2007-03-13 22:24:43 +0000416
bchilds68f36fc2007-03-01 22:47:33 +0000417 <!-- Editor actionsets -->
bchilds8f94a9d2007-03-13 22:24:43 +0000418 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000419 <extension point="org.eclipse.ui.actionSetPartAssociations">
420 <actionSetPartAssociation
421 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
422 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
423 </actionSetPartAssociation>
424 <actionSetPartAssociation
425 targetID="org.eclipse.ui.NavigateActionSet">
426 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
427 </actionSetPartAssociation>
428 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000429 -->
bchilds68f36fc2007-03-01 22:47:33 +0000430
431
432
433
434 <!-- Keybindings for jsp source editor -->
bchildsea8d7792007-07-27 15:08:07 +0000435 <!--
bchilds8f94a9d2007-03-13 22:24:43 +0000436 <extension point="org.eclipse.ui.bindings"> -->
bchilds68f36fc2007-03-01 22:47:33 +0000437 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
438 <!-- rename refactor -->
bchildsea8d7792007-07-27 15:08:07 +0000439 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000440 <key
441 sequence="M2+M3+R"
442 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
bchildsea8d7792007-07-27 15:08:07 +0000443 commandId="org.eclipse.wst.jsdt.ui.edit.text.java.rename.element"
bchilds68f36fc2007-03-01 22:47:33 +0000444 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
445 </key>
bchildsea8d7792007-07-27 15:08:07 +0000446 -->
bchilds68f36fc2007-03-01 22:47:33 +0000447 <!-- move refactor -->
bchildsea8d7792007-07-27 15:08:07 +0000448 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000449 <key
450 sequence="M2+M3+V"
451 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
452 commandId="org.eclipse.wst.jsdt.web.ui.refactor.move"
453 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
454 </key>
455 </extension>
bchildsea8d7792007-07-27 15:08:07 +0000456 -->
bchilds8f94a9d2007-03-13 22:24:43 +0000457
bchildsa1181702007-06-14 21:47:04 +0000458
bchilds68f36fc2007-03-01 22:47:33 +0000459 <!--======================================================================================-->
460 <!-- queryParticipant to participate in java seraches -->
461 <!--======================================================================================-->
bchildsd01b1ea2007-03-02 16:52:19 +0000462 <extension point="org.eclipse.wst.jsdt.ui.queryParticipants">
bchilds68f36fc2007-03-01 22:47:33 +0000463 <queryParticipant
bchilds01e14c42007-11-07 16:33:43 +0000464 name="%queryParticipant.name.0"
bchildsd01b1ea2007-03-02 16:52:19 +0000465 nature="org.eclipse.wst.jsdt.core.jsNature"
bchildsa1181702007-06-14 21:47:04 +0000466 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.ui.JsQueryParticipant"
467 id="org.eclipse.wst.jsdt.web.ui.java.search.ui.JsQueryParticipant" />
bchilds68f36fc2007-03-01 22:47:33 +0000468
469 </extension>
bchildsa1181702007-06-14 21:47:04 +0000470
bchilds8f94a9d2007-03-13 22:24:43 +0000471
bchilds68f36fc2007-03-01 22:47:33 +0000472 <!--======================================================================================-->
473 <!-- Document provider for ExternalFileEditorInput -->
474 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000475 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000476 <extension point="org.eclipse.ui.editors.documentProviders">
477 <provider
478 inputTypes="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.ExternalFileEditorInput"
479 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
480 id="org.eclipse.wst.jsdt.web.ui.internal.ExternalFileDocumentProvider" />
481
482 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000483 -->
bchilds3e120982007-11-06 21:49:40 +0000484 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000485 <extension point="org.eclipse.ui.popupMenus">
486 <viewerContribution
487 targetID="org.eclipse.wst.jsdt.web.core.jspsource.source.RulerContext"
488 id="org.eclipse.ui.texteditor.ruler.context.actions">
489 <action
490 label="%AddTask.label"
491 helpContextId="org.eclipse.ui.AddTask_action_context"
492 class="org.eclipse.ui.texteditor.TaskRulerAction"
493 tooltip="%AddTask.tooltip"
494 menubarPath="additions"
495 id="org.eclipse.ui.texteditor.TaskRulerAction" />
496
497 <action
498 label="%AddBookmark.label"
499 helpContextId="org.eclipse.ui.bookmark_action_context"
500 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
501 tooltip="%AddBookmark.tooltip"
502 menubarPath="additions"
503 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
504
505 </viewerContribution>
506 </extension>
bchilds3e120982007-11-06 21:49:40 +0000507-->
bchilds68f36fc2007-03-01 22:47:33 +0000508
bchilds3e120982007-11-06 21:49:40 +0000509
510<!--
bchilds68f36fc2007-03-01 22:47:33 +0000511 <extension point="org.eclipse.ui.editorActions">
512 <editorContribution
513 id="org.eclipse.wst.jsdt.web.core.jspsource.source.editorActions"
bchilds6b966c72007-06-07 23:11:29 +0000514 contributorClass="org.eclipse.wst.jsdt.internal.ui.javaeditor.CompilationUnitEditorActionContributor"
bchilds68f36fc2007-03-01 22:47:33 +0000515 targetID="org.eclipse.wst.html.core.htmlsource">
516 <action
517 id="CleanupDocument"
518 label="%CleanupDocument_label"
519 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
520 tooltip="%CleanupDocument_tooltip"
521 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
522 actionID="CleanupDocument">
523 </action>
524 <action
525 id="ToggleComment"
526 label="%ToggleComment_label"
527 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
528 tooltip="%ToggleComment_tooltip"
529 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
530 actionID="ToggleComment">
531 </action>
532 <action
533 id="AddBlockComment"
534 label="%AddBlockComment_label"
535 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
536 tooltip="%AddBlockComment_tooltip"
537 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
538 actionID="AddBlockComment">
539 </action>
540 <action
541 id="RemoveBlockComment"
542 label="%RemoveBlockComment_label"
543 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
544 tooltip="%RemoveBlockComment_tooltip"
545 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
546 actionID="RemoveBlockComment">
547 </action>
548 <action
549 id="RenameElement"
550 label="%RenameElement_label"
551 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
552 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPRenameElementActionDelegate"
553 actionID="RenameElement">
554 </action>
555 <action
556 id="MoveElement"
557 label="%MoveElement_label"
558 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.move"
559 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMoveElementActionDelegate"
560 actionID="MoveElement">
561 </action>
562 <action
563 id="FindOccurrences"
564 label="%FindOccurrences_label"
565 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
bchildsa1181702007-06-14 21:47:04 +0000566 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.JsFindOccurrencesActionDelegate"
bchilds68f36fc2007-03-01 22:47:33 +0000567 actionID="FindOccurrences">
568 </action>
569 <action
570 id="StructureSelectEnclosing"
571 label="%StructureSelectEnclosing_label"
572 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
573 tooltip="%StructureSelectEnclosing_tooltip"
574 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
575 actionID="StructureSelectEnclosing">
576 </action>
577 <action
578 id="StructureSelectNext"
579 label="%StructureSelectNext_label"
580 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
581 tooltip="%StructureSelectNext_tooltip"
582 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
583 actionID="StructureSelectNext">
584 </action>
585 <action
586 id="StructureSelectPrevious"
587 label="%StructureSelectPrevious_label"
588 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
589 tooltip="%StructureSelectPrevious_tooltip"
590 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
591 actionID="StructureSelectPrevious">
592 </action>
593 <action
594 id="StructureSelectHistory"
595 label="%StructureSelectHistory_label"
596 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
597 tooltip="%StructureSelectHistory_tooltip"
598 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
599 actionID="StructureSelectHistory">
600 </action>
601 </editorContribution>
602 <editorContribution
603 targetID="org.eclipse.wst.html.core.htmlsource"
604 id="org.eclipse.wst.jsdt.web.core.jspsource.ruler.actions">
605 <action
606 label="%AddBookmark.label"
607 helpContextId="org.eclipse.ui.bookmark_action_context"
608 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
609 actionID="RulerDoubleClick"
610 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
611 <action
612 label="%SelectRuler.label"
613 class="org.eclipse.ui.texteditor.SelectRulerAction"
614 actionID="RulerClick"
615 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
616 </editorContribution>
617 </extension>
bchilds3e120982007-11-06 21:49:40 +0000618 -->
bchilds5d4d56f2007-06-19 14:11:04 +0000619 <!--======================================================================================-->
620 <!-- FOR JSP/JAVA RENAME PARTICIPATION -->
621 <!--======================================================================================-->
622 <extension
623 point="org.eclipse.ltk.core.refactoring.renameParticipants">
624 <renameParticipant
bchilds3e120982007-11-06 21:49:40 +0000625 name="%renameParticipant.name.0"
bchilds5d4d56f2007-06-19 14:11:04 +0000626 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant"
627 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant">
628 <enablement>
629 <with variable="affectedNatures">
630 <iterate operator="or">
631 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
632 </iterate>
633 </with>
634 <with variable="element">
635 <instanceof value="org.eclipse.wst.jsdt.core.IType" />
636
637 </with>
638 </enablement>
639 </renameParticipant>
640 <renameParticipant
bchilds3e120982007-11-06 21:49:40 +0000641 name="%renameParticipant.name.1"
bchilds5d4d56f2007-06-19 14:11:04 +0000642 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant"
643 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant">
644 <enablement>
645 <with variable="affectedNatures">
646 <iterate operator="or">
647 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
648 </iterate>
649 </with>
650 <with variable="element">
651 <instanceof value="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode" />
652
653 </with>
654 </enablement>
655 </renameParticipant>
656 <renameParticipant
bchilds3e120982007-11-06 21:49:40 +0000657 name="%renameParticipant.name.2"
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">
pberkland82712a92008-04-30 17:09:15 +0000668 <instanceof value="org.eclipse.wst.jsdt.core.IFunction" />
bchilds5d4d56f2007-06-19 14:11:04 +0000669
670 </with>
671 </enablement>
672 </renameParticipant>
673 <renameParticipant
bchilds3e120982007-11-06 21:49:40 +0000674 name="%renameParticipant.name.3"
bchilds5d4d56f2007-06-19 14:11:04 +0000675 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant"
676 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant">
677 <enablement>
678 <with variable="affectedNatures">
679 <iterate operator="or">
680 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
681
682 </iterate>
683 </with>
684 <with variable="element">
685 <instanceof value="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode" />
686
687 </with>
688 </enablement>
689 </renameParticipant>
bchilds423c5ef2007-07-05 22:56:35 +0000690
bchilds0d8372e2008-03-28 19:21:31 +0000691 </extension>
692 <extension point="org.eclipse.wst.jsdt.ui.JsGlobalScopeUIInitializer">
693 <JsGlobalScopeUIInitializer
694 id="org.eclipse.wst.jsdt.launching.WebProject"
695 class="org.eclipse.wst.jsdt.web.ui.WebProjectJsGlobalScopeUIInitializer">
696 </JsGlobalScopeUIInitializer>
697 </extension>
698
699
bchildsc2caaea2007-09-12 19:52:13 +0000700 <extension
701 point="org.eclipse.ui.popupMenus">
702 <objectContribution
703 objectClass="org.eclipse.core.resources.IProject"
704 adaptable="true"
705 id="org.eclipse.wst.jsdt.web.ui.jsdtSetup">
706 <menu
bchilds3e120982007-11-06 21:49:40 +0000707 label="%menu.label.5"
bchildsc2caaea2007-09-12 19:52:13 +0000708 id="org.eclipse.wst.jsdt.web.ui.project.tools">
709 <separator
710 name="group0">
711 </separator>
712 </menu>
713 <action
714 class="org.eclipse.wst.jsdt.web.ui.SetupProjectsWizzard"
bchilds3e120982007-11-06 21:49:40 +0000715 label="%action.label.21"
bchildsc2caaea2007-09-12 19:52:13 +0000716 menubarPath="org.eclipse.wst.jsdt.web.ui.project.tools/group0"
717 enablesFor="+"
718 id="org.eclipse.wst.jsdt.internal.web.ui.convertProjects">
719 </action>
720 </objectContribution>
721 </extension>
722 <!-- Uncomment for Standalone + HTML as seperate options -->
723 <!--
724 <extension
bchilds7267f872007-09-12 18:43:28 +0000725 point="org.eclipse.ui.popupMenus">
726 <objectContribution
727 objectClass="org.eclipse.core.resources.IProject"
728 adaptable="true"
729 id="org.eclipse.wst.jsdt.web.ui.jsdtSetup">
730 <action
731 label="Add Support for JavaScript in HTML"
732 class="org.eclipse.wst.jsdt.web.ui.SetupProjectsWizzard"
733 menubarPath="org.eclipse.wst.jsdt.ui.project.tools/group0"
734 enablesFor="+"
735 id="org.eclipse.wst.jsdt.web.internal.ui.convertProjects">
736 </action>
737 </objectContribution>
738 </extension>
bchildsc2caaea2007-09-12 19:52:13 +0000739 -->
bchilds68f36fc2007-03-01 22:47:33 +0000740</plugin>