blob: 09d41913df4c33dd386a5b7cf45a7fab6a13eca5 [file] [log] [blame]
david_williamscfdb2cd2004-11-11 08:37:49 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3<plugin
4 id="org.eclipse.wst.sse.ui"
nitind23739892004-12-06 05:51:11 +00005 name="%pluginName"
david_williamscfdb2cd2004-11-11 08:37:49 +00006 version="1.0.0"
nitind23739892004-12-06 05:51:11 +00007 provider-name="%providerName"
david_williams425ffe72004-12-07 21:46:39 +00008 class="org.eclipse.wst.sse.ui.internal.SSEUIPlugin">
david_williamscfdb2cd2004-11-11 08:37:49 +00009
10 <runtime>
11 <library name="editor.jar">
12 <export name="*"/>
13 </library>
14 </runtime>
15 <requires>
david_williamscfdb2cd2004-11-11 08:37:49 +000016 <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_williamscfdb2cd2004-11-11 08:37:49 +000035 <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
nitindafbeaa42004-11-29 19:53:33 +000045
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_williamscfdb2cd2004-11-11 08:37:49 +000051<!--
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">
nitind4039c302004-12-28 19:58:41 +000061 <configuration
62 type="contentoutlineconfiguration"
david_williamscfdb2cd2004-11-11 08:37:49 +000063 class="org.eclipse.wst.sse.ui.views.contentoutline.StructuredContentOutlineConfiguration"
nitind4039c302004-12-28 19:58:41 +000064 target="org.eclipse.wst.sse.ui.StructuredTextEditor"/>
65 <configuration
66 type="propertysheetconfiguration"
david_williamscfdb2cd2004-11-11 08:37:49 +000067 class="org.eclipse.wst.sse.ui.views.properties.StructuredPropertySheetConfiguration"
nitind4039c302004-12-28 19:58:41 +000068 target="org.eclipse.wst.sse.ui.StructuredTextEditor"/>
69 <configuration
70 type="textviewerconfiguration"
david_williamscfdb2cd2004-11-11 08:37:49 +000071 class="org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration"
nitind4039c302004-12-28 19:58:41 +000072 target="org.eclipse.wst.sse.ui.StructuredTextEditor"/>
73 <definition
74 type="preferencepages"
nitindc9c4f6e2005-01-26 05:42:56 +000075 value="org.eclipse.wst.sse.ui.preferences.editor"
nitind4039c302004-12-28 19:58:41 +000076 target="org.eclipse.wst.sse.ui.StructuredTextEditor"/>
david_williamscfdb2cd2004-11-11 08:37:49 +000077 </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_williams30ac56d2005-02-23 21:18:56 +0000105<!-- Comment out for now since this preference page is not used
david_williamscfdb2cd2004-11-11 08:37:49 +0000106 <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_williams30ac56d2005-02-23 21:18:56 +0000111-->
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_williamscfdb2cd2004-11-11 08:37:49 +0000117<!-- 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">
nitind435b1412004-11-11 22:53:13 +0000130 <scope
david_williamscfdb2cd2004-11-11 08:37:49 +0000131 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_williamscfdb2cd2004-11-11 08:37:49 +0000136 <!-- dmw 6/6 (and 11/10 :) removed from 'scope' parentId="org.eclipse.ui.textEditorScope" -->
nitind435b1412004-11-11 22:53:13 +0000137 <!-- afw 11/11 added scope back in because these are keybindings for structuredtexteditors only -->
david_williamscfdb2cd2004-11-11 08:37:49 +0000138
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"
nitind435b1412004-11-11 22:53:13 +0000150 id="org.eclipse.wst.sse.ui.structure.select.next">
david_williamscfdb2cd2004-11-11 08:37:49 +0000151 </command>
152 <command
153 name="%ActionDefinition.selectPrevious.name"
154 description="%ActionDefinition.selectPrevious.description"
155 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000156 id="org.eclipse.wst.sse.ui.structure.select.previous">
david_williamscfdb2cd2004-11-11 08:37:49 +0000157 </command>
158 <command
159 name="%ActionDefinition.selectLast.name"
160 description="%ActionDefinition.selectLast.description"
161 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000162 id="org.eclipse.wst.sse.ui.structure.select.last">
david_williamscfdb2cd2004-11-11 08:37:49 +0000163 </command>
164 <command
165 name="%ActionDefinition.showJavadoc.name"
166 description="%ActionDefinition.showJavadoc.description"
167 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000168 id="org.eclipse.wst.sse.ui.show.javadoc">
david_williamscfdb2cd2004-11-11 08:37:49 +0000169 </command>
170 <command
171 name="%ActionDefinition.quickFix.name"
172 description="%ActionDefinition.quickFix.description"
173 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000174 id="org.eclipse.wst.sse.ui.edit.text.java.correction.assist.proposals">
david_williamscfdb2cd2004-11-11 08:37:49 +0000175 </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"
nitind435b1412004-11-11 22:53:13 +0000181 id="org.eclipse.wst.sse.ui.toggle.comment">
david_williamscfdb2cd2004-11-11 08:37:49 +0000182 </command>
183 <command
184 name="%command.add.block.comment.name"
185 description="%command.add.block.comment.description"
186 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000187 id="org.eclipse.wst.sse.ui.add.block.comment">
david_williamscfdb2cd2004-11-11 08:37:49 +0000188 </command>
189 <command
190 name="%command.remove.block.comment.name"
191 description="%command.remove.block.comment.description"
192 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000193 id="org.eclipse.wst.sse.ui.remove.block.comment">
david_williamscfdb2cd2004-11-11 08:37:49 +0000194 </command>
195 <command
196 name="%command.cleanup.document.name"
197 description="%command.cleanup.document.description"
198 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000199 id="org.eclipse.wst.sse.ui.cleanup.document">
david_williamscfdb2cd2004-11-11 08:37:49 +0000200 </command>
201 <command
202 name="%command.format.document.name"
203 description="%command.format.document.description"
204 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000205 id="org.eclipse.wst.sse.ui.format.document">
david_williamscfdb2cd2004-11-11 08:37:49 +0000206 </command>
207 <command
208 name="%command.format.active.elements.name"
209 description="%command.format.active.elements.description"
210 category="org.eclipse.ui.category.edit"
nitind435b1412004-11-11 22:53:13 +0000211 id="org.eclipse.wst.sse.ui.format.active.elements">
david_williamscfdb2cd2004-11-11 08:37:49 +0000212 </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"
nitind435b1412004-11-11 22:53:13 +0000218 id="org.eclipse.wst.sse.ui.open.file.from.source">
david_williamscfdb2cd2004-11-11 08:37:49 +0000219 </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"
nitind435b1412004-11-11 22:53:13 +0000225 id="org.eclipse.wst.sse.ui.search.find.occurrences">
david_williamscfdb2cd2004-11-11 08:37:49 +0000226 </command>
227<!-- Edit commands -->
228 <keyBinding
229 string="Alt+Shift+ARROW_UP"
nitind435b1412004-11-11 22:53:13 +0000230 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
231 command="org.eclipse.wst.sse.ui.structure.select.enclosing"
david_williamscfdb2cd2004-11-11 08:37:49 +0000232 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
233 </keyBinding>
234 <keyBinding
235 string="Alt+Shift+ARROW_RIGHT"
nitind435b1412004-11-11 22:53:13 +0000236 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
237 command="org.eclipse.wst.sse.ui.structure.select.next"
david_williamscfdb2cd2004-11-11 08:37:49 +0000238 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
239 </keyBinding>
240 <keyBinding
241 string="Alt+Shift+ARROW_LEFT"
nitind435b1412004-11-11 22:53:13 +0000242 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
243 command="org.eclipse.wst.sse.ui.structure.select.previous"
david_williamscfdb2cd2004-11-11 08:37:49 +0000244 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
245 </keyBinding>
246 <keyBinding
247 string="Alt+Shift+ARROW_DOWN"
nitind435b1412004-11-11 22:53:13 +0000248 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
249 command="org.eclipse.wst.sse.ui.structure.select.last"
david_williamscfdb2cd2004-11-11 08:37:49 +0000250 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
251 </keyBinding>
252 <keyBinding
253 string="F2"
nitind435b1412004-11-11 22:53:13 +0000254 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
255 command="org.eclipse.wst.sse.ui.show.javadoc"
david_williamscfdb2cd2004-11-11 08:37:49 +0000256 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
257 </keyBinding>
258 <keyBinding
259 string="Ctrl+1"
nitind435b1412004-11-11 22:53:13 +0000260 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
261 command="org.eclipse.wst.sse.ui.edit.text.java.correction.assist.proposals"
david_williamscfdb2cd2004-11-11 08:37:49 +0000262 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
263 </keyBinding>
264<!-- Source commands -->
265 <keyBinding
266 string="Ctrl+Shift+C"
nitind435b1412004-11-11 22:53:13 +0000267 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
268 command="org.eclipse.wst.sse.ui.toggle.comment"
david_williamscfdb2cd2004-11-11 08:37:49 +0000269 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
270 </keyBinding>
271 <keyBinding
272 string="Ctrl+Shift+/"
nitind435b1412004-11-11 22:53:13 +0000273 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
274 command="org.eclipse.wst.sse.ui.add.block.comment"
david_williamscfdb2cd2004-11-11 08:37:49 +0000275 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
276 </keyBinding>
277 <keyBinding
278 string="Ctrl+Shift+\"
nitind435b1412004-11-11 22:53:13 +0000279 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
280 command="org.eclipse.wst.sse.ui.remove.block.comment"
david_williamscfdb2cd2004-11-11 08:37:49 +0000281 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
282 </keyBinding>
283 <keyBinding
284 string="Ctrl+Shift+L"
nitind435b1412004-11-11 22:53:13 +0000285 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
286 command="org.eclipse.wst.sse.ui.cleanup.document"
david_williamscfdb2cd2004-11-11 08:37:49 +0000287 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
288 </keyBinding>
289 <keyBinding
290 string="Ctrl+Shift+F"
nitind435b1412004-11-11 22:53:13 +0000291 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
292 command="org.eclipse.wst.sse.ui.format.document"
david_williamscfdb2cd2004-11-11 08:37:49 +0000293 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
294 </keyBinding>
295 <keyBinding
296 string="Ctrl+I"
nitind435b1412004-11-11 22:53:13 +0000297 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
298 command="org.eclipse.wst.sse.ui.format.active.elements"
david_williamscfdb2cd2004-11-11 08:37:49 +0000299 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
300 </keyBinding>
301<!-- Navigate commands -->
302 <keyBinding
303 string="F3"
nitind435b1412004-11-11 22:53:13 +0000304 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
305 command="org.eclipse.wst.sse.ui.open.file.from.source"
david_williamscfdb2cd2004-11-11 08:37:49 +0000306 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
307 </keyBinding>
308<!-- Find Occurrences -->
309 <keyBinding
310 string="Ctrl+Shift+A"
nitind435b1412004-11-11 22:53:13 +0000311 scope="org.eclipse.wst.sse.ui.structuredTextEditorScope"
312 command="org.eclipse.wst.sse.ui.search.find.occurrences"
david_williamscfdb2cd2004-11-11 08:37:49 +0000313 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"
nitind05a026a2004-11-23 22:56:05 +0000337 id="org.eclipse.wst.sse.ui.extention.ExtendedTransfers">
david_williamscfdb2cd2004-11-11 08:37:49 +0000338 <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>
paverya78e4332005-02-14 18:10:36 +0000364
david_williamscfdb2cd2004-11-11 08:37:49 +0000365 <extension
366 point="org.eclipse.ui.editors.annotationTypes">
367 <type
pavery55ae4472005-02-16 23:00:16 +0000368 super="org.eclipse.ui.workbench.texteditor.error"
david_williamscfdb2cd2004-11-11 08:37:49 +0000369 markerType="org.eclipse.wst.sse.problem"
370 name="org.eclipse.wst.sse.ui.temp.error"
371 markerSeverity="2">
372 </type>
373 <type
pavery55ae4472005-02-16 23:00:16 +0000374 super="org.eclipse.ui.workbench.texteditor.warning"
david_williamscfdb2cd2004-11-11 08:37:49 +0000375 markerType="org.eclipse.wst.sse.problem"
376 name="org.eclipse.wst.sse.ui.temp.warning"
377 markerSeverity="1">
378 </type>
paverya78e4332005-02-14 18:10:36 +0000379
david_williamscfdb2cd2004-11-11 08:37:49 +0000380 <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">
paverya78e4332005-02-14 18:10:36 +0000389
390 <!--================================================================================================-->
391 <!-- same as eclipse text ui (including preference keys), except for vertical ruler & preference page -->
392 <!--================================================================================================-->
david_williamscfdb2cd2004-11-11 08:37:49 +0000393 <specification
paverya78e4332005-02-14 18:10:36 +0000394 annotationType="org.eclipse.wst.sse.ui.temp.error"
david_williamscfdb2cd2004-11-11 08:37:49 +0000395 annotationImageProvider="org.eclipse.wst.sse.ui.internal.ui.StructuredTextAnnotationImageProvider"
pavery55ae4472005-02-16 23:00:16 +0000396
397 verticalRulerPreferenceValue="true"
paverya78e4332005-02-14 18:10:36 +0000398 verticalRulerPreferenceKey="sseErrorIndicationInVerticalRuler"
399 includeOnPreferencePage="false">
david_williamscfdb2cd2004-11-11 08:37:49 +0000400 </specification>
401 <specification
paverya78e4332005-02-14 18:10:36 +0000402 annotationType="org.eclipse.wst.sse.ui.temp.warning"
david_williamscfdb2cd2004-11-11 08:37:49 +0000403 annotationImageProvider="org.eclipse.wst.sse.ui.internal.ui.StructuredTextAnnotationImageProvider"
pavery55ae4472005-02-16 23:00:16 +0000404
david_williamscfdb2cd2004-11-11 08:37:49 +0000405 verticalRulerPreferenceValue="false"
paverya78e4332005-02-14 18:10:36 +0000406 verticalRulerPreferenceKey="sseWarningIndicationInVerticalRuler"
407 includeOnPreferencePage="false">
david_williamscfdb2cd2004-11-11 08:37:49 +0000408 </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"
paveryf918eb22005-03-29 18:26:53 +0000420 contributorClass="org.eclipse.wst.sse.ui.internal.actions.ActionContributor"
david_williamscfdb2cd2004-11-11 08:37:49 +0000421 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_williamscfdb2cd2004-11-11 08:37:49 +0000438 </menu>
439 <action
440 label="%FormatDocument"
paveryf918eb22005-03-29 18:26:53 +0000441 class="org.eclipse.wst.sse.ui.internal.actions.FormatActionDelegate"
david_williamscfdb2cd2004-11-11 08:37:49 +0000442 menubarPath="source/sourceGroup"
443 enablesFor="+"
444 id="org.eclipse.wst.sse.ui.actions.ContainerSourceActions.Format">
445 </action>
david_williamscfdb2cd2004-11-11 08:37:49 +0000446 </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_williamscfdb2cd2004-11-11 08:37:49 +0000457 </menu>
458 <action
459 label="%FormatDocument"
paveryf918eb22005-03-29 18:26:53 +0000460 class="org.eclipse.wst.sse.ui.internal.actions.FormatActionDelegate"
david_williamscfdb2cd2004-11-11 08:37:49 +0000461 menubarPath="source/sourceGroup"
462 enablesFor="+"
463 id="org.eclipse.wst.sse.ui.actions.FileSourceActions.Format">
464 </action>
david_williamscfdb2cd2004-11-11 08:37:49 +0000465 </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 -->
nitindc9c4f6e2005-01-26 05:42:56 +0000473<!-- (base now provides an open preferences dialog in editor so this is no longer needed)
david_williamscfdb2cd2004-11-11 08:37:49 +0000474 <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>
nitindc9c4f6e2005-01-26 05:42:56 +0000479-->
david_williamscfdb2cd2004-11-11 08:37:49 +0000480<!-- contribute the Spell Check action -->
nitinde581f982004-12-07 06:20:25 +0000481<!--
david_williamscfdb2cd2004-11-11 08:37:49 +0000482 <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>
nitinde581f982004-12-07 06:20:25 +0000489-->
david_williamscfdb2cd2004-11-11 08:37:49 +0000490 </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>
paverya78e4332005-02-14 18:10:36 +0000505
david_williamscfdb2cd2004-11-11 08:37:49 +0000506
507<!-- extension point for breakpoint extension -->
nitind23739892004-12-06 05:51:11 +0000508 <extension-point id="breakpoint" name="%Breakpoint_Extension_Point.name"/>
david_williamscfdb2cd2004-11-11 08:37:49 +0000509<!-- extension point for spellcheck extension -->
nitind23739892004-12-06 05:51:11 +0000510 <extension-point id="spellcheck" name="%SpellCheck_Extension_Point.name"/>
paveryf918eb22005-03-29 18:26:53 +0000511<!-- extension point for source validation -->
david_williamscfdb2cd2004-11-11 08:37:49 +0000512<!-- interfaces for this extension point can be found in com.ibm.wtp.validation.core -->
paveryf918eb22005-03-29 18:26:53 +0000513 <extension-point id="sourcevalidation" name="%Source_Validation_Extension_Point.name" schema="schema/org.eclipse.wst.sse.editor.sourcevalidation.exsd"/>
david_williamscfdb2cd2004-11-11 08:37:49 +0000514</plugin>