blob: c55d4ca72bba1bd670301d29cf52a7d063d8bdcc [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
7 <sourceViewerConfiguration
8 class="org.eclipse.wst.jsdt.web.ui.StructuredTextViewerConfigurationJSDT"
9 target="org.eclipse.wst.html.core.htmlsource.source" />
10
bchilds1d322872007-06-25 15:28:17 +000011
bchilds6b966c72007-06-07 23:11:29 +000012 <contentOutlineConfiguration
13 class="org.eclipse.wst.jsdt.web.ui.views.provisional.contentoutline.JsContentOutlineConfig"
bchildsd332ebe2007-06-13 19:00:08 +000014 target="org.eclipse.wst.html.core.htmlsource.source" />
bchilds1d322872007-06-25 15:28:17 +000015
bchildsb95206a2007-03-21 00:02:12 +000016 <provisionalConfiguration
17 type="contentassistprocessor"
18 class="org.eclipse.wst.jsdt.web.ui.internal.contentassist.JSDTContentAssistant"
19 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
20 <provisionalConfiguration
21 type="linestyleprovider"
22 class="org.eclipse.wst.jsdt.web.ui.internal.style.java.LineStyleProviderForJSDT"
23 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
24 <provisionalConfiguration
25 type="texthover"
26 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor"
27 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
28 <provisionalConfiguration
29 type="informationpresenter"
30 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTInformationProvider"
31 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
32 <provisionalConfiguration
33 type="characterpairmatcher"
34 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
35 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
36 <provisionalConfiguration
37 type="autoeditstrategy"
38 class="org.eclipse.wst.jsdt.web.ui.internal.autoedit.AutoEditStrategyForJs"
39 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
40 <provisionalConfiguration
41 type="contentformater"
bchildsa1181702007-06-14 21:47:04 +000042 class="org.eclipse.wst.jsdt.web.ui.internal.format.FormattingStrategyJSDT"
bchildsb95206a2007-03-21 00:02:12 +000043 target="org.eclipse.wst.html.SCRIPT" />
bchilds9924d9f2007-05-02 00:26:07 +000044 <provisionalConfiguration
45 type="hyperlinkdetector"
bchildsa1181702007-06-14 21:47:04 +000046 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
bchilds9924d9f2007-05-02 00:26:07 +000047 target="org.eclipse.wst.html.SCRIPT" />
bchildsb95206a2007-03-21 00:02:12 +000048 </extension>
bchilds5d4d56f2007-06-19 14:11:04 +000049 <extension point = "org.eclipse.wst.sse.ui.extendedEditorActions">
50 <editorContribution
51 targetID="com.ibm.sse.editor.StructuredTextEditor"
52 id="com.ibm.sse.editor.extendedActions2">
53 <action
54 popupmenuPath="group.add"
55 label="Preferences2"
56 class="com.ibm.sse.editor.preferences.ui.EditStructuredTextEditorPreferencesAction"
57 id="com.ibm.sse.editor.preferences.ui.EditStructuredTextEditorPreferencesAction2">
58 </action>
59 </editorContribution>
60
61
62 </extension>
bchildsd5b9b822007-05-31 22:01:33 +000063 <extension
64 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
65 <target
66 id="org.eclipse.wst.html.SCRIPT"
67 name="JavaScirpt Source">
68 </target>
69 </extension>
70
71 <extension
72 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
73 <target
74 id="org.eclipse.wst.html.SCRIPT.EVENT"
75 name="JavaScirpt Event Source">
76 </target>
77 </extension>
78
79 <extension
80 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
bchildsd5b9b822007-05-31 22:01:33 +000081 <hyperlinkDetector
bchildsa1181702007-06-14 21:47:04 +000082 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
bchildsd5b9b822007-05-31 22:01:33 +000083 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector"
84 name="Java Element HyperLink Detector"
85 targetId="org.eclipse.wst.html.SCRIPT">
86 </hyperlinkDetector>
87 <hyperlinkDetector
bchildsa1181702007-06-14 21:47:04 +000088 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector"
bchildsd5b9b822007-05-31 22:01:33 +000089 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector"
90 name="Java Element HyperLink Detector"
91 targetId="org.eclipse.wst.html.SCRIPT.EVENT">
92 </hyperlinkDetector>
93 </extension>
bchilds6b966c72007-06-07 23:11:29 +000094
95
96 <extension
97 point="org.eclipse.ui.popupMenus">
bchilds73b88932007-06-11 20:45:50 +000098 <!-- 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 +000099 <objectContribution
bchilds5d4d56f2007-06-19 14:11:04 +0000100 objectClass="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode"
bchilds6b966c72007-06-07 23:11:29 +0000101 id="org.eclipse.wst.jsdt.web.ui.JavaActions">
bchilds73b88932007-06-11 20:45:50 +0000102 <!-- Declerations Search Menu -->
bchildsfe706322007-06-11 15:09:02 +0000103 <menu
bchilds73b88932007-06-11 20:45:50 +0000104 id="org.eclipse.wst.jsdt.web.declerations"
105 label="Declerations"
106 path="group.search">
107 <separator name="declerations"/>
bchildsfe706322007-06-11 15:09:02 +0000108 </menu>
109 <action
bchilds73b88932007-06-11 20:45:50 +0000110 label="Working Set"
111 tooltip="Working Set"
112 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
113 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesInWorkingSetAction"
114 enablesFor="1"
115 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInWorkingSetAction">
116 </action>
117 <action
118 label="Hierarchy"
119 tooltip="Hierarchy"
120 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
bchildsfe706322007-06-11 15:09:02 +0000121 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
122 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000123 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInHierarchyAction">
124 </action>
bchildsfe706322007-06-11 15:09:02 +0000125 <action
126 label="Project"
127 tooltip="Project"
bchilds73b88932007-06-11 20:45:50 +0000128 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
bchildsfe706322007-06-11 15:09:02 +0000129 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
130 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000131 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsInProjectAction">
bchildsfe706322007-06-11 15:09:02 +0000132 </action>
bchilds73b88932007-06-11 20:45:50 +0000133
134 <action
135 label="Workspace"
136 tooltip=""
137 menubarPath="org.eclipse.wst.jsdt.web.declerations/declerations"
138 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
139 enablesFor="1"
140 id="org.eclipse.wst.jsdt.ui.actions.FindDeclarationsAction">
141 </action>
142
143 <!-- Refrences Search menu -->
144 <menu
145 id="org.eclipse.wst.jsdt.web.references"
146 label="References"
147 path="group.search">
148 <separator name="references"/>
149 </menu>
150 <action
151 label="Working Set"
152 tooltip="Working Set"
153 menubarPath="org.eclipse.wst.jsdt.web.references/references"
154 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesInWorkingSetAction"
155 enablesFor="1"
156 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInWorkingSetAction">
157 </action>
bchildsfe706322007-06-11 15:09:02 +0000158 <action
159 label="Hierarchy"
160 tooltip="Hierarchy"
161 menubarPath="org.eclipse.wst.jsdt.web.references/references"
162 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
163 enablesFor="1"
164 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInHierarchyAction">
165 </action>
bchilds73b88932007-06-11 20:45:50 +0000166 <action
167 label="Project"
168 tooltip="Project"
bchildsfe706322007-06-11 15:09:02 +0000169 menubarPath="org.eclipse.wst.jsdt.web.references/references"
170 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
171 enablesFor="1"
bchilds73b88932007-06-11 20:45:50 +0000172 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesInProjectAction">
173 </action>
174
175 <action
176 label="Workspace"
177 tooltip=""
178 menubarPath="org.eclipse.wst.jsdt.web.references/references"
179 class="org.eclipse.wst.jsdt.web.ui.actions.FindReferencesAction"
180 enablesFor="1"
181 id="org.eclipse.wst.jsdt.ui.actions.FindReferencesAction">
182 </action>
bchilds7123e002007-06-12 22:02:54 +0000183 <!-- Source and Refactoring Menu's -->
184 <menu
185 id="org.eclipse.wst.jsdt.web.refactor"
186 label="Refactor"
187 path="group.generate">
188 <separator name="refactor"/>
189 </menu>
190
191 <menu
192 id="org.eclipse.wst.jsdt.web.source"
193 label="Source"
194 path="group.generate">
195 <separator name="source"/>
196 </menu>
197 <!-- Source Actions -->
198 <action
199 label="Generate Element Comment"
200 tooltip="Generate Element Comment"
201 menubarPath="org.eclipse.wst.jsdt.web.source/source"
202 style="push"
bchildsd332ebe2007-06-13 19:00:08 +0000203 class="org.eclipse.wst.jsdt.web.ui.actions.AddJavaDocStubAction"
bchilds7123e002007-06-12 22:02:54 +0000204 enablesFor="*"
205 id="org.eclipse.wst.jsdt.web.ui.generate.element.comment">
206 </action>
207 <!-- Refactor Actions -->
208 <action
209 label="Change Function Signature"
210 tooltip="Change Function Signature"
211 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
212 style="push"
213 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
214 enablesFor="*"
215 id="org.eclipse.wst.jsdt.web.ui.change.function.signature">
216 </action>
217 <action
218 label="Move"
219 tooltip="Move"
220 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
221 style="push"
222 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
223 enablesFor="*"
224 id="org.eclipse.wst.jsdt.web.ui.Move">
225 </action>
226 <action
227 label="Rename"
228 tooltip="Rename"
229 menubarPath="org.eclipse.wst.jsdt.web.refactor/refactor"
230 style="push"
231 class="org.eclipse.wst.jsdt.web.ui.actions.SourceActionsAction"
232 enablesFor="*"
233 id="org.eclipse.wst.jsdt.web.ui.rename">
234 </action>
235
236
237 <!-- Edit (cut copy paste etc.. -->
238 <action
239 label="Delete"
240 tooltip="Delete"
241 menubarPath="group.edit"
242 style="push"
243 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
244 enablesFor="*"
245 id="org.eclipse.wst.jsdt.web.ui.delete">
246 </action>
247
248 <action
249 label="Paste After"
250 tooltip="Paste"
251 menubarPath="group.edit"
252 style="push"
253 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
254 enablesFor="1"
255 id="org.eclipse.wst.jsdt.web.ui.paste.after">
256 </action>
257 <action
258 label="Paste Before"
259 tooltip="Paste"
260 menubarPath="group.edit"
261 style="push"
262 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
263 enablesFor="1"
264 id="org.eclipse.wst.jsdt.web.ui.paste.before">
265 </action>
266 <action
267 label="Copy"
268 tooltip="Copy"
269 menubarPath="group.edit"
270 style="push"
271 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
272 enablesFor="*"
273 id="org.eclipse.wst.jsdt.web.ui.copy">
274 </action>
275
276 <action
277 label="Cut"
278 tooltip="Cut"
279 menubarPath="group.edit"
280 style="push"
281 class="org.eclipse.wst.jsdt.web.ui.actions.StandardEditorActionsAction"
282 enablesFor="*"
283 id="org.eclipse.wst.jsdt.web.ui.cut">
284 </action>
bchilds73b88932007-06-11 20:45:50 +0000285
286 <!-- Show in Script Explorer, History and Navigator -->
287 <menu
288 id="org.eclipse.wst.jsdt.web.showin"
289 label="Show In"
290 path="group.show">
291 <separator name="showin"/>
292 </menu>
293 <action
294 label="Navigator"
295 tooltip="Show In Navigator"
296 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
297 style="push"
298 class="org.eclipse.wst.jsdt.web.ui.actions.ShowInNavigatorAction"
299 enablesFor="1"
300 id="org.eclipse.wst.jsdt.ui.actions.ShowInNavigatorViewAction">
301 </action>
302 <!-- History not working well -->
303 <!--
304 <action
305 label="History"
306 tooltip="Show In History"
307 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
308 style="push"
309 class="org.eclipse.wst.jsdt.web.ui.actions.ShowHistoryAction"
310 enablesFor="1"
311 id="org.eclipse.wst.jsdt.internal.ui.callhierarchy.OpenCallHierarchyAction">
bchildsfe706322007-06-11 15:09:02 +0000312 </action>
bchilds73b88932007-06-11 20:45:50 +0000313 -->
314 <action
315 label="Script Explorer"
316 tooltip="Show In Script Explorer"
317 menubarPath="org.eclipse.wst.jsdt.web.showin/showin"
318 style="push"
319 class="org.eclipse.wst.jsdt.web.ui.actions.ShowInScriptExplorerAction"
320 enablesFor="1"
321 id="org.eclipse.wst.jsdt.ui.actions.ShowInScriptExplorer">
322 </action>
323
324 <!-- Open Call and Type Hierarchies -->
325 <action
326 label="Open Call Hierarchy"
327 tooltip="Open Call Hierarchy"
328 menubarPath="group.show"
329 style="push"
330 class="org.eclipse.wst.jsdt.web.ui.actions.OpenCallHierarchyAction"
331 enablesFor="1"
332 id="org.eclipse.wst.jsdt.internal.ui.callhierarchy.OpenCallHierarchyAction">
333 </action>
334 <action
335 label="Open Type Hierarchy"
336 tooltip="Open Type Hierarchy"
337 menubarPath="group.show"
338 style="push"
339 class="org.eclipse.wst.jsdt.web.ui.actions.OpenTypeHierarchy"
340 enablesFor="1"
341 id="org.eclipse.wst.jsdt.ui.actions.OpenTypeHierarchyAction">
342 </action>
343 </objectContribution>
bchilds6b966c72007-06-07 23:11:29 +0000344
345 </extension>
346
bchildsa1181702007-06-14 21:47:04 +0000347
bchilds8f94a9d2007-03-13 22:24:43 +0000348 <!-- ====================================================================================== -->
bchilds68f36fc2007-03-01 22:47:33 +0000349 <!-- source validation for JSP -->
350 <!--======================================================================================-->
bchildsd332ebe2007-06-13 19:00:08 +0000351
bchilds68f36fc2007-03-01 22:47:33 +0000352 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
353 <validator
354 scope="total"
bchilds8f94a9d2007-03-13 22:24:43 +0000355 class="org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator"
bchilds68f36fc2007-03-01 22:47:33 +0000356 id="org.eclipse.wst.jsdt.web.jspsourcevalidator">
bchilds8f94a9d2007-03-13 22:24:43 +0000357 <contentTypeIdentifier id="org.eclipse.wst.html.core.htmlsource">
bchilds9924d9f2007-05-02 00:26:07 +0000358 <partitionType id="org.eclipse.wst.html.SCRIPT"></partitionType>
359 <partitionType id="org.eclipse.wst.html.SCRIPT.EVENT"></partitionType>
360 </contentTypeIdentifier>
361 </validator>
362
363
364 </extension>
bchildsd332ebe2007-06-13 19:00:08 +0000365
bchilds68f36fc2007-03-01 22:47:33 +0000366 <!--======================================================================================-->
367 <!-- JSP UI Adapter factories -->
368 <!--======================================================================================-->
369 <extension
370 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
371 <adapterFactoryDescription
bchilds8f94a9d2007-03-13 22:24:43 +0000372 class="org.eclipse.wst.jsdt.web.ui.internal.registry.AdapterFactoryProviderForJSDT">
bchilds68f36fc2007-03-01 22:47:33 +0000373 <contentType id="org.eclipse.wst.html.core.htmlsource" />
374 </adapterFactoryDescription>
375 </extension>
bchilds68f36fc2007-03-01 22:47:33 +0000376
bchilds68f36fc2007-03-01 22:47:33 +0000377
378
379
380 <!--======================================================================================-->
381 <!-- for breakpoint -->
382 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000383 <!-- removed for now -->
384 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000385 <extension point="org.eclipse.wst.sse.ui.breakpoint">
386 <breakpointContribution id="org.eclipse.wst.jsdt.web.ui.providers">
bchilds68f36fc2007-03-01 22:47:33 +0000387 <provider
bchilds46514c72007-03-06 01:30:32 +0000388 contentTypes="org.eclipse.wst.html.core.htmlsource"
bchilds68f36fc2007-03-01 22:47:33 +0000389 class="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*html,js,htm*"
390 id="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" />
391 </breakpointContribution>
392 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000393 -->
bchildsa1181702007-06-14 21:47:04 +0000394
bchilds8f94a9d2007-03-13 22:24:43 +0000395
bchilds68f36fc2007-03-01 22:47:33 +0000396 <!-- Editor actionsets -->
bchilds8f94a9d2007-03-13 22:24:43 +0000397 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000398 <extension point="org.eclipse.ui.actionSetPartAssociations">
399 <actionSetPartAssociation
400 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
401 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
402 </actionSetPartAssociation>
403 <actionSetPartAssociation
404 targetID="org.eclipse.ui.NavigateActionSet">
405 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
406 </actionSetPartAssociation>
407 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000408 -->
bchilds68f36fc2007-03-01 22:47:33 +0000409
410
411
412
413 <!-- Keybindings for jsp source editor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000414
415 <extension point="org.eclipse.ui.bindings"> -->
bchilds68f36fc2007-03-01 22:47:33 +0000416 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
417 <!-- rename refactor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000418
bchilds68f36fc2007-03-01 22:47:33 +0000419 <key
420 sequence="M2+M3+R"
421 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
422 commandId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
423 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
424 </key>
bchilds8f94a9d2007-03-13 22:24:43 +0000425
bchilds68f36fc2007-03-01 22:47:33 +0000426 <!-- move refactor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000427
bchilds68f36fc2007-03-01 22:47:33 +0000428 <key
429 sequence="M2+M3+V"
430 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
431 commandId="org.eclipse.wst.jsdt.web.ui.refactor.move"
432 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
433 </key>
434 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000435
436
bchildsa1181702007-06-14 21:47:04 +0000437
bchilds68f36fc2007-03-01 22:47:33 +0000438 <!--======================================================================================-->
439 <!-- queryParticipant to participate in java seraches -->
440 <!--======================================================================================-->
bchildsd01b1ea2007-03-02 16:52:19 +0000441 <extension point="org.eclipse.wst.jsdt.ui.queryParticipants">
bchilds68f36fc2007-03-01 22:47:33 +0000442 <queryParticipant
bchildsa1181702007-06-14 21:47:04 +0000443 name="JavaScript Query Participant"
bchildsd01b1ea2007-03-02 16:52:19 +0000444 nature="org.eclipse.wst.jsdt.core.jsNature"
bchildsa1181702007-06-14 21:47:04 +0000445 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.ui.JsQueryParticipant"
446 id="org.eclipse.wst.jsdt.web.ui.java.search.ui.JsQueryParticipant" />
bchilds68f36fc2007-03-01 22:47:33 +0000447
448 </extension>
bchildsa1181702007-06-14 21:47:04 +0000449
bchilds8f94a9d2007-03-13 22:24:43 +0000450
bchilds68f36fc2007-03-01 22:47:33 +0000451 <!--======================================================================================-->
452 <!-- Document provider for ExternalFileEditorInput -->
453 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000454 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000455 <extension point="org.eclipse.ui.editors.documentProviders">
456 <provider
457 inputTypes="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.ExternalFileEditorInput"
458 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
459 id="org.eclipse.wst.jsdt.web.ui.internal.ExternalFileDocumentProvider" />
460
461 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000462 -->
bchildsa1181702007-06-14 21:47:04 +0000463
bchilds68f36fc2007-03-01 22:47:33 +0000464 <extension point="org.eclipse.ui.popupMenus">
465 <viewerContribution
466 targetID="org.eclipse.wst.jsdt.web.core.jspsource.source.RulerContext"
467 id="org.eclipse.ui.texteditor.ruler.context.actions">
468 <action
469 label="%AddTask.label"
470 helpContextId="org.eclipse.ui.AddTask_action_context"
471 class="org.eclipse.ui.texteditor.TaskRulerAction"
472 tooltip="%AddTask.tooltip"
473 menubarPath="additions"
474 id="org.eclipse.ui.texteditor.TaskRulerAction" />
475
476 <action
477 label="%AddBookmark.label"
478 helpContextId="org.eclipse.ui.bookmark_action_context"
479 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
480 tooltip="%AddBookmark.tooltip"
481 menubarPath="additions"
482 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
483
484 </viewerContribution>
485 </extension>
486
487 <extension point="org.eclipse.ui.editorActions">
488 <editorContribution
489 id="org.eclipse.wst.jsdt.web.core.jspsource.source.editorActions"
bchilds6b966c72007-06-07 23:11:29 +0000490 contributorClass="org.eclipse.wst.jsdt.internal.ui.javaeditor.CompilationUnitEditorActionContributor"
bchilds68f36fc2007-03-01 22:47:33 +0000491 targetID="org.eclipse.wst.html.core.htmlsource">
492 <action
493 id="CleanupDocument"
494 label="%CleanupDocument_label"
495 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
496 tooltip="%CleanupDocument_tooltip"
497 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
498 actionID="CleanupDocument">
499 </action>
500 <action
501 id="ToggleComment"
502 label="%ToggleComment_label"
503 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
504 tooltip="%ToggleComment_tooltip"
505 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
506 actionID="ToggleComment">
507 </action>
508 <action
509 id="AddBlockComment"
510 label="%AddBlockComment_label"
511 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
512 tooltip="%AddBlockComment_tooltip"
513 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
514 actionID="AddBlockComment">
515 </action>
516 <action
517 id="RemoveBlockComment"
518 label="%RemoveBlockComment_label"
519 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
520 tooltip="%RemoveBlockComment_tooltip"
521 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
522 actionID="RemoveBlockComment">
523 </action>
524 <action
525 id="RenameElement"
526 label="%RenameElement_label"
527 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
528 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPRenameElementActionDelegate"
529 actionID="RenameElement">
530 </action>
531 <action
532 id="MoveElement"
533 label="%MoveElement_label"
534 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.move"
535 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMoveElementActionDelegate"
536 actionID="MoveElement">
537 </action>
538 <action
539 id="FindOccurrences"
540 label="%FindOccurrences_label"
541 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
bchildsa1181702007-06-14 21:47:04 +0000542 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.JsFindOccurrencesActionDelegate"
bchilds68f36fc2007-03-01 22:47:33 +0000543 actionID="FindOccurrences">
544 </action>
545 <action
546 id="StructureSelectEnclosing"
547 label="%StructureSelectEnclosing_label"
548 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
549 tooltip="%StructureSelectEnclosing_tooltip"
550 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
551 actionID="StructureSelectEnclosing">
552 </action>
553 <action
554 id="StructureSelectNext"
555 label="%StructureSelectNext_label"
556 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
557 tooltip="%StructureSelectNext_tooltip"
558 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
559 actionID="StructureSelectNext">
560 </action>
561 <action
562 id="StructureSelectPrevious"
563 label="%StructureSelectPrevious_label"
564 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
565 tooltip="%StructureSelectPrevious_tooltip"
566 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
567 actionID="StructureSelectPrevious">
568 </action>
569 <action
570 id="StructureSelectHistory"
571 label="%StructureSelectHistory_label"
572 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
573 tooltip="%StructureSelectHistory_tooltip"
574 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
575 actionID="StructureSelectHistory">
576 </action>
577 </editorContribution>
578 <editorContribution
579 targetID="org.eclipse.wst.html.core.htmlsource"
580 id="org.eclipse.wst.jsdt.web.core.jspsource.ruler.actions">
581 <action
582 label="%AddBookmark.label"
583 helpContextId="org.eclipse.ui.bookmark_action_context"
584 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
585 actionID="RulerDoubleClick"
586 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
587 <action
588 label="%SelectRuler.label"
589 class="org.eclipse.ui.texteditor.SelectRulerAction"
590 actionID="RulerClick"
591 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
592 </editorContribution>
593 </extension>
bchilds5d4d56f2007-06-19 14:11:04 +0000594 <!--======================================================================================-->
595 <!-- FOR JSP/JAVA RENAME PARTICIPATION -->
596 <!--======================================================================================-->
597 <extension
598 point="org.eclipse.ltk.core.refactoring.renameParticipants">
599 <renameParticipant
600 name="JSDT Web Rename Participant"
601 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant"
602 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant">
603 <enablement>
604 <with variable="affectedNatures">
605 <iterate operator="or">
606 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
607 </iterate>
608 </with>
609 <with variable="element">
610 <instanceof value="org.eclipse.wst.jsdt.core.IType" />
611
612 </with>
613 </enablement>
614 </renameParticipant>
615 <renameParticipant
616 name="JSDT Web Rename Participant"
617 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant"
618 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPTypeRenameParticipant">
619 <enablement>
620 <with variable="affectedNatures">
621 <iterate operator="or">
622 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
623 </iterate>
624 </with>
625 <with variable="element">
626 <instanceof value="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode" />
627
628 </with>
629 </enablement>
630 </renameParticipant>
631 <renameParticipant
632 name="JSDT Web Rename Participant"
633 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant"
634 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant">
635 <enablement>
636 <with variable="affectedNatures">
637 <iterate operator="or">
638 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
639
640 </iterate>
641 </with>
642 <with variable="element">
643 <instanceof value="org.eclipse.wst.jsdt.core.IMethod" />
644
645 </with>
646 </enablement>
647 </renameParticipant>
648 <renameParticipant
649 name="JSDT Web Rename Participant"
650 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant"
651 id="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMethodRenameParticipant">
652 <enablement>
653 <with variable="affectedNatures">
654 <iterate operator="or">
655 <equals value="org.eclipse.wst.jsdt.core.jsNature" />
656
657 </iterate>
658 </with>
659 <with variable="element">
660 <instanceof value="org.eclipse.wst.jsdt.web.ui.views.contentoutline.IJavaWebNode" />
661
662 </with>
663 </enablement>
664 </renameParticipant>
665
666 </extension>
bchilds68f36fc2007-03-01 22:47:33 +0000667</plugin>