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