david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
| 3 | <plugin |
| 4 | id="org.eclipse.wst.sse.ui" |
| 5 | name="%Structured_Source_Editor.name" |
| 6 | version="1.0.0" |
nitind | 05a026a | 2004-11-23 22:56:05 +0000 | [diff] [blame] | 7 | provider-name="Eclipse.org" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 8 | class="org.eclipse.wst.sse.ui.EditorPlugin"> |
| 9 | |
| 10 | <runtime> |
| 11 | <library name="editor.jar"> |
| 12 | <export name="*"/> |
| 13 | </library> |
| 14 | </runtime> |
| 15 | <requires> |
| 16 | <import plugin="org.eclipse.core.runtime.compatibility"/> |
| 17 | <import plugin="org.eclipse.ui.ide"/> |
| 18 | <import plugin="org.eclipse.jface.text"/> |
| 19 | <!-- added for break point support --> |
| 20 | <!-- --> |
| 21 | <import plugin="org.eclipse.debug.core"/> |
| 22 | <import plugin="org.eclipse.debug.ui"/> |
| 23 | <import plugin="org.eclipse.ui.editors"/> |
| 24 | <!-- added for marker and annotation support --> |
| 25 | <import plugin="org.eclipse.search"/> |
| 26 | <import plugin="org.eclipse.swt"/> |
| 27 | <import plugin="org.eclipse.jface"/> |
| 28 | <import plugin="org.eclipse.ui"/> |
| 29 | <import plugin="org.eclipse.ui.workbench.texteditor"/> |
| 30 | <import plugin="org.eclipse.ui.workbench"/> |
| 31 | <import plugin="org.eclipse.ui.views"/> |
| 32 | <import plugin="org.eclipse.wst.sse.core"/> |
| 33 | <import plugin="org.eclipse.core.filebuffers"/> |
| 34 | <import plugin="org.eclipse.core.resources"/> |
| 35 | <import plugin="org.eclipse.core.runtime"/> |
| 36 | <import plugin="org.eclipse.wst.common.encoding"/> |
| 37 | <import plugin="org.eclipse.wst.validation.core"/> |
| 38 | <import plugin="org.eclipse.wst.validation"/> |
| 39 | </requires> |
| 40 | |
| 41 | |
| 42 | <extension-point id="adapterFactoryDescription" name="%Adapter_Factory_Description_Extension.name"/> |
| 43 | <extension-point id="embeddedAdapterFactoryProvider" name="%Embedded_Content_Type_Adapter_Factory_Provider_Extension.name"/> |
| 44 | <extension-point id="extendedEditorActions" name="%Extended_Editor_Actions_Extension.name"/> |
| 45 | <extension-point id="dropTargetTransfers" name="%Drop_Target_Transfers_Extension.name"/> |
| 46 | <extension-point id="extendedconfiguration" name="%Extended_Editor_Configuration_Extension.name" schema="schema/extendedconfiguration.exsd"/> |
| 47 | |
nitind | afbeaa4 | 2004-11-29 19:53:33 +0000 | [diff] [blame] | 48 | |
| 49 | <!-- Make sure default preference values are set at runtime --> |
| 50 | <extension point="org.eclipse.core.runtime.preferences"> |
| 51 | <initializer class="org.eclipse.wst.sse.ui.internal.PreferenceInitializer"/> |
| 52 | </extension> |
| 53 | |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 54 | <!-- |
| 55 | note: this perspective stuff should probably go in the |
| 56 | com.ibm.etools.xml.tools.XMLPerspective |
| 57 | or in the plugin.xml for com.ibm.etools.xml.tools |
| 58 | --> |
| 59 | <!-- PERSPECTIVE EXTENSIONS --> |
| 60 | |
| 61 | <!-- reusable extensions --> |
| 62 | <extension |
| 63 | point="org.eclipse.wst.sse.ui.extendedconfiguration"> |
| 64 | <contentoutlineconfiguration |
| 65 | class="org.eclipse.wst.sse.ui.views.contentoutline.StructuredContentOutlineConfiguration" |
| 66 | target="org.eclipse.wst.sse.ui.StructuredTextEditor"> |
| 67 | </contentoutlineconfiguration> |
| 68 | <propertysheetconfiguration |
| 69 | class="org.eclipse.wst.sse.ui.views.properties.StructuredPropertySheetConfiguration" |
| 70 | target="org.eclipse.wst.sse.ui.StructuredTextEditor"> |
| 71 | </propertysheetconfiguration> |
| 72 | <textviewerconfiguration |
| 73 | class="org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration" |
| 74 | target="org.eclipse.wst.sse.ui.StructuredTextEditor"> |
| 75 | </textviewerconfiguration> |
| 76 | <preferencepages |
| 77 | preferenceids="org.eclipse.ui.preferencePages.Workbench/org.eclipse.ui.preferencePages.Editors/org.eclipse.wst.sse.ui.preferences.editor" |
| 78 | target="org.eclipse.wst.sse.ui.StructuredTextEditor"> |
| 79 | </preferencepages> |
| 80 | </extension> |
| 81 | <!-- associate the NavigateActionSet with various parts of the XML perspective--> |
| 82 | <extension |
| 83 | point="org.eclipse.ui.actionSetPartAssociations"> |
| 84 | <actionSetPartAssociation |
| 85 | targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation"> |
| 86 | <part |
| 87 | id="org.eclipse.wst.sse.ui.StructuredTextEditor"> |
| 88 | </part> |
| 89 | </actionSetPartAssociation> |
| 90 | <actionSetPartAssociation |
| 91 | targetID="org.eclipse.ui.NavigateActionSet"> |
| 92 | <!-- |
| 93 | <part id="org.eclipse.ui.views.ResourceNavigator"/> |
| 94 | <part id="org.eclipse.ui.views.ContentOutline"/> |
| 95 | --> |
| 96 | <!-- |
| 97 | should probably only "force" association of action sets for workbench parts that we own |
| 98 | or only if the view is focusse in the XMLPerspective |
| 99 | --> |
| 100 | <part |
| 101 | id="org.eclipse.wst.sse.ui.StructuredTextEditor"> |
| 102 | </part> |
| 103 | </actionSetPartAssociation> |
| 104 | </extension> |
| 105 | <extension |
| 106 | point="org.eclipse.ui.preferencePages"> |
| 107 | <!-- ROOT PREFERENCE PAGE FOR WEB AND XML FILES --> |
| 108 | <page |
| 109 | name="%WEB_AND_XML_Files.name" |
| 110 | class="org.eclipse.wst.sse.ui.preferences.ui.FilePreferencePage" |
| 111 | id="org.eclipse.wst.sse.ui.preferences"> |
| 112 | </page> |
| 113 | <!-- Source Editor Preference page under Workbench->Editors --> |
| 114 | <page |
| 115 | name="%Structured_Text_Editor.name" |
| 116 | category="org.eclipse.ui.preferencePages.Editors" |
| 117 | class="org.eclipse.wst.sse.ui.preferences.ui.StructuredTextEditorPreferencePage" |
| 118 | id="org.eclipse.wst.sse.ui.preferences.editor"> |
| 119 | </page> |
| 120 | </extension> |
| 121 | <!-- |
| 122 | <extension-point id="dragSourceTransfers" name="Drag Source Transfers"/> |
| 123 | --> |
| 124 | <extension |
| 125 | point="org.eclipse.ui.commands"> |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 126 | <scope |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 127 | name="%scope.structuredTextEditor.name" |
| 128 | parent="org.eclipse.ui.textEditorScope" |
| 129 | description="%scope.structuredTextEditor.description" |
| 130 | id="org.eclipse.wst.sse.ui.structuredTextEditorScope"> |
| 131 | </scope> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 132 | <!-- dmw 6/6 (and 11/10 :) removed from 'scope' parentId="org.eclipse.ui.textEditorScope" --> |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 133 | <!-- afw 11/11 added scope back in because these are keybindings for structuredtexteditors only --> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 134 | |
| 135 | <!-- Edit commands --> |
| 136 | <command |
| 137 | name="%ActionDefinition.selectEnclosing.name" |
| 138 | description="%ActionDefinition.selectEnclosing.description" |
| 139 | category="org.eclipse.ui.category.edit" |
| 140 | id="org.eclipse.wst.sse.ui.structure.select.enclosing"> |
| 141 | </command> |
| 142 | <command |
| 143 | name="%ActionDefinition.selectNext.name" |
| 144 | description="%ActionDefinition.selectNext.description" |
| 145 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 146 | id="org.eclipse.wst.sse.ui.structure.select.next"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 147 | </command> |
| 148 | <command |
| 149 | name="%ActionDefinition.selectPrevious.name" |
| 150 | description="%ActionDefinition.selectPrevious.description" |
| 151 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 152 | id="org.eclipse.wst.sse.ui.structure.select.previous"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 153 | </command> |
| 154 | <command |
| 155 | name="%ActionDefinition.selectLast.name" |
| 156 | description="%ActionDefinition.selectLast.description" |
| 157 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 158 | id="org.eclipse.wst.sse.ui.structure.select.last"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 159 | </command> |
| 160 | <command |
| 161 | name="%ActionDefinition.showJavadoc.name" |
| 162 | description="%ActionDefinition.showJavadoc.description" |
| 163 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 164 | id="org.eclipse.wst.sse.ui.show.javadoc"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 165 | </command> |
| 166 | <command |
| 167 | name="%ActionDefinition.quickFix.name" |
| 168 | description="%ActionDefinition.quickFix.description" |
| 169 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 170 | id="org.eclipse.wst.sse.ui.edit.text.java.correction.assist.proposals"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 171 | </command> |
| 172 | <!-- Source commands --> |
| 173 | <command |
| 174 | name="%command.toggle.comment.name" |
| 175 | description="%command.toggle.comment.description" |
| 176 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 177 | id="org.eclipse.wst.sse.ui.toggle.comment"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 178 | </command> |
| 179 | <command |
| 180 | name="%command.add.block.comment.name" |
| 181 | description="%command.add.block.comment.description" |
| 182 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 183 | id="org.eclipse.wst.sse.ui.add.block.comment"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 184 | </command> |
| 185 | <command |
| 186 | name="%command.remove.block.comment.name" |
| 187 | description="%command.remove.block.comment.description" |
| 188 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 189 | id="org.eclipse.wst.sse.ui.remove.block.comment"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 190 | </command> |
| 191 | <command |
| 192 | name="%command.cleanup.document.name" |
| 193 | description="%command.cleanup.document.description" |
| 194 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 195 | id="org.eclipse.wst.sse.ui.cleanup.document"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 196 | </command> |
| 197 | <command |
| 198 | name="%command.format.document.name" |
| 199 | description="%command.format.document.description" |
| 200 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 201 | id="org.eclipse.wst.sse.ui.format.document"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 202 | </command> |
| 203 | <command |
| 204 | name="%command.format.active.elements.name" |
| 205 | description="%command.format.active.elements.description" |
| 206 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 207 | id="org.eclipse.wst.sse.ui.format.active.elements"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 208 | </command> |
| 209 | <!-- Navigate commands --> |
| 210 | <command |
| 211 | name="%command.open.file.from.source.name" |
| 212 | description="%command.open.file.from.source.description" |
| 213 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 214 | id="org.eclipse.wst.sse.ui.open.file.from.source"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 215 | </command> |
| 216 | <!-- Find Occurrences --> |
| 217 | <command |
| 218 | name="%command.search.find.occurrences.name" |
| 219 | description="%command.search.find.occurrences.description" |
| 220 | category="org.eclipse.ui.category.edit" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 221 | id="org.eclipse.wst.sse.ui.search.find.occurrences"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 222 | </command> |
| 223 | <!-- Edit commands --> |
| 224 | <keyBinding |
| 225 | string="Alt+Shift+ARROW_UP" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 226 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 227 | command="org.eclipse.wst.sse.ui.structure.select.enclosing" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 228 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 229 | </keyBinding> |
| 230 | <keyBinding |
| 231 | string="Alt+Shift+ARROW_RIGHT" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 232 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 233 | command="org.eclipse.wst.sse.ui.structure.select.next" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 234 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 235 | </keyBinding> |
| 236 | <keyBinding |
| 237 | string="Alt+Shift+ARROW_LEFT" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 238 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 239 | command="org.eclipse.wst.sse.ui.structure.select.previous" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 240 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 241 | </keyBinding> |
| 242 | <keyBinding |
| 243 | string="Alt+Shift+ARROW_DOWN" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 244 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 245 | command="org.eclipse.wst.sse.ui.structure.select.last" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 246 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 247 | </keyBinding> |
| 248 | <keyBinding |
| 249 | string="F2" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 250 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 251 | command="org.eclipse.wst.sse.ui.show.javadoc" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 252 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 253 | </keyBinding> |
| 254 | <keyBinding |
| 255 | string="Ctrl+1" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 256 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 257 | command="org.eclipse.wst.sse.ui.edit.text.java.correction.assist.proposals" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 258 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 259 | </keyBinding> |
| 260 | <!-- Source commands --> |
| 261 | <keyBinding |
| 262 | string="Ctrl+Shift+C" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 263 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 264 | command="org.eclipse.wst.sse.ui.toggle.comment" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 265 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 266 | </keyBinding> |
| 267 | <keyBinding |
| 268 | string="Ctrl+Shift+/" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 269 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 270 | command="org.eclipse.wst.sse.ui.add.block.comment" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 271 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 272 | </keyBinding> |
| 273 | <keyBinding |
| 274 | string="Ctrl+Shift+\" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 275 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 276 | command="org.eclipse.wst.sse.ui.remove.block.comment" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 277 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 278 | </keyBinding> |
| 279 | <keyBinding |
| 280 | string="Ctrl+Shift+L" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 281 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 282 | command="org.eclipse.wst.sse.ui.cleanup.document" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 283 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 284 | </keyBinding> |
| 285 | <keyBinding |
| 286 | string="Ctrl+Shift+F" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 287 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 288 | command="org.eclipse.wst.sse.ui.format.document" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 289 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 290 | </keyBinding> |
| 291 | <keyBinding |
| 292 | string="Ctrl+I" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 293 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 294 | command="org.eclipse.wst.sse.ui.format.active.elements" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 295 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 296 | </keyBinding> |
| 297 | <!-- Navigate commands --> |
| 298 | <keyBinding |
| 299 | string="F3" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 300 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 301 | command="org.eclipse.wst.sse.ui.open.file.from.source" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 302 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 303 | </keyBinding> |
| 304 | <!-- Find Occurrences --> |
| 305 | <keyBinding |
| 306 | string="Ctrl+Shift+A" |
nitind | 435b141 | 2004-11-11 22:53:13 +0000 | [diff] [blame] | 307 | scope="org.eclipse.wst.sse.ui.structuredTextEditorScope" |
| 308 | command="org.eclipse.wst.sse.ui.search.find.occurrences" |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 309 | configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> |
| 310 | </keyBinding> |
| 311 | </extension> |
| 312 | <!-- Font and colors contributions --> |
| 313 | <extension |
| 314 | point="org.eclipse.ui.themes"> |
| 315 | <themeElementCategory |
| 316 | label="%Structured_Text_Editor.name" |
| 317 | id="org.eclipse.wst.sse.ui"> |
| 318 | </themeElementCategory> |
| 319 | <fontDefinition |
| 320 | label="%sourceEditorFontDefiniton.label" |
| 321 | categoryId="org.eclipse.wst.sse.ui" |
| 322 | defaultsTo="org.eclipse.jface.textfont" |
| 323 | id="org.eclipse.wst.sse.ui.textfont"> |
| 324 | <description> |
| 325 | %sourceEditorFontDefintion.description |
| 326 | </description> |
| 327 | </fontDefinition> |
| 328 | </extension> |
| 329 | <extension |
| 330 | point="org.eclipse.wst.sse.ui.dropTargetTransfers"> |
| 331 | <dropTargetContribution |
| 332 | targetID="org.eclipse.wst.sse.ui.StructuredTextEditor" |
nitind | 05a026a | 2004-11-23 22:56:05 +0000 | [diff] [blame] | 333 | id="org.eclipse.wst.sse.ui.extention.ExtendedTransfers"> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 334 | <transfer |
| 335 | priority="mid" |
| 336 | singleton="true" |
| 337 | class="org.eclipse.swt.dnd.FileTransfer" |
| 338 | method="getInstance" |
| 339 | id="org.eclipse.swt.dnd.FileTransfer"> |
| 340 | </transfer> |
| 341 | <dropAction |
| 342 | class="org.eclipse.wst.sse.ui.extension.FileDropAction" |
| 343 | transferID="org.eclipse.swt.dnd.FileTransfer" |
| 344 | id="org.eclipse.wst.sse.ui.extension.FileDropAction"> |
| 345 | </dropAction> |
| 346 | <transfer |
| 347 | priority="low" |
| 348 | singleton="true" |
| 349 | class="org.eclipse.swt.dnd.TextTransfer" |
| 350 | method="getInstance" |
| 351 | id="org.eclipse.swt.dnd.TextTransfer"> |
| 352 | </transfer> |
| 353 | <dropAction |
| 354 | class="org.eclipse.wst.sse.ui.extension.TextDropAction" |
| 355 | transferID="org.eclipse.swt.dnd.TextTransfer" |
| 356 | id="org.eclipse.wst.sse.ui.extension.TextDropAction"> |
| 357 | </dropAction> |
| 358 | </dropTargetContribution> |
| 359 | </extension> |
| 360 | <!-- new for annotation support --> |
| 361 | <extension |
| 362 | point="org.eclipse.ui.editors.annotationTypes"> |
| 363 | <type |
| 364 | super="org.eclipse.ui.workbench.texteditor.error" |
| 365 | markerType="org.eclipse.wst.sse.problem" |
| 366 | name="org.eclipse.wst.sse.ui.temp.error" |
| 367 | markerSeverity="2"> |
| 368 | </type> |
| 369 | <type |
| 370 | super="org.eclipse.ui.workbench.texteditor.warning" |
| 371 | markerType="org.eclipse.wst.sse.problem" |
| 372 | name="org.eclipse.wst.sse.ui.temp.warning" |
| 373 | markerSeverity="1"> |
| 374 | </type> |
| 375 | <type |
| 376 | super="org.eclipse.ui.workbench.texteditor.info" |
| 377 | markerType="org.eclipse.wst.sse.problem" |
| 378 | name="org.eclipse.wst.sse.ui.temp.info" |
| 379 | markerSeverity="0"> |
| 380 | </type> |
| 381 | </extension> |
| 382 | <extension |
| 383 | point="org.eclipse.ui.editors.markerAnnotationSpecification"> |
| 384 | <specification |
| 385 | annotationImageProvider="org.eclipse.wst.sse.ui.internal.ui.StructuredTextAnnotationImageProvider" |
| 386 | verticalRulerPreferenceValue="false" |
| 387 | annotationType="org.eclipse.wst.sse.ui.temp.error"> |
| 388 | </specification> |
| 389 | <specification |
| 390 | annotationImageProvider="org.eclipse.wst.sse.ui.internal.ui.StructuredTextAnnotationImageProvider" |
| 391 | verticalRulerPreferenceValue="false" |
| 392 | annotationType="org.eclipse.wst.sse.ui.temp.warning"> |
| 393 | </specification> |
| 394 | <specification |
| 395 | annotationImageProvider="org.eclipse.wst.sse.ui.internal.ui.StructuredTextAnnotationImageProvider" |
| 396 | annotationType="org.eclipse.wst.sse.ui.temp.info"> |
| 397 | </specification> |
| 398 | </extension> |
| 399 | <!-- dynamic content type supporting editor, no supported file extensions by default --> |
| 400 | <extension |
| 401 | point="org.eclipse.ui.editors"> |
| 402 | <editor |
| 403 | name="%Standalone_Structured_Source_Editor.name" |
| 404 | icon="icons/sourceEditor.gif" |
| 405 | contributorClass="org.eclipse.wst.sse.ui.edit.util.ActionContributor" |
| 406 | class="org.eclipse.wst.sse.ui.StructuredTextEditor" |
| 407 | symbolicFontName="org.eclipse.wst.sse.ui.textfont" |
| 408 | id="org.eclipse.wst.sse.ui.StructuredTextEditor"> |
| 409 | </editor> |
| 410 | </extension> |
| 411 | <extension |
| 412 | point="org.eclipse.ui.popupMenus"> |
| 413 | <objectContribution |
| 414 | objectClass="org.eclipse.core.resources.IContainer" |
| 415 | id="org.eclipse.wst.sse.ui.actions.ContainerSourceActions"> |
| 416 | <menu |
| 417 | label="%Source" |
| 418 | path="additions" |
| 419 | id="source"> |
| 420 | <groupMarker |
| 421 | name="sourceGroup"> |
| 422 | </groupMarker> |
| 423 | <separator |
| 424 | name="separator"> |
| 425 | </separator> |
| 426 | <groupMarker |
| 427 | name="convertGroup"> |
| 428 | </groupMarker> |
| 429 | </menu> |
| 430 | <action |
| 431 | label="%FormatDocument" |
| 432 | class="org.eclipse.wst.sse.ui.edit.util.FormatActionDelegate" |
| 433 | menubarPath="source/sourceGroup" |
| 434 | enablesFor="+" |
| 435 | id="org.eclipse.wst.sse.ui.actions.ContainerSourceActions.Format"> |
| 436 | </action> |
| 437 | <action |
| 438 | label="%ConvertLineDelimitersToCR" |
| 439 | class="org.eclipse.wst.sse.ui.edit.util.ConvertLineDelimitersToCRActionDelegate" |
| 440 | menubarPath="source/convertGroup" |
| 441 | enablesFor="+" |
| 442 | id="org.eclipse.wst.sse.ui.actions.ContainerSourceActions.EOLCR"> |
| 443 | </action> |
| 444 | <action |
| 445 | label="%ConvertLineDelimitersToLF" |
| 446 | class="org.eclipse.wst.sse.ui.edit.util.ConvertLineDelimitersToLFActionDelegate" |
| 447 | menubarPath="source/convertGroup" |
| 448 | enablesFor="+" |
| 449 | id="org.eclipse.wst.sse.ui.actions.ContainerSourceActions.EOLLF"> |
| 450 | </action> |
| 451 | <action |
| 452 | label="%ConvertLineDelimitersToCRLF" |
| 453 | class="org.eclipse.wst.sse.ui.edit.util.ConvertLineDelimitersToCRLFActionDelegate" |
| 454 | menubarPath="source/convertGroup" |
| 455 | enablesFor="+" |
| 456 | id="org.eclipse.wst.sse.ui.actions.ContainerSourceActions.EOLCRLF"> |
| 457 | </action> |
| 458 | </objectContribution> |
| 459 | <objectContribution |
| 460 | objectClass="org.eclipse.core.resources.IFile" |
| 461 | id="org.eclipse.wst.sse.ui.actions.FileSourceActions"> |
| 462 | <menu |
| 463 | label="%Source" |
| 464 | path="additions" |
| 465 | id="source"> |
| 466 | <groupMarker |
| 467 | name="sourceGroup"> |
| 468 | </groupMarker> |
| 469 | <separator |
| 470 | name="separator"> |
| 471 | </separator> |
| 472 | <groupMarker |
| 473 | name="convertGroup"> |
| 474 | </groupMarker> |
| 475 | </menu> |
| 476 | <action |
| 477 | label="%FormatDocument" |
| 478 | class="org.eclipse.wst.sse.ui.edit.util.FormatActionDelegate" |
| 479 | menubarPath="source/sourceGroup" |
| 480 | enablesFor="+" |
| 481 | id="org.eclipse.wst.sse.ui.actions.FileSourceActions.Format"> |
| 482 | </action> |
| 483 | <action |
| 484 | label="%ConvertLineDelimitersToCR" |
| 485 | class="org.eclipse.wst.sse.ui.edit.util.ConvertLineDelimitersToCRActionDelegate" |
| 486 | menubarPath="source/convertGroup" |
| 487 | enablesFor="+" |
| 488 | id="org.eclipse.wst.sse.ui.actions.FileSourceActions.EOLCR"> |
| 489 | </action> |
| 490 | <action |
| 491 | label="%ConvertLineDelimitersToLF" |
| 492 | class="org.eclipse.wst.sse.ui.edit.util.ConvertLineDelimitersToLFActionDelegate" |
| 493 | menubarPath="source/convertGroup" |
| 494 | enablesFor="+" |
| 495 | id="org.eclipse.wst.sse.ui.actions.FileSourceActions.EOLLF"> |
| 496 | </action> |
| 497 | <action |
| 498 | label="%ConvertLineDelimitersToCRLF" |
| 499 | class="org.eclipse.wst.sse.ui.edit.util.ConvertLineDelimitersToCRLFActionDelegate" |
| 500 | menubarPath="source/convertGroup" |
| 501 | enablesFor="+" |
| 502 | id="org.eclipse.wst.sse.ui.actions.FileSourceActions.EOLCRLF"> |
| 503 | </action> |
| 504 | </objectContribution> |
| 505 | </extension> |
| 506 | <extension |
| 507 | point="org.eclipse.wst.sse.ui.extendedEditorActions"> |
| 508 | <editorContribution |
| 509 | targetID="org.eclipse.wst.sse.ui.StructuredTextEditor" |
| 510 | id="org.eclipse.wst.sse.ui.extendedActions"> |
| 511 | <!-- contribute the Edit Preferences action --> |
| 512 | <action |
| 513 | popupmenuPath="group.add" |
| 514 | class="org.eclipse.wst.sse.ui.preferences.ui.EditStructuredTextEditorPreferencesAction" |
| 515 | id="org.eclipse.wst.sse.ui.preferences.ui.EditStructuredTextEditorPreferencesAction"> |
| 516 | </action> |
| 517 | <!-- contribute the Spell Check action --> |
| 518 | <action |
| 519 | class="org.eclipse.wst.sse.ui.SpellCheckActionWrapper" |
| 520 | definitionId="com.ibm.etools.spellcheck" |
| 521 | menubarPath="edit/MenuAdditions" |
| 522 | toolbarPath="Normal/ToolbarAdditions" |
| 523 | id="org.eclipse.wst.sse.ui.spellcheck"> |
| 524 | </action> |
| 525 | </editorContribution> |
| 526 | </extension> |
| 527 | |
| 528 | <!--================================================================================================--> |
| 529 | <!-- contribute a SearchResultViewPage for Occurrences in file --> |
| 530 | <!--================================================================================================--> |
| 531 | <extension |
| 532 | id="Occurrences search page" |
| 533 | point="org.eclipse.search.searchResultViewPages"> |
| 534 | <viewPage |
| 535 | id="org.eclipse.wst.sse.ui.search.OccurrencesSearchResultPage" |
| 536 | searchResultClass="org.eclipse.wst.sse.ui.internal.search.OccurrencesSearchResult" |
| 537 | class="org.eclipse.wst.sse.ui.internal.search.OccurrencesSearchViewPage"> |
| 538 | </viewPage> |
| 539 | </extension> |
| 540 | |
| 541 | |
| 542 | <!-- extension point for breakpoint extension --> |
| 543 | <extension-point id="breakpoint" name="%Breakpoint_Extension.name"/> |
| 544 | <!-- extension point for spellcheck extension --> |
| 545 | <extension-point id="spellcheck" name="%SpellCheck_Extension.name"/> |
| 546 | <!-- extension point for reconcile validation --> |
| 547 | <!-- interfaces for this extension point can be found in com.ibm.wtp.validation.core --> |
| 548 | <extension-point id="reconcileValidator" name="%Reconcile_Validator_Extension.name" schema="schema/org.eclipse.wst.sse.editor.reconcileValidator.exsd"/> |
| 549 | <extension-point id="openon" name="%Open_On_Extension_Point_Extension.name" schema="schema/org.eclipse.wst.sse.editor.openon.exsd"/> |
| 550 | |
| 551 | </plugin> |