blob: f48e3a79a5ae6ab1bdedbcef2e1ff401307f8a36 [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">
bchilds6b966c72007-06-07 23:11:29 +00006 <contentOutlineConfiguration
7 class="org.eclipse.wst.jsdt.web.ui.views.provisional.contentoutline.JsContentOutlineConfig"
8 target="org.eclipse.wst.html.core.htmlsource" />
bchildsb95206a2007-03-21 00:02:12 +00009 <provisionalConfiguration
10 type="contentassistprocessor"
11 class="org.eclipse.wst.jsdt.web.ui.internal.contentassist.JSDTContentAssistant"
12 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
13 <provisionalConfiguration
14 type="linestyleprovider"
15 class="org.eclipse.wst.jsdt.web.ui.internal.style.java.LineStyleProviderForJSDT"
16 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
17 <provisionalConfiguration
18 type="texthover"
19 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor"
20 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
21 <provisionalConfiguration
22 type="informationpresenter"
23 class="org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTInformationProvider"
24 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
25 <provisionalConfiguration
26 type="characterpairmatcher"
27 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
28 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
29 <provisionalConfiguration
30 type="autoeditstrategy"
31 class="org.eclipse.wst.jsdt.web.ui.internal.autoedit.AutoEditStrategyForJs"
32 target="org.eclipse.wst.html.SCRIPT,org.eclipse.wst.html.SCRIPT.EVENT" />
33 <provisionalConfiguration
34 type="contentformater"
35 class="org.eclipse.wst.jsdt.web.ui.internal.format.FormattingStrategyJSPJava"
36 target="org.eclipse.wst.html.SCRIPT" />
bchilds9924d9f2007-05-02 00:26:07 +000037 <provisionalConfiguration
38 type="hyperlinkdetector"
39 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSPJavaHyperlinkDetector"
40 target="org.eclipse.wst.html.SCRIPT" />
bchildsb95206a2007-03-21 00:02:12 +000041 </extension>
bchildsd5b9b822007-05-31 22:01:33 +000042 <extension
43 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
44 <target
45 id="org.eclipse.wst.html.SCRIPT"
46 name="JavaScirpt Source">
47 </target>
48 </extension>
49
50 <extension
51 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
52 <target
53 id="org.eclipse.wst.html.SCRIPT.EVENT"
54 name="JavaScirpt Event Source">
55 </target>
56 </extension>
57
58 <extension
59 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
bchildsd5b9b822007-05-31 22:01:33 +000060 <hyperlinkDetector
61 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSPJavaHyperlinkDetector"
62 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.JSPJavaHyperlinkDetector"
63 name="Java Element HyperLink Detector"
64 targetId="org.eclipse.wst.html.SCRIPT">
65 </hyperlinkDetector>
66 <hyperlinkDetector
67 class="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSPJavaHyperlinkDetector"
68 id="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.script.event.JSPJavaHyperlinkDetector"
69 name="Java Element HyperLink Detector"
70 targetId="org.eclipse.wst.html.SCRIPT.EVENT">
71 </hyperlinkDetector>
72 </extension>
bchilds6b966c72007-06-07 23:11:29 +000073
74
75 <extension
76 point="org.eclipse.ui.popupMenus">
77
78 <objectContribution
79 objectClass="org.eclipse.wst.jsdt.web.ui.actions.IJavaWebNode"
80 id="org.eclipse.wst.jsdt.web.ui.JavaActions">
81 <menu
82 label="Hierarchy"
83 id="show.hierarchy">
84 </menu>
85 <action
86 label="Open Type Hierarchy"
87 tooltip=""
88 class="org.eclipse.wst.jsdt.web.ui.actions.OpenTypeHierarchy"
89 enablesFor="1"
90 id="org.eclipse.wst.jsdt.ui.actions.OpenTypeHierarchyAction">
91 </action>
92 <action
93 label="Open Call Hierarchy"
94 tooltip="Open Call Hierarchy"
95 class="org.eclipse.wst.jsdt.web.ui.actions.OpenCallHierarchyAction"
96 enablesFor="1"
97 id="org.eclipse.wst.jsdt.internal.ui.callhierarchy.OpenCallHierarchyAction">
98 </action>
99 </objectContribution>
100
101
102 </extension>
103
104 <!-- Additional adapters for java elements.. this one is so the element will
105 be displayed properly in ui
106 -->
107 <!--
108 <extension point="org.eclipse.core.runtime.adapters">
109 <factory
110 class="org.eclipse.wst.jsdt.web.ui.JsWebElementAdapterFactory"
111 adaptableType="org.eclipse.wst.jsdt.core.IJavaElement">
112 <adapter type="org.eclipse.ui.views.properties.IPropertySourceProvider"/>
113 </factory>
114 </extension>
115 -->
116
bchildsb95206a2007-03-21 00:02:12 +0000117<!--
bchilds68f36fc2007-03-01 22:47:33 +0000118 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
119 <sourceViewerConfiguration
120 class="org.eclipse.wst.jsdt.web.ui.StructuredTextViewerConfigurationJSP"
121 target="org.eclipse.wst.html.core.htmlsource" />
bchilds68f36fc2007-03-01 22:47:33 +0000122 <provisionalConfiguration
123 type="characterpairmatcher"
bchilds8f94a9d2007-03-13 22:24:43 +0000124 class="org.eclipse.wst.jsdt.web.ui.internal.text.JsDocumentRegionEdgeMatcher"
bchilds68f36fc2007-03-01 22:47:33 +0000125 target="org.eclipse.wst.html.core.htmlsource" />
bchilds8f94a9d2007-03-13 22:24:43 +0000126 <provisionalConfiguration
127 type="sourceeditingtexttools"
128 class="org.eclipse.wst.jsdt.web.ui.internal.editor.JsSourceEditingTextTools"
129 target="org.eclipse.wst.html.core.htmlsource" />
bchilds68f36fc2007-03-01 22:47:33 +0000130 <provisionalConfiguration
131 type="structuredtextfoldingprovider"
132 class="org.eclipse.wst.jsdt.web.ui.internal.projection.StructuredTextFoldingProviderJSP"
133 target="org.eclipse.wst.html.core.htmlsource" />
134 <provisionalDefinition
135 type="preferencepages"
136 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"
137 target="org.eclipse.wst.html.core.htmlsource" />
138 <provisionalDefinition
139 type="showintarget"
140 value="org.eclipse.wst.jsdt.ui.PackageExplorer"
141 target="org.eclipse.wst.html.core.htmlsource" />
142 </extension>
bchildsb95206a2007-03-21 00:02:12 +0000143 -->
bchilds8f94a9d2007-03-13 22:24:43 +0000144 <!-- ====================================================================================== -->
bchilds68f36fc2007-03-01 22:47:33 +0000145 <!-- source validation for JSP -->
146 <!--======================================================================================-->
147 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
148 <validator
149 scope="total"
bchilds8f94a9d2007-03-13 22:24:43 +0000150 class="org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator"
bchilds68f36fc2007-03-01 22:47:33 +0000151 id="org.eclipse.wst.jsdt.web.jspsourcevalidator">
bchilds8f94a9d2007-03-13 22:24:43 +0000152 <contentTypeIdentifier id="org.eclipse.wst.html.core.htmlsource">
bchilds9924d9f2007-05-02 00:26:07 +0000153 <partitionType id="org.eclipse.wst.html.SCRIPT"></partitionType>
154 <partitionType id="org.eclipse.wst.html.SCRIPT.EVENT"></partitionType>
155 </contentTypeIdentifier>
156 </validator>
157
158
159 </extension>
160 <!--
161 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
162 <validator
163 scope="partial"
164 class="org.eclipse.wst.html.internal.validation.HTMLPartValidator"
165 id="org.eclipse.wst.jsdt.web.HTMLPartValidator">
166 <contentTypeIdentifier id="org.eclipse.wst.html.core.htmlsource">
167 <partitionType id="org.eclipse.wst.html.HTML_DECLARATION"></partitionType>
168 <partitionType id="org.eclipse.wst.html.HTML_COMMENT"></partitionType>
169 <partitionType id="org.eclipse.wst.html.HTML_DEFAULT"></partitionType>
170 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"></partitionType>
bchilds68f36fc2007-03-01 22:47:33 +0000171 </contentTypeIdentifier>
172 </validator>
173 </extension>
bchilds9924d9f2007-05-02 00:26:07 +0000174 -->
bchilds68f36fc2007-03-01 22:47:33 +0000175 <!--======================================================================================-->
176 <!-- JSP UI Adapter factories -->
177 <!--======================================================================================-->
178 <extension
179 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
180 <adapterFactoryDescription
bchilds8f94a9d2007-03-13 22:24:43 +0000181 class="org.eclipse.wst.jsdt.web.ui.internal.registry.AdapterFactoryProviderForJSDT">
bchilds68f36fc2007-03-01 22:47:33 +0000182 <contentType id="org.eclipse.wst.html.core.htmlsource" />
183 </adapterFactoryDescription>
184 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000185<!--======================================================================================-->
186<!-- JSP PREFERENCE PAGES -->
187<!--======================================================================================-->
188 <!-- Use the JSDTs prefrence pages -->
189 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000190 <extension point="org.eclipse.ui.preferencePages">
191
bchilds8f94a9d2007-03-13 22:24:43 +0000192
bchilds68f36fc2007-03-01 22:47:33 +0000193 <page
194 name="%JSP_Files.name"
195 category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
196 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPFilesPreferencePage"
197 id="org.eclipse.wst.sse.ui.preferences.jsp">
198 <keywordReference id="org.eclipse.wst.jsp.ui.files"/>
199 </page>
200 <page
201 name="%JSP_Source.name"
202 category="org.eclipse.wst.sse.ui.preferences.jsp"
203 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPSourcePreferencePage"
204 id="org.eclipse.wst.sse.ui.preferences.jsp.source">
205 </page>
206 <page
207 name="%JSP_Templates.name"
208 category="org.eclipse.wst.sse.ui.preferences.jsp"
209 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPTemplatePreferencePage"
210 id="org.eclipse.wst.sse.ui.preferences.jsp.templates">
211 <keywordReference id="org.eclipse.wst.jsp.ui.templates"/>
212 </page>
213 <page
214 name="%JSP_Styles.name"
215 category="org.eclipse.wst.sse.ui.preferences.jsp"
216 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.ui.JSPColorPage"
217 id="org.eclipse.wst.sse.ui.preferences.jsp.styles">
218 <keywordReference id="org.eclipse.wst.jsp.ui.styles"/>
219 </page>
220 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000221 -->
bchilds68f36fc2007-03-01 22:47:33 +0000222 <!-- Keywords for preference and properties pages -->
bchilds8f94a9d2007-03-13 22:24:43 +0000223 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000224 <extension point="org.eclipse.ui.keywords">
225 <keyword
226 label="%preferenceKeywords.files"
227 id="org.eclipse.wst.jsp.ui.files"/>
228 <keyword
229 label="%preferenceKeywords.templates"
230 id="org.eclipse.wst.jsp.ui.templates"/>
231 <keyword
232 label="%preferenceKeywords.styles"
233 id="org.eclipse.wst.jsp.ui.styles"/>
234 <keyword
235 label="%preferenceKeywords.fragments"
236 id="org.eclipse.wst.jsp.ui.fragments"/>
237 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000238 -->
bchilds68f36fc2007-03-01 22:47:33 +0000239
240
241
242 <!--======================================================================================-->
243 <!-- for breakpoint -->
244 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000245 <!-- removed for now -->
246 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000247 <extension point="org.eclipse.wst.sse.ui.breakpoint">
248 <breakpointContribution id="org.eclipse.wst.jsdt.web.ui.providers">
bchilds68f36fc2007-03-01 22:47:33 +0000249 <provider
bchilds46514c72007-03-06 01:30:32 +0000250 contentTypes="org.eclipse.wst.html.core.htmlsource"
bchilds68f36fc2007-03-01 22:47:33 +0000251 class="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*html,js,htm*"
252 id="org.eclipse.wst.jsdt.web.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" />
253 </breakpointContribution>
254 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000255 -->
bchilds68f36fc2007-03-01 22:47:33 +0000256 <!--======================================================================================-->
257 <!-- Snippet View contributions -->
258 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000259 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000260 <extension
261 point="org.eclipse.wst.common.snippets.SnippetContributions">
262 <category
263 label="%JSP_Extension_Element.label"
264 smallicon="icons/snippets/tag-jsp.gif"
265 id="org.eclipse.wst.jsdt.web.ui.category0"
bchilds46514c72007-03-06 01:30:32 +0000266 contenttypes="org.eclipse.wst.html.core.htmlsource">
bchilds68f36fc2007-03-01 22:47:33 +0000267 <item
268 label="%jsp_hidden_comment"
269 smallicon="icons/snippets/tag-generic.gif"
270 id="org.eclipse.wst.jsdt.web.ui.jsp_hidden_comment">
271 <content>%jsp_hidden_comment_content</content>
272 </item>
273 <item
274 label="%jsp_scriptlet"
275 smallicon="icons/snippets/jspscr.gif"
276 id="org.eclipse.wst.jsdt.web.ui.jsp_scriptlet">
277 <content>%jsp_scr_content</content>
278 </item>
279 <item
280 label="%jsp_expression"
281 smallicon="icons/snippets/jspexp.gif"
282 id="org.eclipse.wst.jsdt.web.ui.jsp_expression">
283 <content>%jsp_expression_content</content>
284 </item>
285 <item
286 label="%jsp_declaration"
287 smallicon="icons/snippets/jspdecl.gif"
288 id="org.eclipse.wst.jsdt.web.ui.jsp_declaration">
289 <content>%jsp_declaration_content</content>
290 </item>
291 <item
292 label="%jsp_include_directive"
293 smallicon="icons/snippets/jspincl.gif"
294 id="org.eclipse.wst.jsdt.web.ui.jsp_include_directive">
295 <content>%jsp_include_directive_content</content>
296 </item>
297 <item
298 label="%jsp_page_directive"
299 id="org.eclipse.wst.jsdt.web.ui.jsp_page_directive">
300 <content>%jsp_page_directive_content</content>
301 </item>
302 <item
303 label="%jsp_taglib_directive"
304 smallicon="icons/snippets/jsptaglib.gif"
305 id="org.eclipse.wst.jsdt.web.ui.jsp_taglib_directive">
306 <content>%jsp_taglib_directive_content</content>
307 <variable
308 description="%jsp_taglib_directive_uri"
309 id="uri" />
310
311 <variable
312 default="mylib"
313 description="%jsp_taglib_directive_prefix"
314 id="prefix" />
315
316 </item>
317 </category>
318 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000319 -->
320
bchilds68f36fc2007-03-01 22:47:33 +0000321 <!-- Editor actionsets -->
bchilds8f94a9d2007-03-13 22:24:43 +0000322 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000323 <extension point="org.eclipse.ui.actionSetPartAssociations">
324 <actionSetPartAssociation
325 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
326 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
327 </actionSetPartAssociation>
328 <actionSetPartAssociation
329 targetID="org.eclipse.ui.NavigateActionSet">
330 <part id="org.eclipse.wst.jsdt.web.core.jspsource.source" />
331 </actionSetPartAssociation>
332 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000333 -->
bchilds68f36fc2007-03-01 22:47:33 +0000334
335
336
337
338 <!-- Keybindings for jsp source editor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000339
340 <extension point="org.eclipse.ui.bindings"> -->
bchilds68f36fc2007-03-01 22:47:33 +0000341 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
342 <!-- rename refactor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000343
bchilds68f36fc2007-03-01 22:47:33 +0000344 <key
345 sequence="M2+M3+R"
346 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
347 commandId="org.eclipse.wst.jsdt.web.ui.refactor.rename"
348 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
349 </key>
bchilds8f94a9d2007-03-13 22:24:43 +0000350
bchilds68f36fc2007-03-01 22:47:33 +0000351 <!-- move refactor -->
bchilds8f94a9d2007-03-13 22:24:43 +0000352
bchilds68f36fc2007-03-01 22:47:33 +0000353 <key
354 sequence="M2+M3+V"
355 contextId="org.eclipse.wst.jsdt.web.ui.structured.text.editor.jsp.scope"
356 commandId="org.eclipse.wst.jsdt.web.ui.refactor.move"
357 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
358 </key>
359 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000360
361
bchilds68f36fc2007-03-01 22:47:33 +0000362 <!--======================================================================================-->
363 <!-- Templates -->
364 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000365 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000366 <extension point="org.eclipse.ui.editors.templates">
367 <contextType
368 name="%All_JSP_context_type_Extension_Element.name"
369 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
370 id="jsp_all" />
371
372 <contextType
373 name="%JSP_New_context_type_Extension_Element.name"
374 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
375 id="jsp_new" />
376
377 <contextType
378 name="%JSP_Tag_context_type_Extension_Element.name"
379 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
380 id="jsp_tag" />
381
382 <contextType
383 name="%JSP_Attribute_context_type_Extension_Element.name"
384 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
385 id="jsp_attribute" />
386
387 <contextType
388 name="%JSP_Attribute_value_context_type_Extension_Element.name"
389 class="org.eclipse.wst.jsdt.web.ui.internal.templates.TemplateContextTypeJSP"
390 id="jsp_attribute_value" />
391
392 <include
393 file="templates/jspdefault-templates.xml"
394 translations="$nl$/templates/jspdefault-templates.properties" />
395
396 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000397 -->
bchilds68f36fc2007-03-01 22:47:33 +0000398 <!--======================================================================================-->
399 <!-- queryParticipant to participate in java seraches -->
400 <!--======================================================================================-->
bchildsd01b1ea2007-03-02 16:52:19 +0000401 <extension point="org.eclipse.wst.jsdt.ui.queryParticipants">
bchilds68f36fc2007-03-01 22:47:33 +0000402 <queryParticipant
403 name="%JSP_Query_Participant_Extension_Element.name"
bchildsd01b1ea2007-03-02 16:52:19 +0000404 nature="org.eclipse.wst.jsdt.core.jsNature"
bchilds68f36fc2007-03-01 22:47:33 +0000405 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.ui.JSPQueryParticipant"
406 id="org.eclipse.wst.jsdt.web.ui.java.search.ui.JSPQueryParticipant" />
407
408 </extension>
409 <!-- initialize xml ui preferences -->
bchilds8f94a9d2007-03-13 22:24:43 +0000410 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000411 <extension point="org.eclipse.core.runtime.preferences">
412 <initializer
413 class="org.eclipse.wst.jsdt.web.ui.internal.preferences.JSPUIPreferenceInitializer" />
414 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000415 -->
416
bchilds68f36fc2007-03-01 22:47:33 +0000417 <!--======================================================================================-->
418 <!-- Document provider for ExternalFileEditorInput -->
419 <!--======================================================================================-->
bchilds8f94a9d2007-03-13 22:24:43 +0000420 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000421 <extension point="org.eclipse.ui.editors.documentProviders">
422 <provider
423 inputTypes="org.eclipse.wst.jsdt.web.ui.internal.hyperlink.ExternalFileEditorInput"
424 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
425 id="org.eclipse.wst.jsdt.web.ui.internal.ExternalFileDocumentProvider" />
426
427 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000428 -->
bchilds68f36fc2007-03-01 22:47:33 +0000429 <!-- New JSP wizard -->
bchilds46514c72007-03-06 01:30:32 +0000430 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000431 <extension point="org.eclipse.ui.newWizards">
432 <wizard
433 id="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard"
434 name="%_UI_WIZARD_NAME"
435 class="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard"
436 category="org.eclipse.wst.web.ui"
437 icon="$nl$/icons/full/etool16/newjsp_wiz.gif">
438 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
439 <selection class="org.eclipse.core.resources.IResource" />
440 </wizard>
441 </extension>
bchilds46514c72007-03-06 01:30:32 +0000442 -->
bchilds68f36fc2007-03-01 22:47:33 +0000443 <!-- Add new JSP wizard to J2EE Project Navigator -->
bchilds46514c72007-03-06 01:30:32 +0000444 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000445 <extension
446 id="org.eclipse.wst.jsdt.web.commonWizard.newJSP"
447 point="org.eclipse.ui.navigator.navigatorContent">
448 <commonWizard
449 menuGroupId="org.eclipse.wst.web.ui"
450 type="new"
451 wizardId="org.eclipse.wst.jsdt.web.ui.internal.wizard.NewJSPWizard">
452 <enablement>
453 <or>
454 <adapt type="org.eclipse.core.resources.IResource">
455 <test
456 property="org.eclipse.wst.common.project.facet.core.projectFacet"
457 value="jst.web"/>
458 </adapt>
459 </or>
460 </enablement>
461 </commonWizard>
462 </extension>
bchilds46514c72007-03-06 01:30:32 +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"
542 class="org.eclipse.wst.jsdt.web.ui.internal.java.search.JSPFindOccurrencesActionDelegate"
543 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>
594 <!-- JSP Fragment Property Page -->
bchilds8f94a9d2007-03-13 22:24:43 +0000595 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000596 <extension point="org.eclipse.ui.propertyPages">
bchilds8f94a9d2007-03-13 22:24:43 +0000597
bchilds68f36fc2007-03-01 22:47:33 +0000598 <page
599 name="%JSPFragmentContentSettings.name"
600 class="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ui.ProjectJSPFContentSettingsPropertyPage"
601 id="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ProjectJSPFContentSettingsPropertyPage">
602 <enabledWhen>
603 <and>
604 <adapt type="org.eclipse.core.resources.IProject">
605 <or>
606 <test
607 forcePluginActivation="true"
608 property="org.eclipse.wst.common.project.facet.core.projectFacet"
609 value="jst.web" />
610 </or>
611 </adapt>
612 </and>
613 </enabledWhen>
614 <keywordReference id="org.eclipse.wst.jsp.ui.fragments"/>
615 </page>
616 <page
617 name="%JSPFragmentContentSettings.name"
618 class="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.ui.JSPFContentSettingsPropertyPage"
619 id="org.eclipse.wst.jsdt.web.ui.internal.contentproperties.JSPFContentSettingsPropertyPage">
620 <enabledWhen>
621 <and>
622 <adapt type="org.eclipse.core.resources.IFile">
623 <or>
624 <test
625 forcePluginActivation="true"
626 property="org.eclipse.core.resources.contentTypeId"
627 value="org.eclipse.wst.jsdt.web.core.jspfragmentsource" />
628 <test
629 forcePluginActivation="true"
630 property="org.eclipse.core.resources.contentTypeId"
631 value="org.eclipse.wst.jsdt.web.core.cssjspfragmentsource" />
632 </or>
633 </adapt>
634 </and>
635 </enabledWhen>
636 <keywordReference id="org.eclipse.wst.jsp.ui.fragments"/>
637 </page>
bchilds8f94a9d2007-03-13 22:24:43 +0000638 </extension>
639 -->
bchilds68f36fc2007-03-01 22:47:33 +0000640 <!-- jsp-for-css editor configurations -->
bchilds8f94a9d2007-03-13 22:24:43 +0000641 <!--
bchilds68f36fc2007-03-01 22:47:33 +0000642 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
643 <contentOutlineConfiguration
644 class="org.eclipse.wst.css.ui.views.contentoutline.CSSContentOutlineConfiguration"
645 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
646 <sourceViewerConfiguration
647 class="org.eclipse.wst.css.ui.StructuredTextViewerConfigurationCSS"
648 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
649 <propertySheetConfiguration
650 class="org.eclipse.wst.jsdt.web.css.ui.internal.views.properties.JSPedCSSPropertySheetConfiguration"
651 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
652 <provisionalConfiguration
653 type="characterpairmatcher"
654 class="org.eclipse.wst.css.ui.internal.text.CSSDocumentRegionEdgeMatcher"
655 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
656 <provisionalConfiguration
657 type="structuredtextfoldingprovider"
658 class="org.eclipse.wst.css.ui.internal.projection.StructuredTextFoldingProviderCSS"
659 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
660 <provisionalDefinition
661 type="preferencepages"
662 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"
663 target="org.eclipse.wst.jsdt.web.core.cssjspsource" />
664 </extension>
665 <extension
666 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
667 <adapterFactoryDescription
668 class="org.eclipse.wst.jsdt.web.css.ui.internal.registry.AdapterFactoryProviderJSPedCSS">
669 <contentType id="org.eclipse.wst.jsdt.web.core.cssjspsource" />
670 </adapterFactoryDescription>
671 </extension>
bchilds8f94a9d2007-03-13 22:24:43 +0000672 -->
bchilds68f36fc2007-03-01 22:47:33 +0000673</plugin>