blob: 1c5a073543699338b28f75a61695a2d8d1e2ddb6 [file] [log] [blame]
bchilds68f36fc2007-03-01 22:47:33 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<plugin>
4
bchildsb95206a2007-03-21 00:02:12 +00005 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
6 <provisionalConfiguration
7 type="contentassistprocessor"
8 class="org.eclipse.wst.jsdt.web.ui.internal.contentassist.JSDTContentAssistant"
9 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
10 <provisionalConfiguration
11 type="linestyleprovider"
12 class="org.eclipse.wst.jsdt.web.ui.internal.style.java.LineStyleProviderForJSDT"
13 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
14 <provisionalConfiguration
15 type="texthover"
16 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor"
17 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
18 <provisionalConfiguration
19 type="informationpresenter"
20 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTInformationProvider"
21 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
22 <provisionalConfiguration
23 type="characterpairmatcher"
24 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
25 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
26 <provisionalConfiguration
27 type="autoeditstrategy"
28 class="org.eclipse.wst.jsdt.web.ui.internal.autoedit.AutoEditStrategyForJs"
29 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
30 <provisionalConfiguration
31 type="contentformater"
32 class="org.eclipse.wst.jsdt.web.ui.internal.format.FormattingStrategyJSPJava"
33 target="org.eclipse.wst.html.SCRIPT" />
34 </extension>
35<!--
bchilds68f36fc2007-03-01 22:47:33 +000036 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
37 <sourceViewerConfiguration
38 class="org.eclipse.wst.jsdt.web.ui.StructuredTextViewerConfigurationJSP"
39 target="org.eclipse.wst.html.core.htmlsource" />
bchilds68f36fc2007-03-01 22:47:33 +000040 <provisionalConfiguration
41 type="characterpairmatcher"
bchilds8f94a9d2007-03-13 22:24:43 +000042 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
bchilds68f36fc2007-03-01 22:47:33 +000043 target="org.eclipse.wst.html.core.htmlsource" />
bchilds8f94a9d2007-03-13 22:24:43 +000044 <provisionalConfiguration
45 type="sourceeditingtexttools"
46 class="org.eclipse.wst.jsdt.web.ui.internal.editor.JsSourceEditingTextTools"
47 target="org.eclipse.wst.html.core.htmlsource" />
bchilds68f36fc2007-03-01 22:47:33 +000048 <provisionalConfiguration
49 type="structuredtextfoldingprovider"
50 class="org.eclipse.wst.jsdt.web.ui.internal.projection.StructuredTextFoldingProviderJSP"
51 target="org.eclipse.wst.html.core.htmlsource" />
52 <provisionalDefinition
53 type="preferencepages"
54 value="org.eclipse.wst.sse.ui.preferences.jsp, org.eclipse.wst.sse.ui.preferences.jsp.source, org.eclipse.wst.sse.ui.preferences.jsp.templates, org.eclipse.wst.sse.ui.preferences.jsp.styles"
55 target="org.eclipse.wst.html.core.htmlsource" />
56 <provisionalDefinition
57 type="showintarget"
58 value="org.eclipse.wst.jsdt.ui.PackageExplorer"
59 target="org.eclipse.wst.html.core.htmlsource" />
60 </extension>
bchildsb95206a2007-03-21 00:02:12 +000061 -->
bchilds8f94a9d2007-03-13 22:24:43 +000062 <!-- ====================================================================================== -->
bchilds68f36fc2007-03-01 22:47:33 +000063 <!-- source validation for JSP -->
64 <!--======================================================================================-->
65 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
66 <validator
67 scope="total"
bchilds8f94a9d2007-03-13 22:24:43 +000068 class="org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator"
bchilds68f36fc2007-03-01 22:47:33 +000069 id="org.eclipse.wst.jsdt.web.jspsourcevalidator">
bchilds8f94a9d2007-03-13 22:24:43 +000070 <contentTypeIdentifier id="org.eclipse.wst.html.core.htmlsource">
71 <partitionType id="org.eclipse.wst.html.SCRIPT" />
72 <partitionType id="org.eclipse.wst.html.SCRIPT.EVENT" />
bchilds68f36fc2007-03-01 22:47:33 +000073 </contentTypeIdentifier>
74 </validator>
75 </extension>
76
bchilds68f36fc2007-03-01 22:47:33 +000077 <!--======================================================================================-->
78 <!-- JSP UI Adapter factories -->
79 <!--======================================================================================-->
80 <extension
81 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
82 <adapterFactoryDescription
bchilds8f94a9d2007-03-13 22:24:43 +000083 class="org.eclipse.wst.jsdt.web.ui.internal.registry.AdapterFactoryProviderForJSDT">
bchilds68f36fc2007-03-01 22:47:33 +000084 <contentType id="org.eclipse.wst.html.core.htmlsource" />
85 </adapterFactoryDescription>
86 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +000087<!--======================================================================================-->
88<!-- JSP PREFERENCE PAGES -->
89<!--======================================================================================-->
90 <!-- Use the JSDTs prefrence pages -->
91 <!--
bchilds68f36fc2007-03-01 22:47:33 +000092 <extension point="org.eclipse.ui.preferencePages">
93
bchilds8f94a9d2007-03-13 22:24:43 +000094
bchilds68f36fc2007-03-01 22:47:33 +000095 <page
96 name="%JSP_Files.name"
97 category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
98 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPFilesPreferencePage"
99 id="org.eclipse.wst.sse.ui.preferences.jsp">
100 <keywordReference id="org.eclipse.wst.jsp.ui.files"/>
101 </page>
102 <page
103 name="%JSP_Source.name"
104 category="org.eclipse.wst.sse.ui.preferences.jsp"
105 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPSourcePreferencePage"
106 id="org.eclipse.wst.sse.ui.preferences.jsp.source">
107 </page>
108 <page
109 name="%JSP_Templates.name"
110 category="org.eclipse.wst.sse.ui.preferences.jsp"
111 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPTemplatePreferencePage"
112 id="org.eclipse.wst.sse.ui.preferences.jsp.templates">
113 <keywordReference id="org.eclipse.wst.jsp.ui.templates"/>
114 </page>
115 <page
116 name="%JSP_Styles.name"
117 category="org.eclipse.wst.sse.ui.preferences.jsp"
118 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPColorPage"
119 id="org.eclipse.wst.sse.ui.preferences.jsp.styles">
120 <keywordReference id="org.eclipse.wst.jsp.ui.styles"/>
121 </page>
122 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000123 -->
bchilds68f36fc2007-03-01 22:47:33 +0000124 <!-- Keywords for preference and properties pages -->
bchilds8f94a9d2007-03-13 22:24:43 +0000125 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000126 <extension point="org.eclipse.ui.keywords">
127 <keyword
128 label="%preferenceKeywords.files"
129 id="org.eclipse.wst.jsp.ui.files"/>
130 <keyword
131 label="%preferenceKeywords.templates"
132 id="org.eclipse.wst.jsp.ui.templates"/>
133 <keyword
134 label="%preferenceKeywords.styles"
135 id="org.eclipse.wst.jsp.ui.styles"/>
136 <keyword
137 label="%preferenceKeywords.fragments"
138 id="org.eclipse.wst.jsp.ui.fragments"/>
139 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000140 -->
bchilds68f36fc2007-03-01 22:47:33 +0000141
142
143
144 <!--======================================================================================-->
145 <!-- for breakpoint -->
146 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000147 <!-- removed for now -->
148 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000149 <extension point="org.eclipse.wst.sse.ui.breakpoint">
150 <breakpointContribution id="org.eclipse.wst.jsdt.web.ui.providers">
bchilds68f36fc2007-03-01 22:47:33 +0000151 <provider
bchilds46514c72007-03-06 01:30:32 +0000152 contentTypes="org.eclipse.wst.html.core.htmlsource"
bchilds68f36fc2007-03-01 22:47:33 +0000153 class="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*html,js,htm*"
154 id="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" />
155 </breakpointContribution>
156 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000157 -->
bchilds68f36fc2007-03-01 22:47:33 +0000158 <!--======================================================================================-->
159 <!-- Snippet View contributions -->
160 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000161 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000162 <extension
163 point="org.eclipse.wst.common.snippets.SnippetContributions">
164 <category
165 label="%JSP_Extension_Element.label"
166 smallicon="icons/snippets/tag-jsp.gif"
167 id="org.eclipse.wst.jsdt.web.ui.category0"
bchilds46514c72007-03-06 01:30:32 +0000168 contenttypes="org.eclipse.wst.html.core.htmlsource">
bchilds68f36fc2007-03-01 22:47:33 +0000169 <item
170 label="%jsp_hidden_comment"
171 smallicon="icons/snippets/tag-generic.gif"
172 id="org.eclipse.wst.jsdt.web.ui.jsp_hidden_comment">
173 <content>%jsp_hidden_comment_content</content>
174 </item>
175 <item
176 label="%jsp_scriptlet"
177 smallicon="icons/snippets/jspscr.gif"
178 id="org.eclipse.wst.jsdt.web.ui.jsp_scriptlet">
179 <content>%jsp_scr_content</content>
180 </item>
181 <item
182 label="%jsp_expression"
183 smallicon="icons/snippets/jspexp.gif"
184 id="org.eclipse.wst.jsdt.web.ui.jsp_expression">
185 <content>%jsp_expression_content</content>
186 </item>
187 <item
188 label="%jsp_declaration"
189 smallicon="icons/snippets/jspdecl.gif"
190 id="org.eclipse.wst.jsdt.web.ui.jsp_declaration">
191 <content>%jsp_declaration_content</content>
192 </item>
193 <item
194 label="%jsp_include_directive"
195 smallicon="icons/snippets/jspincl.gif"
196 id="org.eclipse.wst.jsdt.web.ui.jsp_include_directive">
197 <content>%jsp_include_directive_content</content>
198 </item>
199 <item
200 label="%jsp_page_directive"
201 id="org.eclipse.wst.jsdt.web.ui.jsp_page_directive">
202 <content>%jsp_page_directive_content</content>
203 </item>
204 <item
205 label="%jsp_taglib_directive"
206 smallicon="icons/snippets/jsptaglib.gif"
207 id="org.eclipse.wst.jsdt.web.ui.jsp_taglib_directive">
208 <content>%jsp_taglib_directive_content</content>
209 <variable
210 description="%jsp_taglib_directive_uri"
211 id="uri" />
212
213 <variable
214 default="mylib"
215 description="%jsp_taglib_directive_prefix"
216 id="prefix" />
217
218 </item>
219 </category>
220 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000221 -->
222
bchilds68f36fc2007-03-01 22:47:33 +0000223 <!-- Editor actionsets -->
bchilds8f94a9d2007-03-13 22:24:43 +0000224 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000225 <extension point="org.eclipse.ui.actionSetPartAssociations">
226 <actionSetPartAssociation
227 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
228 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
229 </actionSetPartAssociation>
230 <actionSetPartAssociation
231 targetID="org.eclipse.ui.NavigateActionSet">
232 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
233 </actionSetPartAssociation>
234 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000235 -->
bchilds68f36fc2007-03-01 22:47:33 +0000236
237
238
239
240 <!-- Keybindings for jsp source editor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000241
242 <extension point="org.eclipse.ui.bindings"> -->
bchilds68f36fc2007-03-01 22:47:33 +0000243 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
244 <!-- rename refactor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000245
bchilds68f36fc2007-03-01 22:47:33 +0000246 <key
247 sequence="M2+M3+R"
248 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
249 commandId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
250 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
251 </key>
bchilds8f94a9d2007-03-13 22:24:43 +0000252
bchilds68f36fc2007-03-01 22:47:33 +0000253 <!-- move refactor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000254
bchilds68f36fc2007-03-01 22:47:33 +0000255 <key
256 sequence="M2+M3+V"
257 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
258 commandId="org.eclipse.wst.jsdt.web.ui.refactor.move"
259 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
260 </key>
261 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000262
263
bchilds68f36fc2007-03-01 22:47:33 +0000264 <!--======================================================================================-->
265 <!-- Templates -->
266 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000267 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000268 <extension point="org.eclipse.ui.editors.templates">
269 <contextType
270 name="%All_JSP_context_type_Extension_Element.name"
271 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
272 id="jsp_all" />
273
274 <contextType
275 name="%JSP_New_context_type_Extension_Element.name"
276 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
277 id="jsp_new" />
278
279 <contextType
280 name="%JSP_Tag_context_type_Extension_Element.name"
281 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
282 id="jsp_tag" />
283
284 <contextType
285 name="%JSP_Attribute_context_type_Extension_Element.name"
286 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
287 id="jsp_attribute" />
288
289 <contextType
290 name="%JSP_Attribute_value_context_type_Extension_Element.name"
291 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
292 id="jsp_attribute_value" />
293
294 <include
295 file="templates/jspdefault-templates.xml"
296 translations="$nl$/templates/jspdefault-templates.properties" />
297
298 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000299 -->
bchilds68f36fc2007-03-01 22:47:33 +0000300 <!--======================================================================================-->
301 <!-- queryParticipant to participate in java seraches -->
302 <!--======================================================================================-->
bchildsd01b1ea2007-03-02 16:52:19 +0000303 <extension point="org.eclipse.wst.jsdt.ui.queryParticipants">
bchilds68f36fc2007-03-01 22:47:33 +0000304 <queryParticipant
305 name="%JSP_Query_Participant_Extension_Element.name"
bchildsd01b1ea2007-03-02 16:52:19 +0000306 nature="org.eclipse.wst.jsdt.core.jsNature"
bchilds68f36fc2007-03-01 22:47:33 +0000307 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.ui.JSPQueryParticipant"
308 id="org.eclipse.wst.jsdt.web.ui.java.search.ui.JSPQueryParticipant" />
309
310 </extension>
311 <!-- initialize xml ui preferences -->
bchilds8f94a9d2007-03-13 22:24:43 +0000312 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000313 <extension point="org.eclipse.core.runtime.preferences">
314 <initializer
315 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.JSPUIPreferenceInitializer" />
316 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000317 -->
318
bchilds68f36fc2007-03-01 22:47:33 +0000319 <!--======================================================================================-->
320 <!-- Document provider for ExternalFileEditorInput -->
321 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000322 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000323 <extension point="org.eclipse.ui.editors.documentProviders">
324 <provider
325 inputTypes="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.ExternalFileEditorInput"
326 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
327 id="org.eclipse.wst.jsdt.web.ui.internal.ExternalFileDocumentProvider" />
328
329 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000330 -->
bchilds68f36fc2007-03-01 22:47:33 +0000331 <!-- New JSP wizard -->
bchilds46514c72007-03-06 01:30:32 +0000332 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000333 <extension point="org.eclipse.ui.newWizards">
334 <wizard
335 id="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard"
336 name="%_UI_WIZARD_NAME"
337 class="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard"
338 category="org.eclipse.wst.web.ui"
339 icon="$nl$/icons/full/etool16/newjsp_wiz.gif">
340 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
341 <selection class="org.eclipse.core.resources.IResource" />
342 </wizard>
343 </extension>
bchilds46514c72007-03-06 01:30:32 +0000344 -->
bchilds68f36fc2007-03-01 22:47:33 +0000345 <!-- Add new JSP wizard to J2EE Project Navigator -->
bchilds46514c72007-03-06 01:30:32 +0000346 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000347 <extension
348 id="org.eclipse.wst.jsdt.web.commonWizard.newJSP"
349 point="org.eclipse.ui.navigator.navigatorContent">
350 <commonWizard
351 menuGroupId="org.eclipse.wst.web.ui"
352 type="new"
353 wizardId="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard">
354 <enablement>
355 <or>
356 <adapt type="org.eclipse.core.resources.IResource">
357 <test
358 property="org.eclipse.wst.common.project.facet.core.projectFacet"
359 value="jst.web"/>
360 </adapt>
361 </or>
362 </enablement>
363 </commonWizard>
364 </extension>
bchilds46514c72007-03-06 01:30:32 +0000365 -->
bchilds68f36fc2007-03-01 22:47:33 +0000366 <extension point="org.eclipse.ui.popupMenus">
367 <viewerContribution
368 targetID="org.eclipse.wst.jsdt.web.core.jspsource.source.RulerContext"
369 id="org.eclipse.ui.texteditor.ruler.context.actions">
370 <action
371 label="%AddTask.label"
372 helpContextId="org.eclipse.ui.AddTask_action_context"
373 class="org.eclipse.ui.texteditor.TaskRulerAction"
374 tooltip="%AddTask.tooltip"
375 menubarPath="additions"
376 id="org.eclipse.ui.texteditor.TaskRulerAction" />
377
378 <action
379 label="%AddBookmark.label"
380 helpContextId="org.eclipse.ui.bookmark_action_context"
381 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
382 tooltip="%AddBookmark.tooltip"
383 menubarPath="additions"
384 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
385
386 </viewerContribution>
387 </extension>
388
389 <extension point="org.eclipse.ui.editorActions">
390 <editorContribution
391 id="org.eclipse.wst.jsdt.web.core.jspsource.source.editorActions"
392 targetID="org.eclipse.wst.html.core.htmlsource">
393 <action
394 id="CleanupDocument"
395 label="%CleanupDocument_label"
396 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
397 tooltip="%CleanupDocument_tooltip"
398 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
399 actionID="CleanupDocument">
400 </action>
401 <action
402 id="ToggleComment"
403 label="%ToggleComment_label"
404 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
405 tooltip="%ToggleComment_tooltip"
406 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
407 actionID="ToggleComment">
408 </action>
409 <action
410 id="AddBlockComment"
411 label="%AddBlockComment_label"
412 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
413 tooltip="%AddBlockComment_tooltip"
414 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
415 actionID="AddBlockComment">
416 </action>
417 <action
418 id="RemoveBlockComment"
419 label="%RemoveBlockComment_label"
420 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
421 tooltip="%RemoveBlockComment_tooltip"
422 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
423 actionID="RemoveBlockComment">
424 </action>
425 <action
426 id="RenameElement"
427 label="%RenameElement_label"
428 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
429 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPRenameElementActionDelegate"
430 actionID="RenameElement">
431 </action>
432 <action
433 id="MoveElement"
434 label="%MoveElement_label"
435 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.move"
436 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMoveElementActionDelegate"
437 actionID="MoveElement">
438 </action>
439 <action
440 id="FindOccurrences"
441 label="%FindOccurrences_label"
442 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
443 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.JSPFindOccurrencesActionDelegate"
444 actionID="FindOccurrences">
445 </action>
446 <action
447 id="StructureSelectEnclosing"
448 label="%StructureSelectEnclosing_label"
449 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
450 tooltip="%StructureSelectEnclosing_tooltip"
451 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
452 actionID="StructureSelectEnclosing">
453 </action>
454 <action
455 id="StructureSelectNext"
456 label="%StructureSelectNext_label"
457 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
458 tooltip="%StructureSelectNext_tooltip"
459 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
460 actionID="StructureSelectNext">
461 </action>
462 <action
463 id="StructureSelectPrevious"
464 label="%StructureSelectPrevious_label"
465 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
466 tooltip="%StructureSelectPrevious_tooltip"
467 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
468 actionID="StructureSelectPrevious">
469 </action>
470 <action
471 id="StructureSelectHistory"
472 label="%StructureSelectHistory_label"
473 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
474 tooltip="%StructureSelectHistory_tooltip"
475 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
476 actionID="StructureSelectHistory">
477 </action>
478 </editorContribution>
479 <editorContribution
480 targetID="org.eclipse.wst.html.core.htmlsource"
481 id="org.eclipse.wst.jsdt.web.core.jspsource.ruler.actions">
482 <action
483 label="%AddBookmark.label"
484 helpContextId="org.eclipse.ui.bookmark_action_context"
485 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
486 actionID="RulerDoubleClick"
487 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
488 <action
489 label="%SelectRuler.label"
490 class="org.eclipse.ui.texteditor.SelectRulerAction"
491 actionID="RulerClick"
492 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
493 </editorContribution>
494 </extension>
495 <!-- JSP Fragment Property Page -->
bchilds8f94a9d2007-03-13 22:24:43 +0000496 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000497 <extension point="org.eclipse.ui.propertyPages">
bchilds8f94a9d2007-03-13 22:24:43 +0000498
bchilds68f36fc2007-03-01 22:47:33 +0000499 <page
500 name="%JSPFragmentContentSettings.name"
501 class="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ui.ProjectJSPFContentSettingsPropertyPage"
502 id="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ProjectJSPFContentSettingsPropertyPage">
503 <enabledWhen>
504 <and>
505 <adapt type="org.eclipse.core.resources.IProject">
506 <or>
507 <test
508 forcePluginActivation="true"
509 property="org.eclipse.wst.common.project.facet.core.projectFacet"
510 value="jst.web" />
511 </or>
512 </adapt>
513 </and>
514 </enabledWhen>
515 <keywordReference id="org.eclipse.wst.jsp.ui.fragments"/>
516 </page>
517 <page
518 name="%JSPFragmentContentSettings.name"
519 class="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ui.JSPFContentSettingsPropertyPage"
520 id="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.JSPFContentSettingsPropertyPage">
521 <enabledWhen>
522 <and>
523 <adapt type="org.eclipse.core.resources.IFile">
524 <or>
525 <test
526 forcePluginActivation="true"
527 property="org.eclipse.core.resources.contentTypeId"
528 value="org.eclipse.wst.jsdt.web.core.jspfragmentsource" />
529 <test
530 forcePluginActivation="true"
531 property="org.eclipse.core.resources.contentTypeId"
532 value="org.eclipse.wst.jsdt.web.core.cssjspfragmentsource" />
533 </or>
534 </adapt>
535 </and>
536 </enabledWhen>
537 <keywordReference id="org.eclipse.wst.jsp.ui.fragments"/>
538 </page>
bchilds8f94a9d2007-03-13 22:24:43 +0000539 </extension>
540 -->
bchilds68f36fc2007-03-01 22:47:33 +0000541 <!-- jsp-for-css editor configurations -->
bchilds8f94a9d2007-03-13 22:24:43 +0000542 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000543 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
544 <contentOutlineConfiguration
545 class="org.eclipse.wst.css.ui.views.contentoutline.CSSContentOutlineConfiguration"
546 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
547 <sourceViewerConfiguration
548 class="org.eclipse.wst.css.ui.StructuredTextViewerConfigurationCSS"
549 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
550 <propertySheetConfiguration
551 class="org.eclipse.wst.jsdt.web.css.ui.internal.views.properties.JSPedCSSPropertySheetConfiguration"
552 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
553 <provisionalConfiguration
554 type="characterpairmatcher"
555 class="org.eclipse.wst.css.ui.internal.text.CSSDocumentRegionEdgeMatcher"
556 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
557 <provisionalConfiguration
558 type="structuredtextfoldingprovider"
559 class="org.eclipse.wst.css.ui.internal.projection.StructuredTextFoldingProviderCSS"
560 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
561 <provisionalDefinition
562 type="preferencepages"
563 value="org.eclipse.wst.sse.ui.preferences.css, org.eclipse.wst.sse.ui.preferences.css.source, org.eclipse.wst.css.ui.preferences.templates, org.eclipse.wst.sse.ui.preferences.css.styles"
564 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
565 </extension>
566 <extension
567 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
568 <adapterFactoryDescription
569 class="org.eclipse.wst.jsdt.web.css.ui.internal.registry.AdapterFactoryProviderJSPedCSS">
570 <contentType id="org.eclipse.wst.jsdt.web.core.cssjspsource" />
571 </adapterFactoryDescription>
572 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000573 -->
bchilds68f36fc2007-03-01 22:47:33 +0000574</plugin>