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