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