blob: 23fb162aabaa1ae1f7aebc4bb3363a36498225bd [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_williamsb5d05632006-02-27 09:24:00 +00008 icon="$nl$/icons//full/obj16/sourceEditor.gif"
nitind0dc06c32007-03-28 02:32:13 +00009 extensions="jsp, jsf, jspf, jspx, tag, tagx, 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>
david_williamse6088952006-04-17 01:10:40 +000017 <editor
18 name="%CSS_JSP_Source_Page_Editor.name"
19 icon="$nl$/icons//full/obj16/sourceEditor.gif"
20 contributorClass="org.eclipse.jst.jsp.ui.internal.editor.ActionContributorJSP"
21 class="org.eclipse.wst.sse.ui.StructuredTextEditor"
22 symbolicFontName="org.eclipse.wst.sse.ui.textfont"
23 id="org.eclipse.jst.jsp.core.cssjspsource.source">
24 <contentTypeBinding
25 contentTypeId="org.eclipse.jst.jsp.core.cssjspsource" />
26 <contentTypeBinding
27 contentTypeId="org.eclipse.jst.jsp.core.cssjspfragmentsource" />
28 </editor>
david_williams8a8ea862004-12-07 14:12:53 +000029 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000030
nitind40dcdbd2005-09-07 23:33:18 +000031 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
32 <sourceViewerConfiguration
nitind63991e02005-11-07 06:05:44 +000033 class="org.eclipse.jst.jsp.ui.StructuredTextViewerConfigurationJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +000034 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000035 <contentOutlineConfiguration
nitind63991e02005-11-07 06:05:44 +000036 class="org.eclipse.jst.jsp.ui.views.contentoutline.JSPContentOutlineConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000037 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000038 <propertySheetConfiguration
nitind1bf20a12005-09-15 11:48:15 +000039 class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000040 target="org.eclipse.jst.jsp.core.jspsource" />
amywu160c8972007-11-06 20:07:20 +000041 <documentationTextHover
42 class="org.eclipse.jst.jsp.ui.internal.taginfo.JSPTagInfoHoverProcessor"
43 target="org.eclipse.jst.jsp.DEFAULT_JSP, org.eclipse.jst.jsp.JSP_DIRECTIVE">
44 </documentationTextHover>
45 <documentationTextHover
46 class="org.eclipse.jst.jsp.ui.internal.taginfo.JSPJavaJavadocHoverProcessor"
47 target="org.eclipse.jst.jsp.SCRIPT.JAVA">
48 </documentationTextHover>
nitind40dcdbd2005-09-07 23:33:18 +000049 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000050 type="sourceeditingtexttools"
david_williams1a3e50d2005-03-17 03:17:23 +000051 class="org.eclipse.jst.jsp.ui.internal.editor.JSPSourceEditingTextTools"
david_williamsad0e4cc2005-06-04 01:49:19 +000052 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000053 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000054 type="characterpairmatcher"
david_williams1a3e50d2005-03-17 03:17:23 +000055 class="org.eclipse.jst.jsp.ui.internal.text.JSPDocumentRegionEdgeMatcher"
david_williamsad0e4cc2005-06-04 01:49:19 +000056 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000057 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000058 type="structuredtextfoldingprovider"
59 class="org.eclipse.jst.jsp.ui.internal.projection.StructuredTextFoldingProviderJSP"
60 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000061 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000062 type="preferencepages"
nitindb9e172e2008-03-26 23:10:54 +000063 value="org.eclipse.jst.jsp.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,,org.eclipse.jst.jsp.ui.preferences.validation"
david_williamsad0e4cc2005-06-04 01:49:19 +000064 target="org.eclipse.jst.jsp.core.jspsource" />
nitind40dcdbd2005-09-07 23:33:18 +000065 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000066 type="showintarget"
67 value="org.eclipse.jdt.ui.PackageExplorer"
68 target="org.eclipse.jst.jsp.core.jspsource" />
nitindfa875bd2007-02-15 02:21:44 +000069 <provisionalDefinition
70 type="spellingregions"
nitind5a977d62007-09-03 07:58:02 +000071 value="XML_COMMENT_TEXT, JSP_COMMENT_TEXT, XML_CONTENT, HTML_CONTENT"
nitindfa875bd2007-02-15 02:21:44 +000072 target="org.eclipse.jst.jsp.core.jspsource" />
amywu81706092008-04-03 06:45:06 +000073 <provisionalDefinition
74 type="activecontexts"
75 value="org.eclipse.jst.jsp.core.jspsource, org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope, org.eclipse.wst.html.core.htmlsource, org.eclipse.core.runtime.xml, org.eclipse.wst.xml.navigation, org.eclipse.wst.xml.comments, org.eclipse.wst.xml.selection"
76 target="org.eclipse.jst.jsp.core.jspsource" />
david_williams8a8ea862004-12-07 14:12:53 +000077 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +000078
nitind00acbe52006-11-02 00:57:47 +000079 <!--======================================================================================-->
80 <!-- source validation for JSP -->
81 <!--======================================================================================-->
82 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
83 <validator
84 scope="total"
85 class="org.eclipse.jst.jsp.core.internal.validation.JSPJavaValidator"
86 id="org.eclipse.jst.jsp.jspsourcevalidator">
87 <contentTypeIdentifier
88 id="org.eclipse.jst.jsp.core.jspsource">
89 <partitionType id="org.eclipse.jst.jsp.DEFAULT_JSP">
90 </partitionType>
91 <partitionType id="org.eclipse.jst.jsp.SCRIPT.JAVA">
92 </partitionType>
nitind00acbe52006-11-02 00:57:47 +000093 <partitionType id="org.eclipse.jst.jsp.JSP_DIRECTIVE">
94 </partitionType>
95 </contentTypeIdentifier>
96 </validator>
97 </extension>
98 <!--======================================================================================-->
99 <!-- source (as you type) validation for JSP EL -->
100 <!--======================================================================================-->
101 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
102 <validator
103 scope="total"
104 class="org.eclipse.jst.jsp.core.internal.validation.JSPELValidator"
105 id="org.eclipse.jst.jsp.jspelsourcevalidator">
106 <contentTypeIdentifier
107 id="org.eclipse.jst.jsp.core.jspsource">
108 <partitionType id="org.eclipse.jst.jsp.SCRIPT.JSP_EL">
109 </partitionType>
110 </contentTypeIdentifier>
111 </validator>
112 </extension>
113 <!--======================================================================================-->
114 <!-- source (as you type) validation for JSP directive -->
115 <!--======================================================================================-->
116 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
117 <validator
118 scope="total"
119 class="org.eclipse.jst.jsp.core.internal.validation.JSPDirectiveValidator"
120 id="org.eclipse.jst.jsp.tldsourcevalidator">
121 <contentTypeIdentifier
122 id="org.eclipse.jst.jsp.core.jspsource">
123 <partitionType id="org.eclipse.jst.jsp.DEFAULT_JSP">
124 </partitionType>
125 <partitionType id="org.eclipse.jst.jsp.JSP_DIRECTIVE">
126 </partitionType>
127 </contentTypeIdentifier>
128 </validator>
129 </extension>
130 <!--======================================================================================-->
amywu2c6a31d2007-04-23 19:44:08 +0000131 <!-- source (as you type) validation for JSP action tags -->
132 <!--======================================================================================-->
133 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
134 <validator
135 scope="partial"
136 class="org.eclipse.jst.jsp.ui.internal.validation.JSPActionSourceValidator"
137 id="org.eclipse.jst.jsp.ui.internal.validation.jspactionvalidator">
138 <contentTypeIdentifier
139 id="org.eclipse.jst.jsp.core.jspsource">
140 <partitionType id="org.eclipse.jst.jsp.DEFAULT_JSP">
141 </partitionType>
142 <partitionType id="org.eclipse.jst.jsp.JSP_DIRECTIVE">
143 </partitionType>
144 </contentTypeIdentifier>
145 </validator>
146 </extension>
147 <!--======================================================================================-->
nitind00acbe52006-11-02 00:57:47 +0000148 <!-- custom XML source (as you type) validation -->
149 <!--======================================================================================-->
nitind8d9f0502006-06-07 06:21:48 +0000150 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
151 <validator
152 scope="partial"
153 class="org.eclipse.wst.xml.ui.internal.validation.MarkupValidator"
154 id="org.eclipse.jst.jsp.ui.internal.validation.markupvalidator">
155 <contentTypeIdentifier
156 id="org.eclipse.jst.jsp.core.jspsource">
157 <partitionType id="org.eclipse.jst.jsp.JSP_DIRECTIVE"/>
nitind8d9f0502006-06-07 06:21:48 +0000158 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
159 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
160 </contentTypeIdentifier>
161 </validator>
nitind00acbe52006-11-02 00:57:47 +0000162 </extension>
163 <!--======================================================================================-->
164 <!-- HTML (as you type) validation -->
165 <!--======================================================================================-->
166 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
nitind8d9f0502006-06-07 06:21:48 +0000167 <validator
168 scope="partial"
amywu32bdd412007-02-14 08:12:56 +0000169 class="org.eclipse.jst.jsp.ui.internal.validation.JSPContentSourceValidator"
nitind8d9f0502006-06-07 06:21:48 +0000170 id="org.eclipse.jst.jsp.ui.internal.validation.htmlsyntaxvalidator">
171 <contentTypeIdentifier
172 id="org.eclipse.jst.jsp.core.jspsource">
173 <partitionType id="org.eclipse.jst.jsp.JSP_DIRECTIVE"/>
174 <partitionType id="org.eclipse.wst.html.HTML_DEFAULT"/>
175 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT"/>
176 <partitionType id="org.eclipse.wst.sse.ST_DEFAULT"/>
177 </contentTypeIdentifier>
178 </validator>
179 </extension>
180
nitind00acbe52006-11-02 00:57:47 +0000181 <!--======================================================================================-->
182 <!-- JSP UI Adapter factories -->
183 <!--======================================================================================-->
david_williams8a8ea862004-12-07 14:12:53 +0000184 <extension
185 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
186 <adapterFactoryDescription
david_williams1a3e50d2005-03-17 03:17:23 +0000187 class="org.eclipse.jst.jsp.ui.internal.registry.AdapterFactoryProviderForJSP">
david_williams8a8ea862004-12-07 14:12:53 +0000188 <contentType id="org.eclipse.jst.jsp.core.jspsource" />
189 </adapterFactoryDescription>
190 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000191
david_williams8a8ea862004-12-07 14:12:53 +0000192 <extension
193 point="org.eclipse.core.filebuffers.annotationModelCreation">
david_williamsad0e4cc2005-06-04 01:49:19 +0000194 <factory
195 contentTypeId="org.eclipse.jst.jsp.core.jspsource"
pavery22480de2005-03-29 21:41:37 +0000196 class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" />
david_williams8a8ea862004-12-07 14:12:53 +0000197 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000198
david_williams8a8ea862004-12-07 14:12:53 +0000199 <extension point="org.eclipse.ui.preferencePages">
200
201 <!--======================================================================================-->
202 <!-- JSP PREFERENCE PAGES -->
203 <!--======================================================================================-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000204 <page
205 name="%JSP_Files.name"
nitind0babf612008-01-30 23:30:51 +0000206 category="org.eclipse.wst.html.ui.preferences.web"
david_williams1a3e50d2005-03-17 03:17:23 +0000207 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPFilesPreferencePage"
nitind0babf612008-01-30 23:30:51 +0000208 id="org.eclipse.jst.jsp.ui.preferences.jsp">
nitindb9e172e2008-03-26 23:10:54 +0000209 <keywordReference id="org.eclipse.jst.jsp.ui.files"/>
amywu73701a02006-12-06 00:16:27 +0000210 </page>
david_williamsad0e4cc2005-06-04 01:49:19 +0000211 <page
212 name="%JSP_Source.name"
nitind0babf612008-01-30 23:30:51 +0000213 category="org.eclipse.jst.jsp.ui.preferences.jsp"
david_williamse5c73212005-04-19 03:36:25 +0000214 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPSourcePreferencePage"
amywu73701a02006-12-06 00:16:27 +0000215 id="org.eclipse.wst.sse.ui.preferences.jsp.source">
216 </page>
david_williamsad0e4cc2005-06-04 01:49:19 +0000217 <page
218 name="%JSP_Templates.name"
nitindde12ce62008-01-31 02:24:31 +0000219 category="org.eclipse.wst.sse.ui.preferences.jsp.source"
david_williams1a3e50d2005-03-17 03:17:23 +0000220 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPTemplatePreferencePage"
amywu73701a02006-12-06 00:16:27 +0000221 id="org.eclipse.wst.sse.ui.preferences.jsp.templates">
nitindb9e172e2008-03-26 23:10:54 +0000222 <keywordReference id="org.eclipse.jst.jsp.ui.templates"/>
amywu73701a02006-12-06 00:16:27 +0000223 </page>
david_williamsad0e4cc2005-06-04 01:49:19 +0000224 <page
nitind83148392007-01-31 00:49:07 +0000225 name="%JSP_Syntax_Coloring"
nitindde12ce62008-01-31 02:24:31 +0000226 category="org.eclipse.wst.sse.ui.preferences.jsp.source"
nitind83148392007-01-31 00:49:07 +0000227 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPSyntaxColoringPage"
amywu73701a02006-12-06 00:16:27 +0000228 id="org.eclipse.wst.sse.ui.preferences.jsp.styles">
nitindb9e172e2008-03-26 23:10:54 +0000229 <keywordReference id="org.eclipse.jst.jsp.ui.styles"/>
230 </page>
231 <page
232 name="%JSP_Validation"
233 category="org.eclipse.jst.jsp.ui.preferences.jsp"
234 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPValidationPreferencePage"
235 id="org.eclipse.jst.jsp.ui.preferences.validation">
236 <keywordReference id="org.eclipse.jst.jsp.ui.severities"/>
amywu73701a02006-12-06 00:16:27 +0000237 </page>
nitindf4a9c3f2008-03-27 07:16:38 +0000238 <page
239 name="%JSP_Typing"
240 category="org.eclipse.wst.sse.ui.preferences.jsp.source"
241 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPTypingPreferencePage"
242 id="org.eclipse.jst.jsp.ui.preferences.typing">
243 </page>
david_williams8a8ea862004-12-07 14:12:53 +0000244 </extension>
amywu73701a02006-12-06 00:16:27 +0000245
246 <!-- Keywords for preference and properties pages -->
247 <extension point="org.eclipse.ui.keywords">
248 <keyword
249 label="%preferenceKeywords.files"
nitindb9e172e2008-03-26 23:10:54 +0000250 id="org.eclipse.jst.jsp.ui.files"/>
amywu73701a02006-12-06 00:16:27 +0000251 <keyword
252 label="%preferenceKeywords.templates"
nitindb9e172e2008-03-26 23:10:54 +0000253 id="org.eclipse.jst.jsp.ui.templates"/>
amywu73701a02006-12-06 00:16:27 +0000254 <keyword
255 label="%preferenceKeywords.styles"
nitindb9e172e2008-03-26 23:10:54 +0000256 id="org.eclipse.jst.jsp.ui.styles"/>
amywu73701a02006-12-06 00:16:27 +0000257 <keyword
258 label="%preferenceKeywords.fragments"
nitindb9e172e2008-03-26 23:10:54 +0000259 id="org.eclipse.jst.jsp.ui.fragments"/>
260 <keyword
261 label="%preferenceKeywords.severities"
262 id="org.eclipse.jst.jsp.ui.severities"/>
amywu73701a02006-12-06 00:16:27 +0000263 </extension>
david_williams8a8ea862004-12-07 14:12:53 +0000264
265 <!--======================================================================================-->
266 <!-- FOR JSP/JAVA RENAME PARTICIPATION -->
267 <!--======================================================================================-->
268 <extension
269 point="org.eclipse.ltk.core.refactoring.renameParticipants">
270 <renameParticipant
271 name="%JSP_Type_Rename_Participant_Extension_Element.name"
272 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPTypeRenameParticipant"
273 id="org.eclipse.jst.jsp.ui.java.refactoring.JSPTypeRenameParticipant">
274 <enablement>
275 <with variable="affectedNatures">
276 <iterate operator="or">
david_williamsad0e4cc2005-06-04 01:49:19 +0000277 <equals value="org.eclipse.jdt.core.javanature" />
278
david_williams8a8ea862004-12-07 14:12:53 +0000279 </iterate>
280 </with>
281 <with variable="element">
david_williamsad0e4cc2005-06-04 01:49:19 +0000282 <instanceof value="org.eclipse.jdt.core.IType" />
283
david_williams8a8ea862004-12-07 14:12:53 +0000284 </with>
285 </enablement>
286 </renameParticipant>
287
288 <renameParticipant
289 name="%JSP_Method_Rename_Participant_Extension_Element.name"
290 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPMethodRenameParticipant"
291 id="org.eclipse.jst.jsp.ui.java.refactoring.JSPMethodRenameParticipant">
292 <enablement>
293 <with variable="affectedNatures">
294 <iterate operator="or">
david_williamsad0e4cc2005-06-04 01:49:19 +0000295 <equals value="org.eclipse.jdt.core.javanature" />
296
david_williams8a8ea862004-12-07 14:12:53 +0000297 </iterate>
298 </with>
299 <with variable="element">
david_williamsad0e4cc2005-06-04 01:49:19 +0000300 <instanceof value="org.eclipse.jdt.core.IMethod" />
301
david_williams8a8ea862004-12-07 14:12:53 +0000302 </with>
303 </enablement>
304 </renameParticipant>
305
306 <renameParticipant
307 name="%JSP_Package_Rename_Participant_Extension_Element.name"
308 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPPackageRenameParticipant"
309 id="org.eclipse.jst.jsp.ui.java.refactoring.JSPPackageRenameParticipant">
310 <enablement>
311 <with variable="affectedNatures">
312 <iterate operator="or">
david_williamsad0e4cc2005-06-04 01:49:19 +0000313 <equals value="org.eclipse.jdt.core.javanature" />
314
david_williams8a8ea862004-12-07 14:12:53 +0000315 </iterate>
316 </with>
317 <with variable="element">
318 <instanceof
david_williamsad0e4cc2005-06-04 01:49:19 +0000319 value="org.eclipse.jdt.core.IPackageFragment" />
320
david_williams8a8ea862004-12-07 14:12:53 +0000321 </with>
322 </enablement>
323 </renameParticipant>
324 </extension>
325
326 <!--======================================================================================-->
327 <!-- FOR JSP/JAVA MOVE PARTICIPATION -->
328 <!--======================================================================================-->
329 <extension
330 point="org.eclipse.ltk.core.refactoring.moveParticipants">
331
332 <moveParticipant
333 id="org.eclipse.jst.jsp.ui.java.refactoring.JSPTypeMoveParticipant"
334 name="%JSP_Type_Move_Participant_Extension_Element.name"
335 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPTypeMoveParticipant">
336 <enablement>
337 <with variable="affectedNatures">
338 <iterate operator="or">
339 <equals value="org.eclipse.jdt.core.javanature" />
340 </iterate>
341 </with>
342 <with variable="element">
david_williamsad0e4cc2005-06-04 01:49:19 +0000343 <instanceof value="org.eclipse.jdt.core.IType" />
344
david_williams8a8ea862004-12-07 14:12:53 +0000345 </with>
346 </enablement>
nitindb0f7b262004-11-23 19:12:23 +0000347 </moveParticipant>
david_williams8a8ea862004-12-07 14:12:53 +0000348 </extension>
nitindb0f7b262004-11-23 19:12:23 +0000349
david_williams8a8ea862004-12-07 14:12:53 +0000350 <!--======================================================================================-->
351 <!-- for breakpoint -->
352 <!--======================================================================================-->
353 <extension point="org.eclipse.wst.sse.ui.breakpoint">
354 <breakpointContribution id="org.eclipse.jst.jsp.ui.providers">
david_williamsad0e4cc2005-06-04 01:49:19 +0000355 <provider
356 contentTypes="org.eclipse.jst.jsp.core.jspsource"
nitind0dc06c32007-03-28 02:32:13 +0000357 id="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider">
358 <class class="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider">
359 <parameter name="org.eclipse.jst.jsp.core.jspsource" value="*jsp,jsp_servlet._*"/>
nitind17359fc2007-04-04 21:46:55 +0000360 <parameter name="org.eclipse.jst.jsp.core.tagsource" value="*tag,*tagx,tag._*,tagx._*"/>
nitind0dc06c32007-03-28 02:32:13 +0000361 </class>
362 </provider>
david_williams8a8ea862004-12-07 14:12:53 +0000363 </breakpointContribution>
364 </extension>
365
366 <!--======================================================================================-->
367 <!-- Snippet View contributions -->
368 <!--======================================================================================-->
369 <extension
nitind990b1d52005-04-05 14:07:27 +0000370 point="org.eclipse.wst.common.snippets.SnippetContributions">
david_williamsad0e4cc2005-06-04 01:49:19 +0000371 <category
372 label="%JSP_Extension_Element.label"
nitind73af8812005-11-09 21:58:34 +0000373 smallicon="icons/snippets/tag-jsp.gif"
david_williams8a8ea862004-12-07 14:12:53 +0000374 id="org.eclipse.jst.jsp.ui.category0"
david_williamsad0e4cc2005-06-04 01:49:19 +0000375 contenttypes="org.eclipse.jst.jsp.core.jspsource">
376 <item
377 label="%jsp_hidden_comment"
nitind73af8812005-11-09 21:58:34 +0000378 smallicon="icons/snippets/tag-generic.gif"
nitindddead2d2005-04-13 15:08:31 +0000379 id="org.eclipse.jst.jsp.ui.jsp_hidden_comment">
380 <content>%jsp_hidden_comment_content</content>
381 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000382 <item
383 label="%jsp_scriptlet"
nitind73af8812005-11-09 21:58:34 +0000384 smallicon="icons/snippets/jspscr.gif"
nitindddead2d2005-04-13 15:08:31 +0000385 id="org.eclipse.jst.jsp.ui.jsp_scriptlet">
386 <content>%jsp_scr_content</content>
387 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000388 <item
389 label="%jsp_expression"
nitind73af8812005-11-09 21:58:34 +0000390 smallicon="icons/snippets/jspexp.gif"
nitindddead2d2005-04-13 15:08:31 +0000391 id="org.eclipse.jst.jsp.ui.jsp_expression">
392 <content>%jsp_expression_content</content>
393 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000394 <item
395 label="%jsp_declaration"
nitind73af8812005-11-09 21:58:34 +0000396 smallicon="icons/snippets/jspdecl.gif"
nitindddead2d2005-04-13 15:08:31 +0000397 id="org.eclipse.jst.jsp.ui.jsp_declaration">
398 <content>%jsp_declaration_content</content>
399 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000400 <item
401 label="%jsp_include_directive"
nitind73af8812005-11-09 21:58:34 +0000402 smallicon="icons/snippets/jspincl.gif"
nitindddead2d2005-04-13 15:08:31 +0000403 id="org.eclipse.jst.jsp.ui.jsp_include_directive">
404 <content>%jsp_include_directive_content</content>
405 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000406 <item
407 label="%jsp_page_directive"
nitindddead2d2005-04-13 15:08:31 +0000408 id="org.eclipse.jst.jsp.ui.jsp_page_directive">
409 <content>%jsp_page_directive_content</content>
410 </item>
david_williamsad0e4cc2005-06-04 01:49:19 +0000411 <item
412 label="%jsp_taglib_directive"
nitind73af8812005-11-09 21:58:34 +0000413 smallicon="icons/snippets/jsptaglib.gif"
nitindddead2d2005-04-13 15:08:31 +0000414 id="org.eclipse.jst.jsp.ui.jsp_taglib_directive">
415 <content>%jsp_taglib_directive_content</content>
david_williamsad0e4cc2005-06-04 01:49:19 +0000416 <variable
417 description="%jsp_taglib_directive_uri"
418 id="uri" />
419
420 <variable
421 default="mylib"
422 description="%jsp_taglib_directive_prefix"
423 id="prefix" />
424
nitindddead2d2005-04-13 15:08:31 +0000425 </item>
426 </category>
david_williams8a8ea862004-12-07 14:12:53 +0000427 </extension>
428
429 <!-- Editor actionsets -->
430 <extension point="org.eclipse.ui.actionSetPartAssociations">
431 <actionSetPartAssociation
432 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
david_williamsad0e4cc2005-06-04 01:49:19 +0000433 <part id="org.eclipse.jst.jsp.core.jspsource.source" />
david_williams8a8ea862004-12-07 14:12:53 +0000434 </actionSetPartAssociation>
435 <actionSetPartAssociation
436 targetID="org.eclipse.ui.NavigateActionSet">
david_williamsad0e4cc2005-06-04 01:49:19 +0000437 <part id="org.eclipse.jst.jsp.core.jspsource.source" />
david_williams8a8ea862004-12-07 14:12:53 +0000438 </actionSetPartAssociation>
nitindf3f10872007-09-03 06:36:56 +0000439 <actionSetPartAssociation
440 targetID="org.eclipse.debug.ui.launchActionSet">
441 <part id="org.eclipse.jst.jsp.core.jspsource.source"/>
442 </actionSetPartAssociation>
david_williams8a8ea862004-12-07 14:12:53 +0000443 </extension>
444
445 <!--======================================================================================-->
446 <!-- JSP Editor specific actions -->
447 <!--======================================================================================-->
448 <extension point="org.eclipse.ui.commands">
david_williams8a8ea862004-12-07 14:12:53 +0000449 <!-- rename refactor -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000450 <command
451 name="%command.jsp.refactor.rename.name"
david_williams8a8ea862004-12-07 14:12:53 +0000452 description="%command.jsp.refactor.rename.description"
nitind102e60a2005-09-15 12:42:42 +0000453 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000454 id="org.eclipse.jst.jsp.ui.refactor.rename" />
455
david_williams8a8ea862004-12-07 14:12:53 +0000456 <!-- move refactor -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000457 <command
458 name="%command.jsp.refactor.move.name"
david_williams8a8ea862004-12-07 14:12:53 +0000459 description="%command.jsp.refactor.move.description"
nitind102e60a2005-09-15 12:42:42 +0000460 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000461 id="org.eclipse.jst.jsp.ui.refactor.move" />
nitind102e60a2005-09-15 12:42:42 +0000462 </extension>
463
464 <!-- Keybinding scope for jsp source editor -->
465 <extension point="org.eclipse.ui.contexts">
466 <context
467 name="%scope.structured.text.editor.jsp.name"
amywu81706092008-04-03 06:45:06 +0000468 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
nitind102e60a2005-09-15 12:42:42 +0000469 description="%scope.structured.text.editor.jsp.description"
470 id="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope">
471 </context>
amywu81706092008-04-03 06:45:06 +0000472 <context
473 name="%scope.jsp.core.jspsource.name"
474 parentId="org.eclipse.wst.sse.ui.structuredTextEditorScope"
475 description="%scope.jsp.core.jspsource.description"
476 id="org.eclipse.jst.jsp.core.jspsource">
477 </context>
nitind102e60a2005-09-15 12:42:42 +0000478 </extension>
479
480 <!-- Keybindings for jsp source editor -->
481 <extension point="org.eclipse.ui.bindings">
amywu6b884872006-04-11 21:27:55 +0000482 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
nitind102e60a2005-09-15 12:42:42 +0000483 <!-- rename refactor -->
484 <key
amywu6b884872006-04-11 21:27:55 +0000485 sequence="M2+M3+R"
nitind102e60a2005-09-15 12:42:42 +0000486 contextId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope"
487 commandId="org.eclipse.jst.jsp.ui.refactor.rename"
488 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
489 </key>
david_williamsad0e4cc2005-06-04 01:49:19 +0000490
nitind102e60a2005-09-15 12:42:42 +0000491 <!-- move refactor -->
492 <key
amywu6b884872006-04-11 21:27:55 +0000493 sequence="M2+M3+V"
nitind102e60a2005-09-15 12:42:42 +0000494 contextId="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope"
495 commandId="org.eclipse.jst.jsp.ui.refactor.move"
496 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration">
497 </key>
david_williams8a8ea862004-12-07 14:12:53 +0000498 </extension>
499
david_williams8a8ea862004-12-07 14:12:53 +0000500 <!--======================================================================================-->
501 <!-- Templates -->
502 <!--======================================================================================-->
503 <extension point="org.eclipse.ui.editors.templates">
david_williamsad0e4cc2005-06-04 01:49:19 +0000504 <contextType
505 name="%All_JSP_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000506 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000507 id="jsp_all" />
508
509 <contextType
510 name="%JSP_New_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000511 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000512 id="jsp_new" />
513
514 <contextType
nitindb9e172e2008-03-26 23:10:54 +0000515 name="%Tag_New_context_type_Extension_Element.name"
516 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
517 id="tag_new" />
518
519 <contextType
david_williamsad0e4cc2005-06-04 01:49:19 +0000520 name="%JSP_Tag_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000521 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000522 id="jsp_tag" />
523
david_williams8a8ea862004-12-07 14:12:53 +0000524 <contextType
525 name="%JSP_Attribute_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000526 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000527 id="jsp_attribute" />
528
david_williams8a8ea862004-12-07 14:12:53 +0000529 <contextType
530 name="%JSP_Attribute_value_context_type_Extension_Element.name"
david_williams4da6ac012005-03-15 02:43:58 +0000531 class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP"
david_williamsad0e4cc2005-06-04 01:49:19 +0000532 id="jsp_attribute_value" />
533
534 <include
535 file="templates/jspdefault-templates.xml"
david_williams73c174f2005-07-08 20:26:14 +0000536 translations="$nl$/templates/jspdefault-templates.properties" />
david_williamsad0e4cc2005-06-04 01:49:19 +0000537
david_williams8a8ea862004-12-07 14:12:53 +0000538 </extension>
539
540 <!--======================================================================================-->
541 <!-- queryParticipant to participate in java seraches -->
542 <!--======================================================================================-->
543 <extension point="org.eclipse.jdt.ui.queryParticipants">
544 <queryParticipant
545 name="%JSP_Query_Participant_Extension_Element.name"
546 nature="org.eclipse.jdt.core.javanature"
547 class="org.eclipse.jst.jsp.ui.internal.java.search.ui.JSPQueryParticipant"
david_williamsad0e4cc2005-06-04 01:49:19 +0000548 id="org.eclipse.jst.jsp.ui.java.search.ui.JSPQueryParticipant" />
549
david_williams8a8ea862004-12-07 14:12:53 +0000550 </extension>
nitind410b6c22005-01-25 15:57:22 +0000551 <!-- initialize xml ui preferences -->
552 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +0000553 <initializer
554 class="org.eclipse.jst.jsp.ui.internal.preferences.JSPUIPreferenceInitializer" />
nitind410b6c22005-01-25 15:57:22 +0000555 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000556
nitindd4f81c02005-02-07 23:11:25 +0000557 <!--======================================================================================-->
558 <!-- Document provider for ExternalFileEditorInput -->
559 <!--======================================================================================-->
david_williamsad0e4cc2005-06-04 01:49:19 +0000560 <extension point="org.eclipse.ui.editors.documentProviders">
561 <provider
562 inputTypes="org.eclipse.jst.jsp.ui.internal.hyperlink.ExternalFileEditorInput"
563 class="org.eclipse.ui.editors.text.TextFileDocumentProvider"
564 id="org.eclipse.jst.jsp.ui.internal.ExternalFileDocumentProvider" />
565
566 </extension>
nitindd4f81c02005-02-07 23:11:25 +0000567
nitind2d5bc542005-03-10 23:04:05 +0000568 <!-- New JSP wizard -->
569 <extension point="org.eclipse.ui.newWizards">
david_williamsad0e4cc2005-06-04 01:49:19 +0000570 <wizard
571 id="org.eclipse.jst.jsp.ui.internal.wizard.NewJSPWizard"
nitind2d5bc542005-03-10 23:04:05 +0000572 name="%_UI_WIZARD_NAME"
573 class="org.eclipse.jst.jsp.ui.internal.wizard.NewJSPWizard"
574 category="org.eclipse.wst.web.ui"
david_williamsb5d05632006-02-27 09:24:00 +0000575 icon="$nl$/icons/full/etool16/newjsp_wiz.gif">
nitind2d5bc542005-03-10 23:04:05 +0000576 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
577 <selection class="org.eclipse.core.resources.IResource" />
578 </wizard>
nitindb9e172e2008-03-26 23:10:54 +0000579
580 <wizard
581 id="org.eclipse.jst.jsp.ui.internal.wizard.NewTagWizard"
582 name="%_UI_WIZARD_TAG_NAME"
583 class="org.eclipse.jst.jsp.ui.internal.wizard.NewTagWizard"
584 category="org.eclipse.wst.web.ui"
585 icon="$nl$/icons/full/etool16/newjsp_wiz.gif">
586 <description>%_UI_WIZARD_TAG_CREATE_NEW_FILE</description>
587 <selection class="org.eclipse.core.resources.IResource" />
588 </wizard>
nitind2d5bc542005-03-10 23:04:05 +0000589 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000590
nitindb9e172e2008-03-26 23:10:54 +0000591 <!-- Add new JSP wizard to Project Explorer -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000592 <extension
nitind41be8ce2005-08-11 03:16:13 +0000593 id="org.eclipse.jst.jsp.commonWizard.newJSP"
amywu3a205672006-02-23 05:05:23 +0000594 point="org.eclipse.ui.navigator.navigatorContent">
david_williamsad0e4cc2005-06-04 01:49:19 +0000595 <commonWizard
jlanutib5fbe9d2006-05-16 18:09:12 +0000596 menuGroupId="org.eclipse.wst.web.ui"
597 type="new"
598 wizardId="org.eclipse.jst.jsp.ui.internal.wizard.NewJSPWizard">
david_williams45d38072005-04-15 23:39:31 +0000599 <enablement>
600 <or>
amywu9802af82006-06-01 21:22:40 +0000601 <adapt type="org.eclipse.core.resources.IResource">
602 <test
603 property="org.eclipse.wst.common.project.facet.core.projectFacet"
604 value="jst.web"/>
605 </adapt>
david_williams45d38072005-04-15 23:39:31 +0000606 </or>
607 </enablement>
david_williamsad0e4cc2005-06-04 01:49:19 +0000608 </commonWizard>
609 </extension>
610
611 <extension point="org.eclipse.ui.popupMenus">
david_williamsa4dd7662005-04-14 00:33:20 +0000612 <viewerContribution
613 targetID="org.eclipse.jst.jsp.core.jspsource.source.RulerContext"
david_williamsad0e4cc2005-06-04 01:49:19 +0000614 id="org.eclipse.ui.texteditor.ruler.context.actions">
david_williamsa4dd7662005-04-14 00:33:20 +0000615 <action
616 label="%AddTask.label"
617 helpContextId="org.eclipse.ui.AddTask_action_context"
618 class="org.eclipse.ui.texteditor.TaskRulerAction"
619 tooltip="%AddTask.tooltip"
620 menubarPath="additions"
david_williamsad0e4cc2005-06-04 01:49:19 +0000621 id="org.eclipse.ui.texteditor.TaskRulerAction" />
622
david_williamsa4dd7662005-04-14 00:33:20 +0000623 <action
624 label="%AddBookmark.label"
625 helpContextId="org.eclipse.ui.bookmark_action_context"
626 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
627 tooltip="%AddBookmark.tooltip"
628 menubarPath="additions"
david_williamsad0e4cc2005-06-04 01:49:19 +0000629 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
630
david_williamsa4dd7662005-04-14 00:33:20 +0000631 </viewerContribution>
amywu832e0d82007-04-30 19:32:31 +0000632 <viewerContribution
633 targetID="org.eclipse.jst.jsp.core.jspfragmentsource.source.RulerContext"
634 id="org.eclipse.ui.texteditor.ruler.context.actions">
635 <action
636 label="%AddTask.label"
637 helpContextId="org.eclipse.ui.AddTask_action_context"
638 class="org.eclipse.ui.texteditor.TaskRulerAction"
639 tooltip="%AddTask.tooltip"
640 menubarPath="additions"
641 id="org.eclipse.ui.texteditor.TaskRulerAction" />
642
643 <action
644 label="%AddBookmark.label"
645 helpContextId="org.eclipse.ui.bookmark_action_context"
646 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
647 tooltip="%AddBookmark.tooltip"
648 menubarPath="additions"
649 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
650
651 </viewerContribution>
652 <viewerContribution
653 targetID="org.eclipse.jst.jsp.core.tagsource.source.RulerContext"
654 id="org.eclipse.ui.texteditor.ruler.context.actions">
655 <action
656 label="%AddTask.label"
657 helpContextId="org.eclipse.ui.AddTask_action_context"
658 class="org.eclipse.ui.texteditor.TaskRulerAction"
659 tooltip="%AddTask.tooltip"
660 menubarPath="additions"
661 id="org.eclipse.ui.texteditor.TaskRulerAction" />
662
663 <action
664 label="%AddBookmark.label"
665 helpContextId="org.eclipse.ui.bookmark_action_context"
666 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
667 tooltip="%AddBookmark.tooltip"
668 menubarPath="additions"
669 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
670
671 </viewerContribution>
672 <viewerContribution
673 targetID="org.eclipse.jst.jsp.core.tldsource.source.RulerContext"
674 id="org.eclipse.ui.texteditor.ruler.context.actions">
675 <action
676 label="%AddTask.label"
677 helpContextId="org.eclipse.ui.AddTask_action_context"
678 class="org.eclipse.ui.texteditor.TaskRulerAction"
679 tooltip="%AddTask.tooltip"
680 menubarPath="additions"
681 id="org.eclipse.ui.texteditor.TaskRulerAction" />
682
683 <action
684 label="%AddBookmark.label"
685 helpContextId="org.eclipse.ui.bookmark_action_context"
686 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
687 tooltip="%AddBookmark.tooltip"
688 menubarPath="additions"
689 id="org.eclipse.ui.texteditor.BookmarkRulerAction" />
690
691 </viewerContribution>
david_williamsa4dd7662005-04-14 00:33:20 +0000692 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000693
nitind102e60a2005-09-15 12:42:42 +0000694 <extension point="org.eclipse.ui.editorActions">
amywu81706092008-04-03 06:45:06 +0000695 <editorContribution
nitind102e60a2005-09-15 12:42:42 +0000696 id="org.eclipse.jst.jsp.core.jspsource.source.editorActions"
697 targetID="org.eclipse.jst.jsp.core.jspsource.source">
amywu81706092008-04-03 06:45:06 +0000698 <!-- <action
nitind102e60a2005-09-15 12:42:42 +0000699 id="CleanupDocument"
700 label="%CleanupDocument_label"
701 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
702 tooltip="%CleanupDocument_tooltip"
703 class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate"
704 actionID="CleanupDocument">
705 </action>
706 <action
707 id="ToggleComment"
708 label="%ToggleComment_label"
709 definitionId="org.eclipse.wst.sse.ui.toggle.comment"
710 tooltip="%ToggleComment_tooltip"
711 class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate"
712 actionID="ToggleComment">
713 </action>
714 <action
715 id="AddBlockComment"
716 label="%AddBlockComment_label"
717 definitionId="org.eclipse.wst.sse.ui.add.block.comment"
718 tooltip="%AddBlockComment_tooltip"
719 class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate"
720 actionID="AddBlockComment">
721 </action>
722 <action
723 id="RemoveBlockComment"
724 label="%RemoveBlockComment_label"
725 definitionId="org.eclipse.wst.sse.ui.remove.block.comment"
726 tooltip="%RemoveBlockComment_tooltip"
727 class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate"
728 actionID="RemoveBlockComment">
amywu81706092008-04-03 06:45:06 +0000729 </action>-->
730 <!--<action
nitind102e60a2005-09-15 12:42:42 +0000731 id="RenameElement"
732 label="%RenameElement_label"
733 definitionId="org.eclipse.jst.jsp.ui.refactor.rename"
734 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPRenameElementActionDelegate"
735 actionID="RenameElement">
736 </action>
737 <action
738 id="MoveElement"
739 label="%MoveElement_label"
740 definitionId="org.eclipse.jst.jsp.ui.refactor.move"
741 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPMoveElementActionDelegate"
742 actionID="MoveElement">
743 </action>
744 <action
745 id="FindOccurrences"
746 label="%FindOccurrences_label"
747 definitionId="org.eclipse.wst.sse.ui.search.find.occurrences"
748 class="org.eclipse.jst.jsp.ui.internal.java.search.JSPFindOccurrencesActionDelegate"
749 actionID="FindOccurrences">
amywu81706092008-04-03 06:45:06 +0000750 </action>-->
751 <!--<action
nitind102e60a2005-09-15 12:42:42 +0000752 id="StructureSelectEnclosing"
753 label="%StructureSelectEnclosing_label"
754 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
755 tooltip="%StructureSelectEnclosing_tooltip"
756 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate"
757 actionID="StructureSelectEnclosing">
758 </action>
759 <action
760 id="StructureSelectNext"
761 label="%StructureSelectNext_label"
762 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
763 tooltip="%StructureSelectNext_tooltip"
764 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate"
765 actionID="StructureSelectNext">
766 </action>
767 <action
768 id="StructureSelectPrevious"
769 label="%StructureSelectPrevious_label"
770 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
771 tooltip="%StructureSelectPrevious_tooltip"
772 class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate"
773 actionID="StructureSelectPrevious">
774 </action>
775 <action
776 id="StructureSelectHistory"
777 label="%StructureSelectHistory_label"
778 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
779 tooltip="%StructureSelectHistory_tooltip"
780 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
781 actionID="StructureSelectHistory">
amywu81706092008-04-03 06:45:06 +0000782 </action>-->
nitind102e60a2005-09-15 12:42:42 +0000783 </editorContribution>
nitind6d98c7b2005-10-07 21:17:31 +0000784 <editorContribution
785 targetID="org.eclipse.jst.jsp.core.jspsource.source"
786 id="org.eclipse.jst.jsp.core.jspsource.ruler.actions">
787 <action
amywu34aa9802005-12-06 23:33:16 +0000788 label="%AddBookmark.label"
nitind6d98c7b2005-10-07 21:17:31 +0000789 helpContextId="org.eclipse.ui.bookmark_action_context"
790 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
791 actionID="RulerDoubleClick"
792 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
793 <action
amywu34aa9802005-12-06 23:33:16 +0000794 label="%SelectRuler.label"
nitind6d98c7b2005-10-07 21:17:31 +0000795 class="org.eclipse.ui.texteditor.SelectRulerAction"
796 actionID="RulerClick"
797 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
798 </editorContribution>
nitind102e60a2005-09-15 12:42:42 +0000799 </extension>
amywu81706092008-04-03 06:45:06 +0000800
801 <extension
802 point="org.eclipse.ui.handlers">
803 <handler
804 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.RenameElementHandler"
805 commandId="org.eclipse.jst.jsp.ui.refactor.rename">
806 <activeWhen>
807 <reference
808 definitionId="org.eclipse.wst.jsp.ui.jspSourceContributions.definition">
809 </reference>
810 </activeWhen>
811 <enabledWhen>
812 <reference
813 definitionId="org.eclipse.wst.jsp.ui.jspSourceContributions.definition">
814 </reference>
815 </enabledWhen>
816 </handler>
817 <handler
818 class="org.eclipse.jst.jsp.ui.internal.java.refactoring.MoveElementHandler"
819 commandId="org.eclipse.jst.jsp.ui.refactor.move">
820 <activeWhen>
821 <reference
822 definitionId="org.eclipse.wst.jsp.ui.jspSourceContributions.definition">
823 </reference>
824 </activeWhen>
825 <enabledWhen>
826 <reference
827 definitionId="org.eclipse.wst.jsp.ui.jspSourceContributions.definition">
828 </reference>
829 </enabledWhen>
830 </handler>
831 <handler
832 class="org.eclipse.jst.jsp.ui.internal.handlers.JSPFindOccurrencesHandler"
833 commandId="org.eclipse.wst.sse.ui.search.find.occurrences">
834 <activeWhen>
835 <reference
836 definitionId="org.eclipse.wst.jsp.ui.jspSourceContributions.definition">
837 </reference>
838 </activeWhen>
839 <enabledWhen>
840 <reference
841 definitionId="org.eclipse.wst.jsp.ui.jspSourceContributions.definition">
842 </reference>
843 </enabledWhen>
844 </handler>
845 </extension>
846
847
amywu3a205672006-02-23 05:05:23 +0000848 <!-- JSP Fragment Property Page -->
849 <extension point="org.eclipse.ui.propertyPages">
850 <!-- for j2ee web project -->
851 <page
amywu3a205672006-02-23 05:05:23 +0000852 name="%JSPFragmentContentSettings.name"
853 class="org.eclipse.jst.jsp.ui.internal.contentproperties.ui.ProjectJSPFContentSettingsPropertyPage"
854 id="org.eclipse.jst.jsp.ui.internal.contentproperties.ProjectJSPFContentSettingsPropertyPage">
amywuae070272006-06-01 20:49:46 +0000855 <enabledWhen>
856 <and>
857 <adapt type="org.eclipse.core.resources.IProject">
858 <or>
859 <test
860 forcePluginActivation="true"
861 property="org.eclipse.wst.common.project.facet.core.projectFacet"
862 value="jst.web" />
863 </or>
864 </adapt>
865 </and>
866 </enabledWhen>
nitindb9e172e2008-03-26 23:10:54 +0000867 <keywordReference id="org.eclipse.jst.jsp.ui.fragments"/>
amywu3a205672006-02-23 05:05:23 +0000868 </page>
869 <page
amywu3a205672006-02-23 05:05:23 +0000870 name="%JSPFragmentContentSettings.name"
871 class="org.eclipse.jst.jsp.ui.internal.contentproperties.ui.JSPFContentSettingsPropertyPage"
amywuae070272006-06-01 20:49:46 +0000872 id="org.eclipse.jst.jsp.ui.internal.contentproperties.JSPFContentSettingsPropertyPage">
873 <enabledWhen>
874 <and>
875 <adapt type="org.eclipse.core.resources.IFile">
876 <or>
877 <test
878 forcePluginActivation="true"
879 property="org.eclipse.core.resources.contentTypeId"
880 value="org.eclipse.jst.jsp.core.jspfragmentsource" />
881 <test
882 forcePluginActivation="true"
883 property="org.eclipse.core.resources.contentTypeId"
884 value="org.eclipse.jst.jsp.core.cssjspfragmentsource" />
885 </or>
886 </adapt>
887 </and>
888 </enabledWhen>
nitindb9e172e2008-03-26 23:10:54 +0000889 <keywordReference id="org.eclipse.jst.jsp.ui.fragments"/>
890 </page>
891 <page
892 name="%JSP_Property_validation"
893 class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPValidationPreferencePage"
894 id="org.eclipse.jst.jsp.ui.propertyPage.project.validation"
895 category="ValidationPropertiesPage">
896 <enabledWhen>
897 <adapt type="org.eclipse.core.resources.IProject">
898 <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.jdt.core.javanature"/>
899 </adapt>
900 </enabledWhen>
901 <keywordReference id="org.eclipse.jst.jsp.ui.severities"/>
amywu3a205672006-02-23 05:05:23 +0000902 </page>
david_williams56532222006-04-17 07:08:33 +0000903 </extension>
904 <!-- jsp-for-css editor configurations -->
905 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
906 <contentOutlineConfiguration
907 class="org.eclipse.wst.css.ui.views.contentoutline.CSSContentOutlineConfiguration"
908 target="org.eclipse.jst.jsp.core.cssjspsource" />
909 <sourceViewerConfiguration
910 class="org.eclipse.wst.css.ui.StructuredTextViewerConfigurationCSS"
911 target="org.eclipse.jst.jsp.core.cssjspsource" />
912 <propertySheetConfiguration
david_williamsf55d7d72006-05-03 07:41:51 +0000913 class="org.eclipse.jst.jsp.css.ui.internal.views.properties.JSPedCSSPropertySheetConfiguration"
david_williams56532222006-04-17 07:08:33 +0000914 target="org.eclipse.jst.jsp.core.cssjspsource" />
915 <provisionalConfiguration
916 type="characterpairmatcher"
917 class="org.eclipse.wst.css.ui.internal.text.CSSDocumentRegionEdgeMatcher"
918 target="org.eclipse.jst.jsp.core.cssjspsource" />
919 <provisionalConfiguration
920 type="structuredtextfoldingprovider"
921 class="org.eclipse.wst.css.ui.internal.projection.StructuredTextFoldingProviderCSS"
922 target="org.eclipse.jst.jsp.core.cssjspsource" />
923 <provisionalDefinition
924 type="preferencepages"
925 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"
926 target="org.eclipse.jst.jsp.core.cssjspsource" />
amywu3a205672006-02-23 05:05:23 +0000927 </extension>
david_williams4c17d812006-04-20 19:41:12 +0000928 <extension
929 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
930 <adapterFactoryDescription
931 class="org.eclipse.jst.jsp.css.ui.internal.registry.AdapterFactoryProviderJSPedCSS">
932 <contentType id="org.eclipse.jst.jsp.core.cssjspsource" />
933 </adapterFactoryDescription>
934 </extension>
amywu547e8e12007-03-14 20:16:31 +0000935 <extension
936 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
937 <target
938 id="org.eclipse.jst.jsp.core.jspsource"
939 name="%JSP_Source_target_name">
940 </target>
941 </extension>
942 <extension
943 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
944 <hyperlinkDetector
945 class="org.eclipse.jst.jsp.ui.internal.hyperlink.JSPJavaHyperlinkDetector"
946 id="org.eclipse.jst.jsp.ui.internal.hyperlink.JSPJavaHyperlinkDetector"
947 name="%JSPJava_hyperlink"
948 targetId="org.eclipse.jst.jsp.core.jspsource">
949 </hyperlinkDetector>
950 <hyperlinkDetector
951 class="org.eclipse.jst.jsp.ui.internal.hyperlink.TaglibHyperlinkDetector"
952 id="org.eclipse.jst.jsp.ui.internal.hyperlink.TaglibHyperlinkDetector"
953 name="%Taglib_hyperlink"
954 targetId="org.eclipse.jst.jsp.core.jspsource">
955 </hyperlinkDetector>
956 </extension>
amywu81706092008-04-03 06:45:06 +0000957
958 <extension point="org.eclipse.core.expressions.definitions">
959 <definition id="org.eclipse.wst.jsp.ui.jspSourceContributions.definition">
960 <with variable="activeContexts">
961 <iterate operator="or">
962 <equals value="org.eclipse.jst.jsp.core.jspsource"/>
963 </iterate>
964 </with>
965 </definition>
966 </extension>
967
968 <extension point="org.eclipse.ui.menus">
969 <menuContribution locationURI="menu:refactorMenuId">
970 <separator name="jspRefactorBegin" visible="false"></separator>
971 <command commandId="org.eclipse.jst.jsp.ui.refactor.rename" id="RenameElement" label="%command.jsp.refactor.rename.name" style="push">
972 <visibleWhen checkEnabled="false">
973 <reference definitionId="org.eclipse.wst.jsp.ui.jspSourceContributions.definition"></reference>
974 </visibleWhen>
975 </command>
976 <command commandId="org.eclipse.jst.jsp.ui.refactor.move" id="MoveElement" label="%command.jsp.refactor.move.name" style="push">
977 <visibleWhen checkEnabled="false">
978 <reference definitionId="org.eclipse.wst.jsp.ui.jspSourceContributions.definition"></reference>
979 </visibleWhen>
980 </command>
981 <separator name="jspRefactorBegin" visible="false"></separator>
982 </menuContribution>
983 </extension>
amywua46ee322008-04-24 02:05:28 +0000984
985 <!-- Enable the FormatHandler for JSP Content Type -->
986 <extension point="org.eclipse.ui.handlers">
987 <handler
988 class="org.eclipse.wst.sse.ui.internal.handlers.FormatHandler"
989 commandId="org.eclipse.wst.sse.ui.format">
990 <activeWhen>
991 <reference definitionId="org.eclipse.wst.jsp.ui.jspContentType.definition"></reference>
992 </activeWhen>
993 <enabledWhen>
994 <reference definitionId="org.eclipse.wst.jsp.ui.jspContentType.definition"></reference>
995 </enabledWhen>
996 </handler>
997 </extension>
998
999 <!-- Set up a definition for JSP Content Types -->
1000 <extension point="org.eclipse.core.expressions.definitions">
1001 <definition id="org.eclipse.wst.jsp.ui.jspContentType.definition">
1002 <iterate ifEmpty="false">
1003 <adapt type="org.eclipse.core.resources.IFile">
1004 <test property="org.eclipse.wst.sse.core.resources.contentTypeId"
1005 value="org.eclipse.jst.jsp.core.jspsource"/>
1006 </adapt>
1007 </iterate>
1008 </definition>
1009 </extension>
1010
nitindb0f7b262004-11-23 19:12:23 +00001011</plugin>