blob: 94b79e4f7df942210d68b7515b4e2c91aa06641a [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
5 <extension
6 point="org.eclipse.wst.html.core.subcontentprovider">
7 <sourceViewerConfiguration
8 class="org.eclipse.wst.jsdt.web.ui.StructuredTextViewerConfigurationJSP"/>
9 <partitionHelper
10 class="org.eclipse.wst.jsdt.web.core.internal.text.StructuredTextPartitionerForJSP"
11 masterPartitions="org.eclipse.wst.html.core.SCRIPT,org.eclipse.wst.html.DEFAULT"/>
12 <content
13 partition="org.eclipse.wst.html.SCRIPT"
14 featureLevel="100"/>
15 </extension>
16
17
18
19
20 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
21 <sourceViewerConfiguration
22 class="org.eclipse.wst.jsdt.web.ui.StructuredTextViewerConfigurationJSP"
23 target="org.eclipse.wst.html.core.htmlsource" />
24 <contentOutlineConfiguration
25 class="org.eclipse.wst.jsdt.web.ui.views.contentoutline.JSPContentOutlineConfiguration"
26 target="org.eclipse.wst.html.core.htmlsource" />
27 <propertySheetConfiguration
28 class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration"
29 target="org.eclipse.wst.html.core.htmlsource" />
30 <provisionalConfiguration
31 type="sourceeditingtexttools"
32 class="org.eclipse.wst.jsdt.web.ui.internal.editor.JSPSourceEditingTextTools"
33 target="org.eclipse.wst.html.core.htmlsource" />
34 <provisionalConfiguration
35 type="characterpairmatcher"
36 class="org.eclipse.wst.jsdt.web.ui.internal.text.JSPDocumentRegionEdgeMatcher"
37 target="org.eclipse.wst.html.core.htmlsource" />
38 <provisionalConfiguration
39 type="structuredtextfoldingprovider"
40 class="org.eclipse.wst.jsdt.web.ui.internal.projection.StructuredTextFoldingProviderJSP"
41 target="org.eclipse.wst.html.core.htmlsource" />
42 <provisionalDefinition
43 type="preferencepages"
44 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"
45 target="org.eclipse.wst.html.core.htmlsource" />
46 <provisionalDefinition
47 type="showintarget"
48 value="org.eclipse.wst.jsdt.ui.PackageExplorer"
49 target="org.eclipse.wst.html.core.htmlsource" />
50 </extension>
51
52 <!--======================================================================================-->
53 <!-- source validation for JSP -->
54 <!--======================================================================================-->
55 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
56 <validator
57 scope="total"
58 class="org.eclipse.wst.jsdt.web.core.internal.validation.JSPJavaValidator"
59 id="org.eclipse.wst.jsdt.web.jspsourcevalidator">
60 <contentTypeIdentifier
61 id="org.eclipse.wst.html.core.htmlsource">
62
63 <partitionType id="org.eclipse.wst.html.SCRIPT">
64 </partitionType>
65
66
67 </contentTypeIdentifier>
68 </validator>
69 </extension>
70
71
72 <!--======================================================================================-->
73 <!-- custom XML source (as you type) validation -->
74 <!--======================================================================================-->
75 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
76 <validator
77 scope="partial"
78 class="org.eclipse.wst.xml.ui.internal.validation.MarkupValidator"
79 id="org.eclipse.wst.jsdt.web.ui.internal.validation.markupvalidator">
80 <contentTypeIdentifier
81 id="org.eclipse.wst.html.core.htmlsource">
82
83 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
84 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
85 </contentTypeIdentifier>
86 </validator>
87 </extension>
88 <!--======================================================================================-->
89 <!-- HTML (as you type) validation -->
90 <!--======================================================================================-->
91 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
92 <validator
93 scope="partial"
94 class="org.eclipse.wst.html.internal.validation.HTMLValidator"
95 id="org.eclipse.wst.jsdt.web.ui.internal.validation.htmlsyntaxvalidator">
96 <contentTypeIdentifier
97 id="org.eclipse.wst.html.core.htmlsource">
98
99 <partitionType id="org.eclipse.wst.html.HTML_DEFAULT"/>
100 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
101 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
102 </contentTypeIdentifier>
103 </validator>
104 </extension>
105
106 <!--======================================================================================-->
107 <!-- JSP UI Adapter factories -->
108 <!--======================================================================================-->
109 <extension
110 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
111 <adapterFactoryDescription
112 class="org.eclipse.wst.jsdt.web.ui.internal.registry.AdapterFactoryProviderForJSP">
113 <contentType id="org.eclipse.wst.html.core.htmlsource" />
114 </adapterFactoryDescription>
115 </extension>
116
117 <extension
118 point="org.eclipse.core.filebuffers.annotationModelCreation">
119 <factory
120 contentTypeId="org.eclipse.wst.html.core.htmlsource"
121 class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" />
122 </extension>
123
124 <extension point="org.eclipse.ui.preferencePages">
125
126 <!--======================================================================================-->
127 <!-- JSP PREFERENCE PAGES -->
128 <!--======================================================================================-->
129 <page
130 name="%JSP_Files.name"
131 category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
132 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPFilesPreferencePage"
133 id="org.eclipse.wst.sse.ui.preferences.jsp">
134 <keywordReference id="org.eclipse.wst.jsp.ui.files"/>
135 </page>
136 <page
137 name="%JSP_Source.name"
138 category="org.eclipse.wst.sse.ui.preferences.jsp"
139 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPSourcePreferencePage"
140 id="org.eclipse.wst.sse.ui.preferences.jsp.source">
141 </page>
142 <page
143 name="%JSP_Templates.name"
144 category="org.eclipse.wst.sse.ui.preferences.jsp"
145 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPTemplatePreferencePage"
146 id="org.eclipse.wst.sse.ui.preferences.jsp.templates">
147 <keywordReference id="org.eclipse.wst.jsp.ui.templates"/>
148 </page>
149 <page
150 name="%JSP_Styles.name"
151 category="org.eclipse.wst.sse.ui.preferences.jsp"
152 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPColorPage"
153 id="org.eclipse.wst.sse.ui.preferences.jsp.styles">
154 <keywordReference id="org.eclipse.wst.jsp.ui.styles"/>
155 </page>
156 </extension>
157
158 <!-- Keywords for preference and properties pages -->
159 <extension point="org.eclipse.ui.keywords">
160 <keyword
161 label="%preferenceKeywords.files"
162 id="org.eclipse.wst.jsp.ui.files"/>
163 <keyword
164 label="%preferenceKeywords.templates"
165 id="org.eclipse.wst.jsp.ui.templates"/>
166 <keyword
167 label="%preferenceKeywords.styles"
168 id="org.eclipse.wst.jsp.ui.styles"/>
169 <keyword
170 label="%preferenceKeywords.fragments"
171 id="org.eclipse.wst.jsp.ui.fragments"/>
172 </extension>
173
174
175
176
177 <!--======================================================================================-->
178 <!-- for breakpoint -->
179 <!--======================================================================================-->
180 <extension point="org.eclipse.wst.sse.ui.breakpoint">
181 <breakpointContribution id="org.eclipse.wst.jsdt.web.ui.providers">
182 <!--
183 <provider
184 extensions="jsp, jspf, jsf"
185 class="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider"
186 id="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider">
187 </provider>
188 -->
189 <provider
190 contentTypes="org.eclipse.wst.jsdt.web.core.jspsource"
191 class="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*html,js,htm*"
192 id="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" />
193 </breakpointContribution>
194 </extension>
195
196 <!--======================================================================================-->
197 <!-- Snippet View contributions -->
198 <!--======================================================================================-->
199 <extension
200 point="org.eclipse.wst.common.snippets.SnippetContributions">
201 <category
202 label="%JSP_Extension_Element.label"
203 smallicon="icons/snippets/tag-jsp.gif"
204 id="org.eclipse.wst.jsdt.web.ui.category0"
205 contenttypes="org.eclipse.wst.jsdt.web.core.jspsource">
206 <item
207 label="%jsp_hidden_comment"
208 smallicon="icons/snippets/tag-generic.gif"
209 id="org.eclipse.wst.jsdt.web.ui.jsp_hidden_comment">
210 <content>%jsp_hidden_comment_content</content>
211 </item>
212 <item
213 label="%jsp_scriptlet"
214 smallicon="icons/snippets/jspscr.gif"
215 id="org.eclipse.wst.jsdt.web.ui.jsp_scriptlet">
216 <content>%jsp_scr_content</content>
217 </item>
218 <item
219 label="%jsp_expression"
220 smallicon="icons/snippets/jspexp.gif"
221 id="org.eclipse.wst.jsdt.web.ui.jsp_expression">
222 <content>%jsp_expression_content</content>
223 </item>
224 <item
225 label="%jsp_declaration"
226 smallicon="icons/snippets/jspdecl.gif"
227 id="org.eclipse.wst.jsdt.web.ui.jsp_declaration">
228 <content>%jsp_declaration_content</content>
229 </item>
230 <item
231 label="%jsp_include_directive"
232 smallicon="icons/snippets/jspincl.gif"
233 id="org.eclipse.wst.jsdt.web.ui.jsp_include_directive">
234 <content>%jsp_include_directive_content</content>
235 </item>
236 <item
237 label="%jsp_page_directive"
238 id="org.eclipse.wst.jsdt.web.ui.jsp_page_directive">
239 <content>%jsp_page_directive_content</content>
240 </item>
241 <item
242 label="%jsp_taglib_directive"
243 smallicon="icons/snippets/jsptaglib.gif"
244 id="org.eclipse.wst.jsdt.web.ui.jsp_taglib_directive">
245 <content>%jsp_taglib_directive_content</content>
246 <variable
247 description="%jsp_taglib_directive_uri"
248 id="uri" />
249
250 <variable
251 default="mylib"
252 description="%jsp_taglib_directive_prefix"
253 id="prefix" />
254
255 </item>
256 </category>
257 </extension>
258
259 <!-- Editor actionsets -->
260 <extension point="org.eclipse.ui.actionSetPartAssociations">
261 <actionSetPartAssociation
262 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
263 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
264 </actionSetPartAssociation>
265 <actionSetPartAssociation
266 targetID="org.eclipse.ui.NavigateActionSet">
267 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
268 </actionSetPartAssociation>
269 </extension>
270
271
272
273
274
275 <!-- Keybindings for jsp source editor -->
276 <extension point="org.eclipse.ui.bindings">
277 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
278 <!-- rename refactor -->
279 <key
280 sequence="M2+M3+R"
281 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
282 commandId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
283 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
284 </key>
285
286 <!-- move refactor -->
287 <key
288 sequence="M2+M3+V"
289 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
290 commandId="org.eclipse.wst.jsdt.web.ui.refactor.move"
291 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
292 </key>
293 </extension>
294
295 <!--======================================================================================-->
296 <!-- Templates -->
297 <!--======================================================================================-->
298 <extension point="org.eclipse.ui.editors.templates">
299 <contextType
300 name="%All_JSP_context_type_Extension_Element.name"
301 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
302 id="jsp_all" />
303
304 <contextType
305 name="%JSP_New_context_type_Extension_Element.name"
306 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
307 id="jsp_new" />
308
309 <contextType
310 name="%JSP_Tag_context_type_Extension_Element.name"
311 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
312 id="jsp_tag" />
313
314 <contextType
315 name="%JSP_Attribute_context_type_Extension_Element.name"
316 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
317 id="jsp_attribute" />
318
319 <contextType
320 name="%JSP_Attribute_value_context_type_Extension_Element.name"
321 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
322 id="jsp_attribute_value" />
323
324 <include
325 file="templates/jspdefault-templates.xml"
326 translations="$nl$/templates/jspdefault-templates.properties" />
327
328 </extension>
329
330 <!--======================================================================================-->
331 <!-- queryParticipant to participate in java seraches -->
332 <!--======================================================================================-->
333 <extension point="org.eclipse.jsdt.ui.queryParticipants">
334 <queryParticipant
335 name="%JSP_Query_Participant_Extension_Element.name"
336 nature="org.eclipse.jsdt.core.jsNature"
337 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.ui.JSPQueryParticipant"
338 id="org.eclipse.wst.jsdt.web.ui.java.search.ui.JSPQueryParticipant" />
339
340 </extension>
341 <!-- initialize xml ui preferences -->
342 <extension point="org.eclipse.core.runtime.preferences">
343 <initializer
344 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.JSPUIPreferenceInitializer" />
345 </extension>
346
347 <!--======================================================================================-->
348 <!-- Document provider for ExternalFileEditorInput -->
349 <!--======================================================================================-->
350 <extension point="org.eclipse.ui.editors.documentProviders">
351 <provider
352 inputTypes="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.ExternalFileEditorInput"
353 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
354 id="org.eclipse.wst.jsdt.web.ui.internal.ExternalFileDocumentProvider" />
355
356 </extension>
357
358 <!-- New JSP wizard -->
359 <extension point="org.eclipse.ui.newWizards">
360 <wizard
361 id="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard"
362 name="%_UI_WIZARD_NAME"
363 class="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard"
364 category="org.eclipse.wst.web.ui"
365 icon="$nl$/icons/full/etool16/newjsp_wiz.gif">
366 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
367 <selection class="org.eclipse.core.resources.IResource" />
368 </wizard>
369 </extension>
370
371 <!-- Add new JSP wizard to J2EE Project Navigator -->
372 <extension
373 id="org.eclipse.wst.jsdt.web.commonWizard.newJSP"
374 point="org.eclipse.ui.navigator.navigatorContent">
375 <commonWizard
376 menuGroupId="org.eclipse.wst.web.ui"
377 type="new"
378 wizardId="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard">
379 <enablement>
380 <or>
381 <adapt type="org.eclipse.core.resources.IResource">
382 <test
383 property="org.eclipse.wst.common.project.facet.core.projectFacet"
384 value="jst.web"/>
385 </adapt>
386 </or>
387 </enablement>
388 </commonWizard>
389 </extension>
390
391 <extension point="org.eclipse.ui.popupMenus">
392 <viewerContribution
393 targetID="org.eclipse.wst.jsdt.web.core.jspsource.source.RulerContext"
394 id="org.eclipse.ui.texteditor.ruler.context.actions">
395 <action
396 label="%AddTask.label"
397 helpContextId="org.eclipse.ui.AddTask_action_context"
398 class="org.eclipse.ui.texteditor.TaskRulerAction"
399 tooltip="%AddTask.tooltip"
400 menubarPath="additions"
401 id="org.eclipse.ui.texteditor.TaskRulerAction" />
402
403 <action
404 label="%AddBookmark.label"
405 helpContextId="org.eclipse.ui.bookmark_action_context"
406 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
407 tooltip="%AddBookmark.tooltip"
408 menubarPath="additions"
409 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
410
411 </viewerContribution>
412 </extension>
413
414 <extension point="org.eclipse.ui.editorActions">
415 <editorContribution
416 id="org.eclipse.wst.jsdt.web.core.jspsource.source.editorActions"
417 targetID="org.eclipse.wst.html.core.htmlsource">
418 <action
419 id="CleanupDocument"
420 label="%CleanupDocument_label"
421 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
422 tooltip="%CleanupDocument_tooltip"
423 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
424 actionID="CleanupDocument">
425 </action>
426 <action
427 id="ToggleComment"
428 label="%ToggleComment_label"
429 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
430 tooltip="%ToggleComment_tooltip"
431 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
432 actionID="ToggleComment">
433 </action>
434 <action
435 id="AddBlockComment"
436 label="%AddBlockComment_label"
437 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
438 tooltip="%AddBlockComment_tooltip"
439 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
440 actionID="AddBlockComment">
441 </action>
442 <action
443 id="RemoveBlockComment"
444 label="%RemoveBlockComment_label"
445 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
446 tooltip="%RemoveBlockComment_tooltip"
447 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
448 actionID="RemoveBlockComment">
449 </action>
450 <action
451 id="RenameElement"
452 label="%RenameElement_label"
453 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
454 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPRenameElementActionDelegate"
455 actionID="RenameElement">
456 </action>
457 <action
458 id="MoveElement"
459 label="%MoveElement_label"
460 definitionId="org.eclipse.wst.jsdt.web.ui.refactor.move"
461 class="org.eclipse.wst.jsdt.web.ui.internal.java.refactoring.JSPMoveElementActionDelegate"
462 actionID="MoveElement">
463 </action>
464 <action
465 id="FindOccurrences"
466 label="%FindOccurrences_label"
467 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
468 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.JSPFindOccurrencesActionDelegate"
469 actionID="FindOccurrences">
470 </action>
471 <action
472 id="StructureSelectEnclosing"
473 label="%StructureSelectEnclosing_label"
474 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
475 tooltip="%StructureSelectEnclosing_tooltip"
476 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
477 actionID="StructureSelectEnclosing">
478 </action>
479 <action
480 id="StructureSelectNext"
481 label="%StructureSelectNext_label"
482 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
483 tooltip="%StructureSelectNext_tooltip"
484 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
485 actionID="StructureSelectNext">
486 </action>
487 <action
488 id="StructureSelectPrevious"
489 label="%StructureSelectPrevious_label"
490 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
491 tooltip="%StructureSelectPrevious_tooltip"
492 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
493 actionID="StructureSelectPrevious">
494 </action>
495 <action
496 id="StructureSelectHistory"
497 label="%StructureSelectHistory_label"
498 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
499 tooltip="%StructureSelectHistory_tooltip"
500 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
501 actionID="StructureSelectHistory">
502 </action>
503 </editorContribution>
504 <editorContribution
505 targetID="org.eclipse.wst.html.core.htmlsource"
506 id="org.eclipse.wst.jsdt.web.core.jspsource.ruler.actions">
507 <action
508 label="%AddBookmark.label"
509 helpContextId="org.eclipse.ui.bookmark_action_context"
510 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
511 actionID="RulerDoubleClick"
512 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
513 <action
514 label="%SelectRuler.label"
515 class="org.eclipse.ui.texteditor.SelectRulerAction"
516 actionID="RulerClick"
517 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
518 </editorContribution>
519 </extension>
520 <!-- JSP Fragment Property Page -->
521 <extension point="org.eclipse.ui.propertyPages">
522 <!-- for j2ee web project -->
523 <page
524 name="%JSPFragmentContentSettings.name"
525 class="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ui.ProjectJSPFContentSettingsPropertyPage"
526 id="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ProjectJSPFContentSettingsPropertyPage">
527 <enabledWhen>
528 <and>
529 <adapt type="org.eclipse.core.resources.IProject">
530 <or>
531 <test
532 forcePluginActivation="true"
533 property="org.eclipse.wst.common.project.facet.core.projectFacet"
534 value="jst.web" />
535 </or>
536 </adapt>
537 </and>
538 </enabledWhen>
539 <keywordReference id="org.eclipse.wst.jsp.ui.fragments"/>
540 </page>
541 <page
542 name="%JSPFragmentContentSettings.name"
543 class="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ui.JSPFContentSettingsPropertyPage"
544 id="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.JSPFContentSettingsPropertyPage">
545 <enabledWhen>
546 <and>
547 <adapt type="org.eclipse.core.resources.IFile">
548 <or>
549 <test
550 forcePluginActivation="true"
551 property="org.eclipse.core.resources.contentTypeId"
552 value="org.eclipse.wst.jsdt.web.core.jspfragmentsource" />
553 <test
554 forcePluginActivation="true"
555 property="org.eclipse.core.resources.contentTypeId"
556 value="org.eclipse.wst.jsdt.web.core.cssjspfragmentsource" />
557 </or>
558 </adapt>
559 </and>
560 </enabledWhen>
561 <keywordReference id="org.eclipse.wst.jsp.ui.fragments"/>
562 </page>
563 </extension>
564 <!-- jsp-for-css editor configurations -->
565 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
566 <contentOutlineConfiguration
567 class="org.eclipse.wst.css.ui.views.contentoutline.CSSContentOutlineConfiguration"
568 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
569 <sourceViewerConfiguration
570 class="org.eclipse.wst.css.ui.StructuredTextViewerConfigurationCSS"
571 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
572 <propertySheetConfiguration
573 class="org.eclipse.wst.jsdt.web.css.ui.internal.views.properties.JSPedCSSPropertySheetConfiguration"
574 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
575 <provisionalConfiguration
576 type="characterpairmatcher"
577 class="org.eclipse.wst.css.ui.internal.text.CSSDocumentRegionEdgeMatcher"
578 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
579 <provisionalConfiguration
580 type="structuredtextfoldingprovider"
581 class="org.eclipse.wst.css.ui.internal.projection.StructuredTextFoldingProviderCSS"
582 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
583 <provisionalDefinition
584 type="preferencepages"
585 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"
586 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
587 </extension>
588 <extension
589 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
590 <adapterFactoryDescription
591 class="org.eclipse.wst.jsdt.web.css.ui.internal.registry.AdapterFactoryProviderJSPedCSS">
592 <contentType id="org.eclipse.wst.jsdt.web.core.cssjspsource" />
593 </adapterFactoryDescription>
594 </extension>
595
596</plugin>