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