blob: 0d1925d42ae5e89abae0ee923d8dca63241f87b7 [file] [log] [blame]
david_williamscfdb2cd2004-11-11 08:37:49 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
david_williamscfdb2cd2004-11-11 08:37:49 +00004
david_williamsad0e4cc2005-06-04 01:49:19 +00005 <extension-point
6 id="adapterFactoryDescription"
7 name="%Adapter_Factory_Description_Extension.name" />
8 <extension-point
david_williamsad0e4cc2005-06-04 01:49:19 +00009 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
nitindf8e77632005-09-07 23:49:25 +000015 id="editorConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000016 name="%Extended_Editor_Configuration_Extension.name"
nitindf8e77632005-09-07 23:49:25 +000017 schema="schema/editorconfiguration.exsd" />
david_williamscfdb2cd2004-11-11 08:37:49 +000018
david_williamsad0e4cc2005-06-04 01:49:19 +000019
nitindafbeaa42004-11-29 19:53:33 +000020 <!-- Make sure default preference values are set at runtime -->
21 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +000022 <initializer
23 class="org.eclipse.wst.sse.ui.internal.PreferenceInitializer" />
nitindafbeaa42004-11-29 19:53:33 +000024 </extension>
25
david_williamscfdb2cd2004-11-11 08:37:49 +000026
david_williamsad0e4cc2005-06-04 01:49:19 +000027 <!-- reusable extensions -->
nitindf8e77632005-09-07 23:49:25 +000028 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
nitindf8e77632005-09-07 23:49:25 +000029 <sourceViewerConfiguration
nitind1bf20a12005-09-15 11:48:15 +000030 class="org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration"
31 target="org.eclipse.wst.sse.ui.StructuredTextEditor" />
nitindf8e77632005-09-07 23:49:25 +000032 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000033 type="preferencepages"
34 value="org.eclipse.wst.sse.ui.preferences.editor"
nitind1bf20a12005-09-15 11:48:15 +000035 target="org.eclipse.wst.sse.ui.StructuredTextEditor" />
david_williamsad0e4cc2005-06-04 01:49:19 +000036 </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
nitind1bf20a12005-09-15 11:48:15 +000042 id="org.eclipse.wst.sse.ui.StructuredTextEditor">
david_williamsad0e4cc2005-06-04 01:49:19 +000043 </part>
44 </actionSetPartAssociation>
45 <actionSetPartAssociation
46 targetID="org.eclipse.ui.NavigateActionSet">
47 <!--
david_williamscfdb2cd2004-11-11 08:37:49 +000048 <part id="org.eclipse.ui.views.ResourceNavigator"/>
49 <part id="org.eclipse.ui.views.ContentOutline"/>
50 -->
david_williamsad0e4cc2005-06-04 01:49:19 +000051 <!--
david_williamscfdb2cd2004-11-11 08:37:49 +000052 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_williamsad0e4cc2005-06-04 01:49:19 +000055 <part
nitind1bf20a12005-09-15 11:48:15 +000056 id="org.eclipse.wst.sse.ui.StructuredTextEditor">
david_williamsad0e4cc2005-06-04 01:49:19 +000057 </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>
nitinda3c34752005-06-03 20:12:28 +000081
david_williamsad0e4cc2005-06-04 01:49:19 +000082 <!-- 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 <!-- ================================================================================================ -->
nitinda3c34752005-06-03 20:12:28 +000093 <extension point="org.eclipse.ui.propertyPages">
david_williamsad0e4cc2005-06-04 01:49:19 +000094 <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" />
nitinda3c34752005-06-03 20:12:28 +0000100 </extension>
101
david_williamsad0e4cc2005-06-04 01:49:19 +0000102 <!--
david_williamscfdb2cd2004-11-11 08:37:49 +0000103 <extension-point id="dragSourceTransfers" name="Drag Source Transfers"/>
104 -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000105 <extension point="org.eclipse.ui.commands">
david_williamsad0e4cc2005-06-04 01:49:19 +0000106 <!-- Edit commands -->
107 <command
108 name="%ActionDefinition.selectEnclosing.name"
109 description="%ActionDefinition.selectEnclosing.description"
nitind102e60a2005-09-15 12:42:42 +0000110 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000111 id="org.eclipse.wst.sse.ui.structure.select.enclosing">
112 </command>
113 <command
114 name="%ActionDefinition.selectNext.name"
115 description="%ActionDefinition.selectNext.description"
nitind102e60a2005-09-15 12:42:42 +0000116 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000117 id="org.eclipse.wst.sse.ui.structure.select.next">
118 </command>
119 <command
120 name="%ActionDefinition.selectPrevious.name"
121 description="%ActionDefinition.selectPrevious.description"
nitind102e60a2005-09-15 12:42:42 +0000122 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000123 id="org.eclipse.wst.sse.ui.structure.select.previous">
124 </command>
125 <command
126 name="%ActionDefinition.selectLast.name"
127 description="%ActionDefinition.selectLast.description"
nitind102e60a2005-09-15 12:42:42 +0000128 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000129 id="org.eclipse.wst.sse.ui.structure.select.last">
130 </command>
131 <command
132 name="%ActionDefinition.showJavadoc.name"
133 description="%ActionDefinition.showJavadoc.description"
nitind102e60a2005-09-15 12:42:42 +0000134 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000135 id="org.eclipse.wst.sse.ui.show.javadoc">
136 </command>
137 <command
138 name="%ActionDefinition.quickFix.name"
139 description="%ActionDefinition.quickFix.description"
nitind102e60a2005-09-15 12:42:42 +0000140 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000141 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"
nitind102e60a2005-09-15 12:42:42 +0000147 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000148 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"
nitind102e60a2005-09-15 12:42:42 +0000153 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000154 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"
nitind102e60a2005-09-15 12:42:42 +0000159 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000160 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"
nitind102e60a2005-09-15 12:42:42 +0000165 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000166 id="org.eclipse.wst.sse.ui.cleanup.document">
167 </command>
168 <command
169 name="%command.format.document.name"
170 description="%command.format.document.description"
nitind102e60a2005-09-15 12:42:42 +0000171 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000172 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"
nitind102e60a2005-09-15 12:42:42 +0000177 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000178 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"
nitind102e60a2005-09-15 12:42:42 +0000184 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000185 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"
nitind102e60a2005-09-15 12:42:42 +0000191 categoryId="org.eclipse.ui.category.edit"
david_williamsad0e4cc2005-06-04 01:49:19 +0000192 id="org.eclipse.wst.sse.ui.search.find.occurrences">
193 </command>
nitind102e60a2005-09-15 12:42:42 +0000194 </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">
amywu4ab08192006-04-11 20:22:18 +0000206 <!-- win32: M1=CTRL, M2=SHIFT, M3=ALT -->
david_williamsad0e4cc2005-06-04 01:49:19 +0000207 <!-- Edit commands -->
nitind102e60a2005-09-15 12:42:42 +0000208 <key
amywu4ab08192006-04-11 20:22:18 +0000209 sequence="M2+M3+ARROW_UP"
nitind102e60a2005-09-15 12:42:42 +0000210 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
amywu4ab08192006-04-11 20:22:18 +0000215 sequence="M2+M3+ARROW_RIGHT"
nitind102e60a2005-09-15 12:42:42 +0000216 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
amywu4ab08192006-04-11 20:22:18 +0000221 sequence="M2+M3+ARROW_LEFT"
nitind102e60a2005-09-15 12:42:42 +0000222 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
amywu4ab08192006-04-11 20:22:18 +0000227 sequence="M2+M3+ARROW_DOWN"
nitind102e60a2005-09-15 12:42:42 +0000228 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
amywu4ab08192006-04-11 20:22:18 +0000239 sequence="M1+1"
nitind102e60a2005-09-15 12:42:42 +0000240 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_williamsad0e4cc2005-06-04 01:49:19 +0000244 <!-- Source commands -->
nitind102e60a2005-09-15 12:42:42 +0000245 <key
amywu4ab08192006-04-11 20:22:18 +0000246 sequence="M1+M2+C"
nitind102e60a2005-09-15 12:42:42 +0000247 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
amywu4ab08192006-04-11 20:22:18 +0000252 sequence="M1+M2+/"
nitind102e60a2005-09-15 12:42:42 +0000253 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
amywu4ab08192006-04-11 20:22:18 +0000258 sequence="M1+M2+\"
nitind102e60a2005-09-15 12:42:42 +0000259 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
amywu4ab08192006-04-11 20:22:18 +0000264 sequence="M1+M2+F"
nitind102e60a2005-09-15 12:42:42 +0000265 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
amywu4ab08192006-04-11 20:22:18 +0000270 sequence="M1+I"
nitind102e60a2005-09-15 12:42:42 +0000271 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_williamsad0e4cc2005-06-04 01:49:19 +0000275 <!-- Navigate commands -->
nitind102e60a2005-09-15 12:42:42 +0000276 <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_williamsad0e4cc2005-06-04 01:49:19 +0000282 <!-- Find Occurrences -->
nitind102e60a2005-09-15 12:42:42 +0000283 <key
amywu4ab08192006-04-11 20:22:18 +0000284 sequence="M1+M2+A"
nitind102e60a2005-09-15 12:42:42 +0000285 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_williamscfdb2cd2004-11-11 08:37:49 +0000289 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000290 <!-- 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
nitind1bf20a12005-09-15 11:48:15 +0000308 targetID="org.eclipse.wst.sse.ui.StructuredTextEditor"
david_williamsad0e4cc2005-06-04 01:49:19 +0000309 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_williamsb5d05632006-02-27 09:24:00 +0000387 icon="$nl$/icons/sourceEditor.gif"
david_williamsad0e4cc2005-06-04 01:49:19 +0000388 contributorClass="org.eclipse.wst.sse.ui.internal.actions.ActionContributor"
nitind1bf20a12005-09-15 11:48:15 +0000389 class="org.eclipse.wst.sse.ui.StructuredTextEditor"
david_williamsad0e4cc2005-06-04 01:49:19 +0000390 symbolicFontName="org.eclipse.wst.sse.ui.textfont"
nitind1bf20a12005-09-15 11:48:15 +0000391 id="org.eclipse.wst.sse.ui.StructuredTextEditor">
david_williamsad0e4cc2005-06-04 01:49:19 +0000392 </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>
nitind6d98c7b2005-10-07 21:17:31 +0000429 </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
amywu34aa9802005-12-06 23:33:16 +0000436 label="%AddBookmark.label"
nitind6d98c7b2005-10-07 21:17:31 +0000437 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
amywu34aa9802005-12-06 23:33:16 +0000443 label="%SelectRuler.label"
nitind6d98c7b2005-10-07 21:17:31 +0000444 class="org.eclipse.ui.texteditor.SelectRulerAction"
445 actionID="RulerClick"
446 id="org.eclipse.ui.texteditor.SelectRulerAction">
447 </action>
448 </editorContribution>
449 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000450
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_williamscfdb2cd2004-11-11 08:37:49 +0000474</plugin>