blob: 759061c9b22aac6c0c073eacd9d928754b8c4ad0 [file] [log] [blame]
nitindb0f7b262004-11-23 19:12:23 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
nitindb0f7b262004-11-23 19:12:23 +00004
david_williamsad0e4cc2005-06-04 01:49:19 +00005 <extension point="org.eclipse.ui.editors">
6 <editor
7 name="%JSP_Source_Page_Editor.name"
david_williams385fc5c2005-06-07 22:34:13 +00008 icon="icons//full/obj16/sourceEditor.gif"
david_williamsad0e4cc2005-06-04 01:49:19 +00009 extensions="jsp, jsf, jspf, jspx, tag, tagf"
david_williams1a3e50d2005-03-17 03:17:23 +000010 contributorClass="org.eclipse.jst.jsp.ui.internal.editor.ActionContributorJSP"
nitind102e60a2005-09-15 12:42:42 +000011 class="org.eclipse.wst.sse.ui.StructuredTextEditor"
david_williams8a8ea862004-12-07 14:12:53 +000012 symbolicFontName="org.eclipse.wst.sse.ui.textfont"
david_williams3a082d52005-04-08 06:54:04 +000013 id="org.eclipse.jst.jsp.core.jspsource.source">
david_williamsad0e4cc2005-06-04 01:49:19 +000014 <contentTypeBinding
15 contentTypeId="org.eclipse.jst.jsp.core.jspsource" />
david_williams8a8ea862004-12-07 14:12:53 +000016 </editor>
17 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000018
nitind40dcdbd2005-09-07 23:33:18 +000019 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
20 <sourceViewerConfiguration
nitind63991e02005-11-07 06:05:44 +000021 class="org.eclipse.jst.jsp.ui.StructuredTextViewerConfigurationJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +000022 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000023 <contentOutlineConfiguration
nitind63991e02005-11-07 06:05:44 +000024 class="org.eclipse.jst.jsp.ui.views.contentoutline.JSPContentOutlineConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000025 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000026 <propertySheetConfiguration
nitind1bf20a12005-09-15 11:48:15 +000027 class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000028 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000029 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000030 type="sourceeditingtexttools"
david_williams1a3e50d2005-03-17 03:17:23 +000031 class="org.eclipse.jst.jsp.ui.internal.editor.JSPSourceEditingTextTools"
david_williamsad0e4cc2005-06-04 01:49:19 +000032 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000033 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000034 type="characterpairmatcher"
david_williams1a3e50d2005-03-17 03:17:23 +000035 class="org.eclipse.jst.jsp.ui.internal.text.JSPDocumentRegionEdgeMatcher"
david_williamsad0e4cc2005-06-04 01:49:19 +000036 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000037 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000038 type="structuredtextfoldingprovider"
39 class="org.eclipse.jst.jsp.ui.internal.projection.StructuredTextFoldingProviderJSP"
40 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000041 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000042 type="preferencepages"
nitind40dcdbd2005-09-07 23:33:18 +000043 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"
david_williamsad0e4cc2005-06-04 01:49:19 +000044 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000045 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000046 type="showintarget"
47 value="org.eclipse.jdt.ui.PackageExplorer"
48 target="org.eclipse.jst.jsp.core.jspsource" />
david_williams8a8ea862004-12-07 14:12:53 +000049 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000050
david_williams8a8ea862004-12-07 14:12:53 +000051 <extension
52 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
53 <adapterFactoryDescription
david_williams1a3e50d2005-03-17 03:17:23 +000054 class="org.eclipse.jst.jsp.ui.internal.registry.AdapterFactoryProviderForJSP">
david_williams8a8ea862004-12-07 14:12:53 +000055 <contentType id="org.eclipse.jst.jsp.core.jspsource" />
56 </adapterFactoryDescription>
57 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000058
david_williams8a8ea862004-12-07 14:12:53 +000059 <extension
60 point="org.eclipse.core.filebuffers.annotationModelCreation">
david_williamsad0e4cc2005-06-04 01:49:19 +000061 <factory
62 contentTypeId="org.eclipse.jst.jsp.core.jspsource"
pavery22480de2005-03-29 21:41:37 +000063 class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" />
david_williams8a8ea862004-12-07 14:12:53 +000064 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000065
david_williams8a8ea862004-12-07 14:12:53 +000066 <extension point="org.eclipse.ui.preferencePages">
67
68 <!--======================================================================================-->
69 <!-- JSP PREFERENCE PAGES -->
70 <!--======================================================================================-->
david_williamsad0e4cc2005-06-04 01:49:19 +000071 <page
72 name="%JSP_Files.name"
david_williams4ad020f2005-04-18 08:00:30 +000073 category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
david_williams1a3e50d2005-03-17 03:17:23 +000074 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPFilesPreferencePage"
david_williamsad0e4cc2005-06-04 01:49:19 +000075 id="org.eclipse.wst.sse.ui.preferences.jsp" />
76
77 <page
78 name="%JSP_Source.name"
david_williamse5c73212005-04-19 03:36:25 +000079 category="org.eclipse.wst.sse.ui.preferences.jsp"
80 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPSourcePreferencePage"
david_williamsad0e4cc2005-06-04 01:49:19 +000081 id="org.eclipse.wst.sse.ui.preferences.jsp.source" />
82
83 <page
84 name="%JSP_Templates.name"
david_williams8a8ea862004-12-07 14:12:53 +000085 category="org.eclipse.wst.sse.ui.preferences.jsp"
david_williams1a3e50d2005-03-17 03:17:23 +000086 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPTemplatePreferencePage"
david_williamsad0e4cc2005-06-04 01:49:19 +000087 id="org.eclipse.wst.sse.ui.preferences.jsp.templates" />
88
89 <page
90 name="%JSP_Styles.name"
david_williams8a8ea862004-12-07 14:12:53 +000091 category="org.eclipse.wst.sse.ui.preferences.jsp"
david_williams1a3e50d2005-03-17 03:17:23 +000092 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPColorPage"
david_williamsad0e4cc2005-06-04 01:49:19 +000093 id="org.eclipse.wst.sse.ui.preferences.jsp.styles" />
94
david_williams8a8ea862004-12-07 14:12:53 +000095 </extension>
96
97 <!--======================================================================================-->
98 <!-- FOR JSP/JAVA RENAME PARTICIPATION -->
99 <!--======================================================================================-->
100 <extension
101 point="org.eclipse.ltk.core.refactoring.renameParticipants">
102 <renameParticipant
103 name="%JSP_Type_Rename_Participant_Extension_Element.name"
104 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPTypeRenameParticipant"
105 id="org.eclipse.jst.jsp.ui.java.refactoring.JSPTypeRenameParticipant">
106 <enablement>
107 <with variable="affectedNatures">
108 <iterate operator="or">
david_williamsad0e4cc2005-06-04 01:49:19 +0000109 <equals value="org.eclipse.jdt.core.javanature" />
110
david_williams8a8ea862004-12-07 14:12:53 +0000111 </iterate>
112 </with>
113 <with variable="element">
david_williamsad0e4cc2005-06-04 01:49:19 +0000114 <instanceof value="org.eclipse.jdt.core.IType" />
115
david_williams8a8ea862004-12-07 14:12:53 +0000116 </with>
117 </enablement>
118 </renameParticipant>
119
120 <renameParticipant
121 name="%JSP_Method_Rename_Participant_Extension_Element.name"
122 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPMethodRenameParticipant"
123 id="org.eclipse.jst.jsp.ui.java.refactoring.JSPMethodRenameParticipant">
124 <enablement>
125 <with variable="affectedNatures">
126 <iterate operator="or">
david_williamsad0e4cc2005-06-04 01:49:19 +0000127 <equals value="org.eclipse.jdt.core.javanature" />
128
david_williams8a8ea862004-12-07 14:12:53 +0000129 </iterate>
130 </with>
131 <with variable="element">
david_williamsad0e4cc2005-06-04 01:49:19 +0000132 <instanceof value="org.eclipse.jdt.core.IMethod" />
133
david_williams8a8ea862004-12-07 14:12:53 +0000134 </with>
135 </enablement>
136 </renameParticipant>
137
138 <renameParticipant
139 name="%JSP_Package_Rename_Participant_Extension_Element.name"
140 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPPackageRenameParticipant"
141 id="org.eclipse.jst.jsp.ui.java.refactoring.JSPPackageRenameParticipant">
142 <enablement>
143 <with variable="affectedNatures">
144 <iterate operator="or">
david_williamsad0e4cc2005-06-04 01:49:19 +0000145 <equals value="org.eclipse.jdt.core.javanature" />
146
david_williams8a8ea862004-12-07 14:12:53 +0000147 </iterate>
148 </with>
149 <with variable="element">
150 <instanceof
david_williamsad0e4cc2005-06-04 01:49:19 +0000151 value="org.eclipse.jdt.core.IPackageFragment" />
152
david_williams8a8ea862004-12-07 14:12:53 +0000153 </with>
154 </enablement>
155 </renameParticipant>
156 </extension>
157
158 <!--======================================================================================-->
159 <!-- FOR JSP/JAVA MOVE PARTICIPATION -->
160 <!--======================================================================================-->
161 <extension
162 point="org.eclipse.ltk.core.refactoring.moveParticipants">
163
164 <moveParticipant
165 id="org.eclipse.jst.jsp.ui.java.refactoring.JSPTypeMoveParticipant"
166 name="%JSP_Type_Move_Participant_Extension_Element.name"
167 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPTypeMoveParticipant">
168 <enablement>
169 <with variable="affectedNatures">
170 <iterate operator="or">
171 <equals value="org.eclipse.jdt.core.javanature" />
172 </iterate>
173 </with>
174 <with variable="element">
david_williamsad0e4cc2005-06-04 01:49:19 +0000175 <instanceof value="org.eclipse.jdt.core.IType" />
176
david_williams8a8ea862004-12-07 14:12:53 +0000177 </with>
178 </enablement>
nitindb0f7b262004-11-23 19:12:23 +0000179 </moveParticipant>
david_williams8a8ea862004-12-07 14:12:53 +0000180 </extension>
nitindb0f7b262004-11-23 19:12:23 +0000181
david_williams8a8ea862004-12-07 14:12:53 +0000182 <!--======================================================================================-->
183 <!-- for breakpoint -->
184 <!--======================================================================================-->
185 <extension point="org.eclipse.wst.sse.ui.breakpoint">
186 <breakpointContribution id="org.eclipse.jst.jsp.ui.providers">
187 <!--
188 <provider
189 extensions="jsp, jspf, jsf"
david_williams1a3e50d2005-03-17 03:17:23 +0000190 class="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider"
191 id="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider">
david_williams8a8ea862004-12-07 14:12:53 +0000192 </provider>
193 -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000194 <provider
195 contentTypes="org.eclipse.jst.jsp.core.jspsource"
david_williamsa2980fb2005-07-21 05:44:19 +0000196 class="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*jsp,jsp_servlet.__*"
david_williams1a3e50d2005-03-17 03:17:23 +0000197 id="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" />
david_williams8a8ea862004-12-07 14:12:53 +0000198 </breakpointContribution>
199 </extension>
200
201 <!--======================================================================================-->
202 <!-- Snippet View contributions -->
203 <!--======================================================================================-->
204 <extension
nitind990b1d52005-04-05 14:07:27 +0000205 point="org.eclipse.wst.common.snippets.SnippetContributions">
david_williamsad0e4cc2005-06-04 01:49:19 +0000206 <category
207 label="%JSP_Extension_Element.label"
nitind73af8812005-11-09 21:58:34 +0000208 smallicon="icons/snippets/tag-jsp.gif"
david_williams8a8ea862004-12-07 14:12:53 +0000209 id="org.eclipse.jst.jsp.ui.category0"
david_williamsad0e4cc2005-06-04 01:49:19 +0000210 contenttypes="org.eclipse.jst.jsp.core.jspsource">
211 <item
212 label="%jsp_hidden_comment"
nitind73af8812005-11-09 21:58:34 +0000213 smallicon="icons/snippets/tag-generic.gif"
nitindddead2d2005-04-13 15:08:31 +0000214 id="org.eclipse.jst.jsp.ui.jsp_hidden_comment">
215 <content>%jsp_hidden_comment_content</content>
216 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000217 <item
218 label="%jsp_scriptlet"
nitind73af8812005-11-09 21:58:34 +0000219 smallicon="icons/snippets/jspscr.gif"
nitindddead2d2005-04-13 15:08:31 +0000220 id="org.eclipse.jst.jsp.ui.jsp_scriptlet">
221 <content>%jsp_scr_content</content>
222 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000223 <item
224 label="%jsp_expression"
nitind73af8812005-11-09 21:58:34 +0000225 smallicon="icons/snippets/jspexp.gif"
nitindddead2d2005-04-13 15:08:31 +0000226 id="org.eclipse.jst.jsp.ui.jsp_expression">
227 <content>%jsp_expression_content</content>
228 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000229 <item
230 label="%jsp_declaration"
nitind73af8812005-11-09 21:58:34 +0000231 smallicon="icons/snippets/jspdecl.gif"
nitindddead2d2005-04-13 15:08:31 +0000232 id="org.eclipse.jst.jsp.ui.jsp_declaration">
233 <content>%jsp_declaration_content</content>
234 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000235 <item
236 label="%jsp_include_directive"
nitind73af8812005-11-09 21:58:34 +0000237 smallicon="icons/snippets/jspincl.gif"
nitindddead2d2005-04-13 15:08:31 +0000238 id="org.eclipse.jst.jsp.ui.jsp_include_directive">
239 <content>%jsp_include_directive_content</content>
240 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000241 <item
242 label="%jsp_page_directive"
nitindddead2d2005-04-13 15:08:31 +0000243 id="org.eclipse.jst.jsp.ui.jsp_page_directive">
244 <content>%jsp_page_directive_content</content>
245 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000246 <item
247 label="%jsp_taglib_directive"
nitind73af8812005-11-09 21:58:34 +0000248 smallicon="icons/snippets/jsptaglib.gif"
nitindddead2d2005-04-13 15:08:31 +0000249 id="org.eclipse.jst.jsp.ui.jsp_taglib_directive">
250 <content>%jsp_taglib_directive_content</content>
david_williamsad0e4cc2005-06-04 01:49:19 +0000251 <variable
252 description="%jsp_taglib_directive_uri"
253 id="uri" />
254
255 <variable
256 default="mylib"
257 description="%jsp_taglib_directive_prefix"
258 id="prefix" />
259
nitindddead2d2005-04-13 15:08:31 +0000260 </item>
261 </category>
david_williams8a8ea862004-12-07 14:12:53 +0000262 </extension>
263
264 <!-- Editor actionsets -->
265 <extension point="org.eclipse.ui.actionSetPartAssociations">
266 <actionSetPartAssociation
267 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
david_williamsad0e4cc2005-06-04 01:49:19 +0000268 <part id="org.eclipse.jst.jsp.core.jspsource.source" />
david_williams8a8ea862004-12-07 14:12:53 +0000269 </actionSetPartAssociation>
270 <actionSetPartAssociation
271 targetID="org.eclipse.ui.NavigateActionSet">
david_williamsad0e4cc2005-06-04 01:49:19 +0000272 <part id="org.eclipse.jst.jsp.core.jspsource.source" />
david_williams8a8ea862004-12-07 14:12:53 +0000273 </actionSetPartAssociation>
274 </extension>
275
276 <!--======================================================================================-->
277 <!-- JSP Editor specific actions -->
278 <!--======================================================================================-->
279 <extension point="org.eclipse.ui.commands">
david_williams8a8ea862004-12-07 14:12:53 +0000280 <!-- rename refactor -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000281 <command
282 name="%command.jsp.refactor.rename.name"
david_williams8a8ea862004-12-07 14:12:53 +0000283 description="%command.jsp.refactor.rename.description"
nitind102e60a2005-09-15 12:42:42 +0000284 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000285 id="org.eclipse.jst.jsp.ui.refactor.rename" />
286
david_williams8a8ea862004-12-07 14:12:53 +0000287 <!-- move refactor -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000288 <command
289 name="%command.jsp.refactor.move.name"
david_williams8a8ea862004-12-07 14:12:53 +0000290 description="%command.jsp.refactor.move.description"
nitind102e60a2005-09-15 12:42:42 +0000291 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000292 id="org.eclipse.jst.jsp.ui.refactor.move" />
nitind102e60a2005-09-15 12:42:42 +0000293 </extension>
294
295 <!-- Keybinding scope for jsp source editor -->
296 <extension point="org.eclipse.ui.contexts">
297 <context
298 name="%scope.structured.text.editor.jsp.name"
299 parentId="org.eclipse.ui.textEditorScope"
300 description="%scope.structured.text.editor.jsp.description"
301 id="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope">
302 </context>
303 </extension>
304
305 <!-- Keybindings for jsp source editor -->
306 <extension point="org.eclipse.ui.bindings">
307 <!-- rename refactor -->
308 <key
309 sequence="Alt+Shift+R"
310 contextId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope"
311 commandId="org.eclipse.jst.jsp.ui.refactor.rename"
312 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
313 </key>
david_williamsad0e4cc2005-06-04 01:49:19 +0000314
nitind102e60a2005-09-15 12:42:42 +0000315 <!-- move refactor -->
316 <key
317 sequence="Alt+Shift+V"
318 contextId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope"
319 commandId="org.eclipse.jst.jsp.ui.refactor.move"
320 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
321 </key>
david_williams8a8ea862004-12-07 14:12:53 +0000322 </extension>
323
david_williams8a8ea862004-12-07 14:12:53 +0000324 <!--======================================================================================-->
325 <!-- Templates -->
326 <!--======================================================================================-->
327 <extension point="org.eclipse.ui.editors.templates">
david_williamsad0e4cc2005-06-04 01:49:19 +0000328 <contextType
329 name="%All_JSP_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000330 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000331 id="jsp_all" />
332
333 <contextType
334 name="%JSP_New_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000335 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000336 id="jsp_new" />
337
338 <contextType
339 name="%JSP_Tag_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000340 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000341 id="jsp_tag" />
342
david_williams8a8ea862004-12-07 14:12:53 +0000343 <contextType
344 name="%JSP_Attribute_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000345 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000346 id="jsp_attribute" />
347
david_williams8a8ea862004-12-07 14:12:53 +0000348 <contextType
349 name="%JSP_Attribute_value_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000350 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000351 id="jsp_attribute_value" />
352
353 <include
354 file="templates/jspdefault-templates.xml"
david_williams73c174f2005-07-08 20:26:14 +0000355 translations="$nl$/templates/jspdefault-templates.properties" />
david_williamsad0e4cc2005-06-04 01:49:19 +0000356
david_williams8a8ea862004-12-07 14:12:53 +0000357 </extension>
358
359 <!--======================================================================================-->
360 <!-- queryParticipant to participate in java seraches -->
361 <!--======================================================================================-->
362 <extension point="org.eclipse.jdt.ui.queryParticipants">
363 <queryParticipant
364 name="%JSP_Query_Participant_Extension_Element.name"
365 nature="org.eclipse.jdt.core.javanature"
366 class="org.eclipse.jst.jsp.ui.internal.java.search.ui.JSPQueryParticipant"
david_williamsad0e4cc2005-06-04 01:49:19 +0000367 id="org.eclipse.jst.jsp.ui.java.search.ui.JSPQueryParticipant" />
368
david_williams8a8ea862004-12-07 14:12:53 +0000369 </extension>
nitind410b6c22005-01-25 15:57:22 +0000370 <!-- initialize xml ui preferences -->
371 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +0000372 <initializer
373 class="org.eclipse.jst.jsp.ui.internal.preferences.JSPUIPreferenceInitializer" />
nitind410b6c22005-01-25 15:57:22 +0000374 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000375
nitindd4f81c02005-02-07 23:11:25 +0000376 <!--======================================================================================-->
377 <!-- Document provider for ExternalFileEditorInput -->
378 <!--======================================================================================-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000379 <extension point="org.eclipse.ui.editors.documentProviders">
380 <provider
381 inputTypes="org.eclipse.jst.jsp.ui.internal.hyperlink.ExternalFileEditorInput"
382 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
383 id="org.eclipse.jst.jsp.ui.internal.ExternalFileDocumentProvider" />
384
385 </extension>
nitindd4f81c02005-02-07 23:11:25 +0000386
nitind2d5bc542005-03-10 23:04:05 +0000387 <!-- New JSP wizard -->
388 <extension point="org.eclipse.ui.newWizards">
david_williamsad0e4cc2005-06-04 01:49:19 +0000389 <wizard
390 id="org.eclipse.jst.jsp.ui.internal.wizard.NewJSPWizard"
nitind2d5bc542005-03-10 23:04:05 +0000391 name="%_UI_WIZARD_NAME"
392 class="org.eclipse.jst.jsp.ui.internal.wizard.NewJSPWizard"
393 category="org.eclipse.wst.web.ui"
david_williams385fc5c2005-06-07 22:34:13 +0000394 icon="icons/full/etool16/newjsp_wiz.gif">
nitind2d5bc542005-03-10 23:04:05 +0000395 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
396 <selection class="org.eclipse.core.resources.IResource" />
397 </wizard>
398 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000399
400 <!-- Add new JSP wizard to J2EE Project Navigator -->
401 <extension
nitind41be8ce2005-08-11 03:16:13 +0000402 id="org.eclipse.jst.jsp.commonWizard.newJSP"
david_williams45d38072005-04-15 23:39:31 +0000403 point="org.eclipse.wst.common.navigator.workbench.commonWizard">
david_williamsad0e4cc2005-06-04 01:49:19 +0000404 <commonWizard
david_williams45d38072005-04-15 23:39:31 +0000405 type="new"
david_williamsad0e4cc2005-06-04 01:49:19 +0000406 wizardId="org.eclipse.jst.jsp.ui.internal.wizard.NewJSPWizard">
david_williams45d38072005-04-15 23:39:31 +0000407 <enablement>
408 <or>
david_williamsad0e4cc2005-06-04 01:49:19 +0000409 <objectClass
410 name="org.eclipse.core.resources.IProject" />
411
412 <objectClass
413 name="org.eclipse.core.resources.IFolder" />
414
415 <objectClass
416 name="org.eclipse.core.resources.IFile" />
417
david_williams45d38072005-04-15 23:39:31 +0000418 </or>
419 </enablement>
david_williamsad0e4cc2005-06-04 01:49:19 +0000420 </commonWizard>
421 </extension>
422
423 <extension point="org.eclipse.ui.popupMenus">
david_williamsa4dd7662005-04-14 00:33:20 +0000424 <viewerContribution
425 targetID="org.eclipse.jst.jsp.core.jspsource.source.RulerContext"
david_williamsad0e4cc2005-06-04 01:49:19 +0000426 id="org.eclipse.ui.texteditor.ruler.context.actions">
david_williamsa4dd7662005-04-14 00:33:20 +0000427 <action
428 label="%AddTask.label"
429 helpContextId="org.eclipse.ui.AddTask_action_context"
430 class="org.eclipse.ui.texteditor.TaskRulerAction"
431 tooltip="%AddTask.tooltip"
432 menubarPath="additions"
david_williamsad0e4cc2005-06-04 01:49:19 +0000433 id="org.eclipse.ui.texteditor.TaskRulerAction" />
434
david_williamsa4dd7662005-04-14 00:33:20 +0000435 <action
436 label="%AddBookmark.label"
437 helpContextId="org.eclipse.ui.bookmark_action_context"
438 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
439 tooltip="%AddBookmark.tooltip"
440 menubarPath="additions"
david_williamsad0e4cc2005-06-04 01:49:19 +0000441 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
442
david_williamsa4dd7662005-04-14 00:33:20 +0000443 </viewerContribution>
444 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000445
nitind102e60a2005-09-15 12:42:42 +0000446 <extension point="org.eclipse.ui.editorActions">
447 <editorContribution
448 id="org.eclipse.jst.jsp.core.jspsource.source.editorActions"
449 targetID="org.eclipse.jst.jsp.core.jspsource.source">
450 <action
451 id="CleanupDocument"
452 label="%CleanupDocument_label"
453 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
454 tooltip="%CleanupDocument_tooltip"
455 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
456 actionID="CleanupDocument">
457 </action>
458 <action
459 id="ToggleComment"
460 label="%ToggleComment_label"
461 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
462 tooltip="%ToggleComment_tooltip"
463 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
464 actionID="ToggleComment">
465 </action>
466 <action
467 id="AddBlockComment"
468 label="%AddBlockComment_label"
469 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
470 tooltip="%AddBlockComment_tooltip"
471 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
472 actionID="AddBlockComment">
473 </action>
474 <action
475 id="RemoveBlockComment"
476 label="%RemoveBlockComment_label"
477 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
478 tooltip="%RemoveBlockComment_tooltip"
479 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
480 actionID="RemoveBlockComment">
481 </action>
482 <action
483 id="RenameElement"
484 label="%RenameElement_label"
485 definitionId="org.eclipse.jst.jsp.ui.refactor.rename"
486 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPRenameElementActionDelegate"
487 actionID="RenameElement">
488 </action>
489 <action
490 id="MoveElement"
491 label="%MoveElement_label"
492 definitionId="org.eclipse.jst.jsp.ui.refactor.move"
493 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPMoveElementActionDelegate"
494 actionID="MoveElement">
495 </action>
496 <action
497 id="FindOccurrences"
498 label="%FindOccurrences_label"
499 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
500 class="org.eclipse.jst.jsp.ui.internal.java.search.JSPFindOccurrencesActionDelegate"
501 actionID="FindOccurrences">
502 </action>
503 <action
504 id="StructureSelectEnclosing"
505 label="%StructureSelectEnclosing_label"
506 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
507 tooltip="%StructureSelectEnclosing_tooltip"
508 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
509 actionID="StructureSelectEnclosing">
510 </action>
511 <action
512 id="StructureSelectNext"
513 label="%StructureSelectNext_label"
514 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
515 tooltip="%StructureSelectNext_tooltip"
516 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
517 actionID="StructureSelectNext">
518 </action>
519 <action
520 id="StructureSelectPrevious"
521 label="%StructureSelectPrevious_label"
522 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
523 tooltip="%StructureSelectPrevious_tooltip"
524 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
525 actionID="StructureSelectPrevious">
526 </action>
527 <action
528 id="StructureSelectHistory"
529 label="%StructureSelectHistory_label"
530 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
531 tooltip="%StructureSelectHistory_tooltip"
532 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
533 actionID="StructureSelectHistory">
534 </action>
535 </editorContribution>
nitind6d98c7b2005-10-07 21:17:31 +0000536 <editorContribution
537 targetID="org.eclipse.jst.jsp.core.jspsource.source"
538 id="org.eclipse.jst.jsp.core.jspsource.ruler.actions">
539 <action
540 label="%Dummy.label"
541 helpContextId="org.eclipse.ui.bookmark_action_context"
542 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
543 actionID="RulerDoubleClick"
544 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
545 <action
546 label="%Dummy.label"
547 class="org.eclipse.ui.texteditor.SelectRulerAction"
548 actionID="RulerClick"
549 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
550 </editorContribution>
nitind102e60a2005-09-15 12:42:42 +0000551 </extension>
nitindb0f7b262004-11-23 19:12:23 +0000552</plugin>