nitind | b0f7b26 | 2004-11-23 19:12:23 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 3 | <plugin id="org.eclipse.jst.jsp.ui" name="%pluginName" version="1.0.0" |
| 4 | provider-name="%providerName" |
david_williams | 425ffe7 | 2004-12-07 21:46:39 +0000 | [diff] [blame] | 5 | class="org.eclipse.jst.jsp.ui.internal.JSPUIPlugin"> |
nitind | b0f7b26 | 2004-11-23 19:12:23 +0000 | [diff] [blame] | 6 | |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 7 | <runtime> |
| 8 | <library name="jspeditor.jar"> |
| 9 | <export name="*" /> |
| 10 | </library> |
| 11 | </runtime> |
| 12 | <requires> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 13 | <import plugin="org.eclipse.ui.ide" /> |
| 14 | <import plugin="org.eclipse.ui.views" /> |
| 15 | <import plugin="org.eclipse.jface.text" /> |
| 16 | <import plugin="org.eclipse.ui.workbench.texteditor" /> |
| 17 | <import plugin="org.eclipse.ui.editors" /> |
| 18 | <import plugin="org.eclipse.ui" /> |
| 19 | <import plugin="org.eclipse.wst.sse.ui" /> |
| 20 | <import plugin="org.eclipse.wst.html.ui" /> |
| 21 | <import plugin="org.eclipse.wst.css.ui" /> |
| 22 | <import plugin="org.eclipse.wst.xml.ui" /> |
| 23 | <import plugin="org.eclipse.jst.jsp.core" /> |
| 24 | <import plugin="org.eclipse.wst.html.core" /> |
| 25 | <import plugin="org.eclipse.wst.css.core" /> |
| 26 | <import plugin="org.eclipse.wst.xml.core" /> |
| 27 | <import plugin="org.eclipse.wst.xml.uriresolver" /> |
| 28 | <import plugin="org.eclipse.wst.sse.core" /> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 29 | <import plugin="org.eclipse.jdt.ui" /> |
| 30 | <import plugin="org.eclipse.jdt.core" /> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 31 | <import plugin="org.eclipse.debug.core" /> |
| 32 | <import plugin="org.eclipse.jdt.debug" /> |
| 33 | <import plugin="org.eclipse.core.resources" /> |
| 34 | <import plugin="org.eclipse.core.runtime" /> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 35 | <import plugin="org.eclipse.search" /> |
| 36 | <import plugin="org.eclipse.ltk.core.refactoring" /> |
| 37 | <import plugin="org.eclipse.ltk.ui.refactoring" /> |
nitind | d4f81c0 | 2005-02-07 23:11:25 +0000 | [diff] [blame] | 38 | <import plugin="org.eclipse.wst.common.uriresolver"/> |
nitind | 2d5bc54 | 2005-03-10 23:04:05 +0000 | [diff] [blame] | 39 | <import plugin="org.eclipse.ui.ide" /> |
david_williams | 516aa79 | 2005-03-19 02:35:18 +0000 | [diff] [blame] | 40 | <import plugin="org.eclipse.wst.javascript.ui"/> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 41 | </requires> |
nitind | b0f7b26 | 2004-11-23 19:12:23 +0000 | [diff] [blame] | 42 | |
| 43 | |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 44 | <extension point="org.eclipse.ui.editors"> |
| 45 | <editor name="%JSP_Source_Page_Editor.name" |
david_williams | 8f22ce6 | 2005-01-12 02:10:40 +0000 | [diff] [blame] | 46 | icon="icons/sourceEditor.gif" extensions="jsp, jsf, jspf, jspx, tag, tagf" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 47 | contributorClass="org.eclipse.jst.jsp.ui.internal.editor.ActionContributorJSP" |
| 48 | class="org.eclipse.jst.jsp.ui.internal.editor.StructuredTextEditorJSP" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 49 | symbolicFontName="org.eclipse.wst.sse.ui.textfont" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 50 | id="org.eclipse.jst.jsp.ui.internal.editor.StructuredTextEditorJSP"> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 51 | </editor> |
| 52 | </extension> |
| 53 | <extension point="org.eclipse.wst.sse.ui.extendedconfiguration"> |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 54 | <configuration |
| 55 | type="textviewerconfiguration" |
pavery | f918eb2 | 2005-03-29 18:26:53 +0000 | [diff] [blame^] | 56 | class="org.eclipse.jst.jsp.ui.StructuredTextViewerConfigurationJSP" |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 57 | target="org.eclipse.jst.jsp.core.jspsource"/> |
| 58 | <configuration |
| 59 | type="contentoutlineconfiguration" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 60 | class="org.eclipse.jst.jsp.ui.internal.views.contentoutline.JSPContentOutlineConfiguration" |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 61 | target="org.eclipse.jst.jsp.core.jspsource"/> |
| 62 | <configuration |
| 63 | type="propertysheetconfiguration" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 64 | class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration" |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 65 | target="org.eclipse.jst.jsp.core.jspsource"/> |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 66 | <!-- |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 67 | <configuration |
| 68 | type="spellchecktarget" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 69 | class="org.eclipse.jst.jsp.ui.JSPSpellCheckTarget" |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 70 | target="org.eclipse.jst.jsp.core.jspsource"/> |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 71 | --> |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 72 | <configuration |
| 73 | type="sourceeditingtexttools" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 74 | class="org.eclipse.jst.jsp.ui.internal.editor.JSPSourceEditingTextTools" |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 75 | target="org.eclipse.jst.jsp.core.jspsource"/> |
| 76 | <configuration |
| 77 | type="characterpairmatcher" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 78 | class="org.eclipse.jst.jsp.ui.internal.text.JSPDocumentRegionEdgeMatcher" |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 79 | target="org.eclipse.jst.jsp.core.jspsource"/> |
david_williams | b1f7505 | 2005-02-18 00:25:37 +0000 | [diff] [blame] | 80 | <configuration |
| 81 | type="structuredtextfoldingprovider" |
| 82 | class="org.eclipse.jst.jsp.ui.internal.projection.StructuredTextFoldingProviderJSP" |
| 83 | target="org.eclipse.jst.jsp.core.jspsource"/> |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 84 | <definition |
| 85 | type="preferencepages" |
nitind | c9c4f6e | 2005-01-26 05:42:56 +0000 | [diff] [blame] | 86 | value="org.eclipse.wst.sse.ui.preferences.jsp" |
| 87 | target="org.eclipse.jst.jsp.core.jspsource"/> |
| 88 | <definition |
| 89 | type="preferencepages" |
| 90 | value="org.eclipse.wst.sse.ui.preferences.jsp.templates" |
| 91 | target="org.eclipse.jst.jsp.core.jspsource"/> |
| 92 | <definition |
| 93 | type="preferencepages" |
| 94 | value="org.eclipse.wst.sse.ui.preferences.jsp.styles" |
nitind | 4039c30 | 2004-12-28 19:58:41 +0000 | [diff] [blame] | 95 | target="org.eclipse.jst.jsp.core.jspsource"/> |
nitind | 4a80160 | 2005-02-07 20:40:26 +0000 | [diff] [blame] | 96 | <definition |
| 97 | type="showintarget" |
| 98 | value="org.eclipse.jdt.ui.PackageExplorer" |
| 99 | target="org.eclipse.jst.jsp.core.jspsource"/> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 100 | </extension> |
| 101 | <extension |
| 102 | point="org.eclipse.wst.sse.ui.adapterFactoryDescription"> |
| 103 | <adapterFactoryDescription |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 104 | class="org.eclipse.jst.jsp.ui.internal.registry.AdapterFactoryProviderForJSP"> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 105 | <contentType id="org.eclipse.jst.jsp.core.jspsource" /> |
| 106 | </adapterFactoryDescription> |
| 107 | </extension> |
| 108 | <extension |
| 109 | point="org.eclipse.core.filebuffers.annotationModelCreation"> |
| 110 | <factory contentTypeId="org.eclipse.jst.jsp.core.jspsource" |
| 111 | class="org.eclipse.wst.sse.ui.StructuredResourceMarkerAnnotationModelFactory" /> |
| 112 | </extension> |
| 113 | <extension point="org.eclipse.ui.preferencePages"> |
| 114 | |
| 115 | <!--======================================================================================--> |
| 116 | <!-- JSP PREFERENCE PAGES --> |
| 117 | <!--======================================================================================--> |
| 118 | <page name="%JSP_Files.name" |
| 119 | category="org.eclipse.wst.sse.ui.preferences" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 120 | class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPFilesPreferencePage" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 121 | id="org.eclipse.wst.sse.ui.preferences.jsp"> |
| 122 | </page> |
| 123 | <page name="%JSP_Templates.name" |
| 124 | category="org.eclipse.wst.sse.ui.preferences.jsp" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 125 | class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPTemplatePreferencePage" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 126 | id="org.eclipse.wst.sse.ui.preferences.jsp.templates"> |
| 127 | </page> |
| 128 | <page name="%JSP_Styles.name" |
| 129 | category="org.eclipse.wst.sse.ui.preferences.jsp" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 130 | class="org.eclipse.jst.jsp.ui.internal.preferences.ui.JSPColorPage" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 131 | id="org.eclipse.wst.sse.ui.preferences.jsp.styles"> |
| 132 | </page> |
| 133 | </extension> |
| 134 | |
| 135 | <!--======================================================================================--> |
| 136 | <!-- FOR JSP/JAVA RENAME PARTICIPATION --> |
| 137 | <!--======================================================================================--> |
| 138 | <extension |
| 139 | point="org.eclipse.ltk.core.refactoring.renameParticipants"> |
| 140 | <renameParticipant |
| 141 | name="%JSP_Type_Rename_Participant_Extension_Element.name" |
| 142 | class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPTypeRenameParticipant" |
| 143 | id="org.eclipse.jst.jsp.ui.java.refactoring.JSPTypeRenameParticipant"> |
| 144 | <enablement> |
| 145 | <with variable="affectedNatures"> |
| 146 | <iterate operator="or"> |
| 147 | <equals |
| 148 | value="org.eclipse.jdt.core.javanature"> |
| 149 | </equals> |
| 150 | </iterate> |
| 151 | </with> |
| 152 | <with variable="element"> |
| 153 | <instanceof value="org.eclipse.jdt.core.IType"> |
| 154 | </instanceof> |
| 155 | </with> |
| 156 | </enablement> |
| 157 | </renameParticipant> |
| 158 | |
| 159 | <renameParticipant |
| 160 | name="%JSP_Method_Rename_Participant_Extension_Element.name" |
| 161 | class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPMethodRenameParticipant" |
| 162 | id="org.eclipse.jst.jsp.ui.java.refactoring.JSPMethodRenameParticipant"> |
| 163 | <enablement> |
| 164 | <with variable="affectedNatures"> |
| 165 | <iterate operator="or"> |
| 166 | <equals |
| 167 | value="org.eclipse.jdt.core.javanature"> |
| 168 | </equals> |
| 169 | </iterate> |
| 170 | </with> |
| 171 | <with variable="element"> |
| 172 | <instanceof value="org.eclipse.jdt.core.IMethod"> |
| 173 | </instanceof> |
| 174 | </with> |
| 175 | </enablement> |
| 176 | </renameParticipant> |
| 177 | |
| 178 | <renameParticipant |
| 179 | name="%JSP_Package_Rename_Participant_Extension_Element.name" |
| 180 | class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPPackageRenameParticipant" |
| 181 | id="org.eclipse.jst.jsp.ui.java.refactoring.JSPPackageRenameParticipant"> |
| 182 | <enablement> |
| 183 | <with variable="affectedNatures"> |
| 184 | <iterate operator="or"> |
| 185 | <equals |
| 186 | value="org.eclipse.jdt.core.javanature"> |
| 187 | </equals> |
| 188 | </iterate> |
| 189 | </with> |
| 190 | <with variable="element"> |
| 191 | <instanceof |
| 192 | value="org.eclipse.jdt.core.IPackageFragment"> |
| 193 | </instanceof> |
| 194 | </with> |
| 195 | </enablement> |
| 196 | </renameParticipant> |
| 197 | </extension> |
| 198 | |
| 199 | <!--======================================================================================--> |
| 200 | <!-- FOR JSP/JAVA MOVE PARTICIPATION --> |
| 201 | <!--======================================================================================--> |
| 202 | <extension |
| 203 | point="org.eclipse.ltk.core.refactoring.moveParticipants"> |
| 204 | |
| 205 | <moveParticipant |
| 206 | id="org.eclipse.jst.jsp.ui.java.refactoring.JSPTypeMoveParticipant" |
| 207 | name="%JSP_Type_Move_Participant_Extension_Element.name" |
| 208 | class="org.eclipse.jst.jsp.ui.internal.java.refactoring.JSPTypeMoveParticipant"> |
| 209 | <enablement> |
| 210 | <with variable="affectedNatures"> |
| 211 | <iterate operator="or"> |
| 212 | <equals value="org.eclipse.jdt.core.javanature" /> |
| 213 | </iterate> |
| 214 | </with> |
| 215 | <with variable="element"> |
| 216 | <instanceof value="org.eclipse.jdt.core.IType"> |
| 217 | </instanceof> |
| 218 | </with> |
| 219 | </enablement> |
nitind | b0f7b26 | 2004-11-23 19:12:23 +0000 | [diff] [blame] | 220 | </moveParticipant> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 221 | </extension> |
nitind | b0f7b26 | 2004-11-23 19:12:23 +0000 | [diff] [blame] | 222 | |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 223 | <!--======================================================================================--> |
| 224 | <!-- for breakpoint --> |
| 225 | <!--======================================================================================--> |
| 226 | <extension point="org.eclipse.wst.sse.ui.breakpoint"> |
| 227 | <breakpointContribution id="org.eclipse.jst.jsp.ui.providers"> |
| 228 | <!-- |
| 229 | <provider |
| 230 | extensions="jsp, jspf, jsf" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 231 | class="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" |
| 232 | id="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider"> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 233 | </provider> |
| 234 | --> |
| 235 | <provider contentTypes="org.eclipse.jst.jsp.core.jspsource" |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 236 | class="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider:*jsp" |
| 237 | id="org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider" /> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 238 | </breakpointContribution> |
| 239 | </extension> |
| 240 | |
| 241 | <!--======================================================================================--> |
| 242 | <!-- Snippet View contributions --> |
| 243 | <!--======================================================================================--> |
| 244 | <extension |
| 245 | point="org.eclipse.wst.sse.snippets.SnippetContributions"> |
| 246 | <category label="%JSP_Extension_Element.label" |
| 247 | icon="icons/snippets/tag-jsp.gif" |
| 248 | id="org.eclipse.jst.jsp.ui.category0" |
| 249 | contenttypes="org.eclipse.jst.jsp.core.jspsource" /> |
| 250 | <item label="%jsp_hidden_comment" |
| 251 | icon="icons/snippets/tag-generic.gif" |
| 252 | category="org.eclipse.jst.jsp.ui.category0" |
| 253 | class="org.eclipse.wst.sse.snippets.insertions.VariableInsertion" |
| 254 | id="org.eclipse.jst.jsp.ui.jsp_hidden_comment"> |
| 255 | <content>%jsp_hidden_comment_content</content> |
| 256 | </item> |
| 257 | <item label="%jsp_scriptlet" icon="icons/snippets/jspscr.gif" |
| 258 | category="org.eclipse.jst.jsp.ui.category0" |
| 259 | class="org.eclipse.wst.sse.snippets.insertions.VariableInsertion" |
| 260 | id="org.eclipse.jst.jsp.ui.jsp_scriptlet"> |
| 261 | <content>%jsp_scr_content</content> |
| 262 | </item> |
| 263 | <item label="%jsp_expression" icon="icons/snippets/jspexp.gif" |
| 264 | category="org.eclipse.jst.jsp.ui.category0" |
| 265 | class="org.eclipse.wst.sse.snippets.insertions.VariableInsertion" |
| 266 | id="org.eclipse.jst.jsp.ui.jsp_expression"> |
| 267 | <content>%jsp_expression_content</content> |
| 268 | </item> |
| 269 | <item label="%jsp_declaration" icon="icons/snippets/jspdecl.gif" |
| 270 | category="org.eclipse.jst.jsp.ui.category0" |
| 271 | class="org.eclipse.wst.sse.snippets.insertions.VariableInsertion" |
| 272 | id="org.eclipse.jst.jsp.ui.jsp_declaration"> |
| 273 | <content>%jsp_declaration_content</content> |
| 274 | </item> |
| 275 | <item label="%jsp_include_directive" |
| 276 | icon="icons/snippets/jspincl.gif" |
| 277 | category="org.eclipse.jst.jsp.ui.category0" |
| 278 | class="org.eclipse.wst.sse.snippets.insertions.VariableInsertion" |
| 279 | id="org.eclipse.jst.jsp.ui.jsp_include_directive"> |
| 280 | <content>%jsp_include_directive_content</content> |
| 281 | </item> |
| 282 | <item label="%jsp_page_directive" |
| 283 | category="org.eclipse.jst.jsp.ui.category0" |
| 284 | class="org.eclipse.wst.sse.snippets.insertions.VariableInsertion" |
| 285 | id="org.eclipse.jst.jsp.ui.jsp_page_directive"> |
| 286 | <content>%jsp_page_directive_content</content> |
| 287 | </item> |
| 288 | <item label="%jsp_taglib_directive" |
| 289 | icon="icons/snippets/jsptaglib.gif" |
| 290 | category="org.eclipse.jst.jsp.ui.category0" |
| 291 | class="org.eclipse.wst.sse.snippets.insertions.PrependInsertion" |
| 292 | id="org.eclipse.jst.jsp.ui.jsp_taglib_directive"> |
| 293 | <content>%jsp_taglib_directive_content</content> |
| 294 | <variable description="%jsp_taglib_directive_uri" |
| 295 | id="uri"> |
| 296 | </variable> |
| 297 | <variable default="mylib" |
| 298 | description="%jsp_taglib_directive_prefix" id="prefix"> |
| 299 | </variable> |
| 300 | </item> |
| 301 | </extension> |
| 302 | |
| 303 | <!-- Editor actionsets --> |
| 304 | <extension point="org.eclipse.ui.actionSetPartAssociations"> |
| 305 | <actionSetPartAssociation |
| 306 | targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation"> |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 307 | <part id="org.eclipse.jst.jsp.ui.internal.editor.StructuredTextEditorJSP"> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 308 | </part> |
| 309 | </actionSetPartAssociation> |
| 310 | <actionSetPartAssociation |
| 311 | targetID="org.eclipse.ui.NavigateActionSet"> |
david_williams | 1a3e50d | 2005-03-17 03:17:23 +0000 | [diff] [blame] | 312 | <part id="org.eclipse.jst.jsp.ui.internal.editor.StructuredTextEditorJSP"> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 313 | </part> |
| 314 | </actionSetPartAssociation> |
| 315 | </extension> |
| 316 | |
| 317 | <!--======================================================================================--> |
| 318 | <!-- JSP Editor specific actions --> |
| 319 | <!--======================================================================================--> |
| 320 | <extension point="org.eclipse.ui.commands"> |
| 321 | <scope name="%scope.structured.text.editor.jsp.name" |
| 322 | parent="org.eclipse.ui.textEditorScope" |
| 323 | description="%scope.structured.text.editor.jsp.description" |
| 324 | id="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope"> |
| 325 | </scope> |
| 326 | <!-- dmw 6/6 removed from 'scope' parentId="org.eclipse.ui.textEditorScope" --> |
| 327 | <!-- rename refactor --> |
| 328 | <command name="%command.jsp.refactor.rename.name" |
| 329 | description="%command.jsp.refactor.rename.description" |
| 330 | category="org.eclipse.ui.category.edit" |
| 331 | id="org.eclipse.jst.jsp.ui.refactor.rename"> |
| 332 | </command> |
| 333 | <keyBinding string="Alt+Shift+R" |
| 334 | scope="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" |
| 335 | command="org.eclipse.jst.jsp.ui.refactor.rename" |
| 336 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 337 | </keyBinding> |
| 338 | <!-- move refactor --> |
| 339 | <command name="%command.jsp.refactor.move.name" |
| 340 | description="%command.jsp.refactor.move.description" |
| 341 | category="org.eclipse.ui.category.edit" |
| 342 | id="org.eclipse.jst.jsp.ui.refactor.move"> |
| 343 | </command> |
| 344 | <keyBinding string="Alt+Shift+V" |
| 345 | scope="org.eclipse.jst.jsp.ui.structured.text.editor.jsp.scope" |
| 346 | command="org.eclipse.jst.jsp.ui.refactor.move" |
| 347 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 348 | </keyBinding> |
| 349 | </extension> |
| 350 | |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 351 | <!--======================================================================================--> |
| 352 | <!-- Templates --> |
| 353 | <!--======================================================================================--> |
| 354 | <extension point="org.eclipse.ui.editors.templates"> |
| 355 | <contextType name="%All_JSP_context_type_Extension_Element.name" |
david_williams | 4da6ac01 | 2005-03-15 02:43:58 +0000 | [diff] [blame] | 356 | class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 357 | id="jsp_all"> |
| 358 | </contextType> |
david_williams | 4da6ac01 | 2005-03-15 02:43:58 +0000 | [diff] [blame] | 359 | <contextType name="%JSP_New_context_type_Extension_Element.name" |
| 360 | class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP" |
| 361 | id="jsp_new"> |
| 362 | </contextType> |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 363 | <contextType name="%JSP_Tag_context_type_Extension_Element.name" |
david_williams | 4da6ac01 | 2005-03-15 02:43:58 +0000 | [diff] [blame] | 364 | class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 365 | id="jsp_tag"> |
| 366 | </contextType> |
| 367 | <contextType |
| 368 | name="%JSP_Attribute_context_type_Extension_Element.name" |
david_williams | 4da6ac01 | 2005-03-15 02:43:58 +0000 | [diff] [blame] | 369 | class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 370 | id="jsp_attribute"> |
| 371 | </contextType> |
| 372 | <contextType |
| 373 | name="%JSP_Attribute_value_context_type_Extension_Element.name" |
david_williams | 4da6ac01 | 2005-03-15 02:43:58 +0000 | [diff] [blame] | 374 | class="org.eclipse.jst.jsp.ui.internal.templates.TemplateContextTypeJSP" |
david_williams | 8a8ea86 | 2004-12-07 14:12:53 +0000 | [diff] [blame] | 375 | id="jsp_attribute_value"> |
| 376 | </contextType> |
| 377 | <include file="templates/jspdefault-templates.xml" |
| 378 | translations="templates/jspdefault-templates.properties"> |
| 379 | </include> |
| 380 | </extension> |
| 381 | |
| 382 | <!--======================================================================================--> |
| 383 | <!-- queryParticipant to participate in java seraches --> |
| 384 | <!--======================================================================================--> |
| 385 | <extension point="org.eclipse.jdt.ui.queryParticipants"> |
| 386 | <queryParticipant |
| 387 | name="%JSP_Query_Participant_Extension_Element.name" |
| 388 | nature="org.eclipse.jdt.core.javanature" |
| 389 | class="org.eclipse.jst.jsp.ui.internal.java.search.ui.JSPQueryParticipant" |
| 390 | id="org.eclipse.jst.jsp.ui.java.search.ui.JSPQueryParticipant"> |
| 391 | </queryParticipant> |
| 392 | </extension> |
nitind | 410b6c2 | 2005-01-25 15:57:22 +0000 | [diff] [blame] | 393 | <!-- initialize xml ui preferences --> |
| 394 | <extension point="org.eclipse.core.runtime.preferences"> |
| 395 | <initializer class="org.eclipse.jst.jsp.ui.internal.preferences.JSPUIPreferenceInitializer"/> |
| 396 | </extension> |
nitind | d4f81c0 | 2005-02-07 23:11:25 +0000 | [diff] [blame] | 397 | |
| 398 | <!--======================================================================================--> |
| 399 | <!-- Document provider for ExternalFileEditorInput --> |
| 400 | <!--======================================================================================--> |
| 401 | <extension point="org.eclipse.ui.editors.documentProviders"> |
| 402 | <provider |
| 403 | inputTypes="org.eclipse.jst.jsp.ui.internal.hyperlink.ExternalFileEditorInput" |
| 404 | class="org.eclipse.ui.editors.text.TextFileDocumentProvider" |
| 405 | id="org.eclipse.jst.jsp.ui.internal.ExternalFileDocumentProvider"> |
| 406 | </provider> |
| 407 | </extension> |
| 408 | |
nitind | 2d5bc54 | 2005-03-10 23:04:05 +0000 | [diff] [blame] | 409 | <!-- New JSP wizard --> |
| 410 | <extension point="org.eclipse.ui.newWizards"> |
| 411 | <wizard id="org.eclipse.jst.jsp.ui.internal.wizard.NewJSPWizard" |
| 412 | name="%_UI_WIZARD_NAME" |
| 413 | class="org.eclipse.jst.jsp.ui.internal.wizard.NewJSPWizard" |
| 414 | category="org.eclipse.wst.web.ui" |
| 415 | icon="icons/full/ctool16/newjsp_wiz.gif"> |
| 416 | <description>%_UI_WIZARD_CREATE_NEW_FILE</description> |
| 417 | <selection class="org.eclipse.core.resources.IResource" /> |
| 418 | </wizard> |
| 419 | </extension> |
nitind | b0f7b26 | 2004-11-23 19:12:23 +0000 | [diff] [blame] | 420 | </plugin> |