blob: 29a1c9e8f86dbfd7c6befd92a3e11ec6c040cbf2 [file] [log] [blame]
csalterd5a99d42004-11-24 21:13:42 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
csalterd5a99d42004-11-24 21:13:42 +00004
david_williamsad0e4cc2005-06-04 01:49:19 +00005 <extension point="org.eclipse.ui.editors">
6 <editor
7 name="%_UI_EDITOR_NAME"
david_williamsad0e4cc2005-06-04 01:49:19 +00008 icon="icons/XSDFile.gif"
kchong2be71b32006-04-11 16:32:03 +00009 contributorClass="org.eclipse.wst.xsd.ui.internal.editor.XSDMultiPageEditorContributor"
10 class="org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor"
11 id="org.eclipse.wst.xsd.ui.internal.editor.InternalXSDMultiPageEditor">
kchong42caa152006-04-03 23:05:36 +000012 <contentTypeBinding
david_williams9bb691f2005-07-08 18:01:22 +000013 contentTypeId="org.eclipse.wst.xsd.core.xsdsource" />
david_williamsad0e4cc2005-06-04 01:49:19 +000014 </editor>
15 </extension>
csalterd5a99d42004-11-24 21:13:42 +000016
nitind6d98c7b2005-10-07 21:17:31 +000017 <extension point="org.eclipse.ui.editorActions">
18 <editorContribution
19 targetID="org.eclipse.wst.xsd.core.xsdsource.source"
20 id="org.eclipse.wst.xsd.core.xsdsource.ruler.actions">
21 <action
amywu34aa9802005-12-06 23:33:16 +000022 label="%AddBookmark.label"
nitind6d98c7b2005-10-07 21:17:31 +000023 helpContextId="org.eclipse.ui.bookmark_action_context"
24 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
25 actionID="RulerDoubleClick"
26 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
27 <action
amywu34aa9802005-12-06 23:33:16 +000028 label="%SelectRuler.label"
nitind6d98c7b2005-10-07 21:17:31 +000029 class="org.eclipse.ui.texteditor.SelectRulerAction"
30 actionID="RulerClick"
31 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
32 </editorContribution>
33 </extension>
34
david_williamsad0e4cc2005-06-04 01:49:19 +000035 <extension point="org.eclipse.ui.newWizards">
36 <wizard
37 id="org.eclipse.wst.xsd.ui.internal.wizards.NewXSDWizard"
38 name="%_UI_WIZARD_NEW_XSD"
39 class="org.eclipse.wst.xsd.ui.internal.wizards.NewXSDWizard"
40 category="org.eclipse.wst.XMLCategory"
41 icon="icons/XSDFile.gif">
42 <description>%_UI_CREATE_A_NEW_SCHEMA</description>
43 <selection class="org.eclipse.core.resources.IResource" />
44 </wizard>
45 </extension>
csalterd5a99d42004-11-24 21:13:42 +000046
david_williamsad0e4cc2005-06-04 01:49:19 +000047 <extension point="org.eclipse.ui.preferencePages">
48 <page
49 name="%_UI_XML_SCHEMA_PREFERENCE"
50 category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
kchong2be71b32006-04-11 16:32:03 +000051 class="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage"
52 id="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage">
david_williamsad0e4cc2005-06-04 01:49:19 +000053 </page>
54 </extension>
nitind40dcdbd2005-09-07 23:33:18 +000055 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
kchongbc475442006-05-01 21:08:25 +000056<!--
nitind40dcdbd2005-09-07 23:33:18 +000057 <provisionalDefinition
nitindc570b4e2005-01-18 23:40:06 +000058 type="preferencepages"
nitindc9c4f6e2005-01-26 05:42:56 +000059 value="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage"
nitindc570b4e2005-01-18 23:40:06 +000060 target="org.eclipse.wst.xsd.ui.internal.XSDEditor.source" />
kchongbc475442006-05-01 21:08:25 +000061-->
62 <sourceViewerConfiguration
63 class="org.eclipse.wst.xsd.ui.internal.editor.StructuredTextViewerConfigurationXSD"
kchong64de6da2005-10-31 23:26:52 +000064 target="org.eclipse.wst.xsd.core.xsdsource" />
kchongbc475442006-05-01 21:08:25 +000065<!--
kchong64de6da2005-10-31 23:26:52 +000066 <contentOutlineConfiguration
67 class="org.eclipse.wst.xsd.ui.internal.XSDContentOutlineConfiguration"
kchong38cbf172006-03-29 03:38:21 +000068 target="org.eclipse.wst.xsd.core.xsdsource" />
kchongbc475442006-05-01 21:08:25 +000069-->
70 </extension>
csalterb71d7c42005-04-28 00:07:20 +000071
david_williamsad0e4cc2005-06-04 01:49:19 +000072 <!-- ==================================================== -->
73 <!-- Support help on the tags -->
74 <!-- ==================================================== -->
75 <!-- <extension
76 point="org.eclipse.wst.xml.core.internal.contentmodel.annotationFiles">
77 <annotationFile
78 location="/w3c/schemaForCodeAssist-annotations.xml"
79 publicId="http://www.w3.org/2001/XMLSchema">
80 </annotationFile>
81 </extension>
82 -->
kchong38cbf172006-03-29 03:38:21 +000083
84
85 <extension
86 point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
87 <propertyContributor
kchong2be71b32006-04-11 16:32:03 +000088 contributorId="org.eclipse.wst.xsd.ui.internal.editor"
89 labelProvider="org.eclipse.wst.xsd.ui.internal.common.properties.providers.XSDSectionLabelProvider">
kchong38cbf172006-03-29 03:38:21 +000090 <propertyCategory category="General"/>
91 <propertyCategory category="Documentation"/>
92 <propertyCategory category="Advanced"/>
93 </propertyContributor>
94 </extension>
95
96 <extension
97 point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
98 <propertyTabs
kchong2be71b32006-04-11 16:32:03 +000099 contributorId="org.eclipse.wst.xsd.ui.internal.editor">
david_williamsad0e4cc2005-06-04 01:49:19 +0000100 <propertyTab
101 label="%_UI_LABEL_GENERAL"
kchong38cbf172006-03-29 03:38:21 +0000102 category="General"
103 id="property.tab.general">
david_williamsad0e4cc2005-06-04 01:49:19 +0000104 </propertyTab>
105 <propertyTab
kchong38cbf172006-03-29 03:38:21 +0000106 label="%_UI_LABEL_TYPE_CONSTRAINTS"
107 category="General"
108 afterTab="property.tab.general"
109 id="property.tab.typeconstraints">
david_williamsad0e4cc2005-06-04 01:49:19 +0000110 </propertyTab>
111 <propertyTab
112 label="%_UI_LABEL_ENUMERATIONS"
kchong38cbf172006-03-29 03:38:21 +0000113 category="General"
114 afterTab="property.tab.general"
115 id="property.tab.enumerations">
david_williamsad0e4cc2005-06-04 01:49:19 +0000116 </propertyTab>
117 <propertyTab
kchong2c45fdf2006-09-07 10:53:10 +0000118 label="%_UI_LABEL_ADVANCED"
119 category="Advanced"
120 afterTab="property.tab.general"
121 id="property.tab.advanced">
122 </propertyTab>
123 <propertyTab
david_williamsad0e4cc2005-06-04 01:49:19 +0000124 label="%_UI_LABEL_DOCUMENTATION"
kchong38cbf172006-03-29 03:38:21 +0000125 category="Documentation"
126 afterTab="property.tab.general"
127 id="property.tab.documentation">
david_williamsad0e4cc2005-06-04 01:49:19 +0000128 </propertyTab>
129 <propertyTab
kchong38cbf172006-03-29 03:38:21 +0000130 label="%_UI_LABEL_EXTENSIONS"
131 category="Documentation"
132 afterTab="property.tab.general"
133 id="property.tab.extensions">
david_williamsad0e4cc2005-06-04 01:49:19 +0000134 </propertyTab>
kchong38cbf172006-03-29 03:38:21 +0000135 </propertyTabs>
136 </extension>
csalterb71d7c42005-04-28 00:07:20 +0000137
david_williamsad0e4cc2005-06-04 01:49:19 +0000138
kchong38cbf172006-03-29 03:38:21 +0000139<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
kchong2be71b32006-04-11 16:32:03 +0000140 <propertySections contributorId="org.eclipse.wst.xsd.ui.internal.editor">
kchong38cbf172006-03-29 03:38:21 +0000141 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000142 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDSchemaSection"
kchong38cbf172006-03-29 03:38:21 +0000143 id="prop.section.XSDSchemaSection">
144 <input type="org.eclipse.xsd.XSDSchema">
145 </input>
146 </propertySection>
147 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000148 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.SchemaLocationSection"
kchong38cbf172006-03-29 03:38:21 +0000149 id="prop.section.SchemaLocationSection">
150 <input type="org.eclipse.xsd.XSDSchemaCompositor">
151 </input>
152 </propertySection>
153 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000154 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDComplexTypeSection"
kchong38cbf172006-03-29 03:38:21 +0000155 id="prop.section.XSDComplexTypeSection">
156 <input type="org.eclipse.xsd.XSDComplexTypeDefinition">
157 </input>
158 </propertySection>
kchong2c45fdf2006-09-07 10:53:10 +0000159 <propertySection tab="property.tab.advanced"
160 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDComplexTypeAdvancedSection"
161 id="prop.section.XSDComplexTypeAdvancedSection">
162 <input type="org.eclipse.xsd.XSDComplexTypeDefinition">
163 </input>
164 </propertySection>
kchong38cbf172006-03-29 03:38:21 +0000165 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000166 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDElementDeclarationSection"
kchong38cbf172006-03-29 03:38:21 +0000167 id="prop.section.XSDElementDeclarationSection">
168 <input type="org.eclipse.xsd.XSDElementDeclaration">
169 </input>
kchong1401c492006-12-11 18:53:05 +0000170 </propertySection>
171 <propertySection tab="property.tab.advanced"
172 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDElementDeclarationAdvancedSection"
173 id="prop.section.XSDElementDeclarationAdvancedSection">
174 <input type="org.eclipse.xsd.XSDElementDeclaration">
175 </input>
kchong2c45fdf2006-09-07 10:53:10 +0000176 </propertySection>
kchong38cbf172006-03-29 03:38:21 +0000177 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000178 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAttributeDeclarationSection"
kchong38cbf172006-03-29 03:38:21 +0000179 id="prop.section.XSDAttributeDeclarationSection">
180 <input type="org.eclipse.xsd.XSDAttributeDeclaration">
181 </input>
182 </propertySection>
183 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000184 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAttributeGroupDefinitionSection"
kchong38cbf172006-03-29 03:38:21 +0000185 id="prop.section.XSDAttributeGroupDefinitionSection">
186 <input type="org.eclipse.xsd.XSDAttributeGroupDefinition">
187 </input>
188 </propertySection>
189 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000190 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDModelGroupSection"
kchong38cbf172006-03-29 03:38:21 +0000191 id="prop.section.XSDModelGroupSection">
192 <input type="org.eclipse.xsd.XSDModelGroup">
193 </input>
194 </propertySection>
195 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000196 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDModelGroupDefinitionSection"
kchong38cbf172006-03-29 03:38:21 +0000197 id="prop.section.XSDModelGroupDefinitionSection">
198 <input type="org.eclipse.xsd.XSDModelGroupDefinition">
199 </input>
200 </propertySection>
201 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000202 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDSimpleTypeSection"
kchong38cbf172006-03-29 03:38:21 +0000203 id="prop.section.XSDSimpleTypeSection">
204 <input type="org.eclipse.xsd.XSDSimpleTypeDefinition">
205 </input>
206 </propertySection>
207 <propertySection tab="property.tab.typeconstraints"
kchong2be71b32006-04-11 16:32:03 +0000208 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDFacetSection"
209 filter="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDFacetSectionFilter"
kchong38cbf172006-03-29 03:38:21 +0000210 id="prop.section.XSDFacetSection">
211 <input type="org.eclipse.xsd.XSDConcreteComponent">
212 </input>
213 </propertySection>
214 <propertySection tab="property.tab.documentation"
kchong2be71b32006-04-11 16:32:03 +0000215 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.AnnotationSection"
kchong38cbf172006-03-29 03:38:21 +0000216 id="prop.section.AnnotationSection">
217 <input type="org.eclipse.xsd.XSDConcreteComponent">
218 </input>
219 </propertySection>
220 <propertySection tab="property.tab.extensions"
kchong2be71b32006-04-11 16:32:03 +0000221 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.ExtensionsSection"
kchong38cbf172006-03-29 03:38:21 +0000222 id="prop.section.ExtensionsSection">
223 <input type="org.eclipse.xsd.XSDConcreteComponent">
224 </input>
225 </propertySection>
kchong5722d342006-04-24 19:06:33 +0000226 <propertySection tab="property.tab.general"
227 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAnyElementContentsSection"
228 id="prop.section.general">
229 <input type="org.eclipse.xsd.XSDWildcard">
230 </input>
231 </propertySection>
kchong66011bb2006-05-01 18:55:19 +0000232 <propertySection tab="property.tab.general"
233 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDImportSection"
234 id="prop.section.general">
235 <input type="org.eclipse.xsd.XSDImport">
236 </input>
237 </propertySection>
kchong38cbf172006-03-29 03:38:21 +0000238 </propertySections>
239</extension>
240
csaltered3ad2f2006-05-24 06:20:11 +0000241 <!-- this extension point is deprecated, use extensionCategories -->
242 <extension-point id="ExtensionsSchemasDescription" name="%ExtensionsSchemasDescription"/>
243 <extension-point id="extensionCategories" name="%ExtensionCategoriesDescription"/>
kchongcf01a7c2006-05-26 18:33:23 +0000244
245 <!-- this extension point is deprecated, use internalEditorConfiguration -->
kchongdd22d382006-04-18 14:59:07 +0000246 <extension-point id="XSDEditorExtensionConfiguration" name="%XSDEditorExtensionConfiguration"/>
kchongcf01a7c2006-05-26 18:33:23 +0000247 <extension-point id="internalEditorConfiguration" name="%InternalEditorConfiguration"/>
csalterdf29c4e2006-05-16 21:43:16 +0000248
249 <extension-point id="extensibilityNodeCustomizations" name="%ExtensionNodeCustomizationsDescription"/>
csalter92b38ec2006-07-24 17:23:45 +0000250 <extension-point id="editorModes" name="%XMLSchemaEditorModes"/>
csalterdf29c4e2006-05-16 21:43:16 +0000251
david_williamsad0e4cc2005-06-04 01:49:19 +0000252 <extension
csalter3d09c242005-06-17 17:50:36 +0000253 point="org.eclipse.wst.xml.core.catalogContributions">
254 <catalogContribution id="default">
csalter2c151f42005-07-20 07:55:46 +0000255
csalter3d09c242005-06-17 17:50:36 +0000256 <uri
257 name="http://www.w3.org/2001/XMLSchema"
david_williamsad0e4cc2005-06-04 01:49:19 +0000258 uri="platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/XMLSchema.xsd" />
csalter2c151f42005-07-20 07:55:46 +0000259 <system
260 systemId="http://www.w3.org/2001/xml.xsd"
261 uri="platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/xml.xsd"/>
csalter3d09c242005-06-17 17:50:36 +0000262 </catalogContribution>
david_williamsad0e4cc2005-06-04 01:49:19 +0000263 </extension>
264
265
266 <!-- intialize xsd reconcile validator -->
267 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
268 <validator
269 scope="total"
270 class="org.eclipse.wst.xsd.ui.internal.validation.DelegatingSourceValidatorForXSD"
271 id="org.eclipse.wst.xsd.ui.internal.validation.DelegatingSourceValidatorForXSD">
272 <contentTypeIdentifier
csalterf5b8d012005-06-29 17:38:22 +0000273 id="org.eclipse.wst.xsd.core.xsdsource">
david_williamsad0e4cc2005-06-04 01:49:19 +0000274 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT">
275 </partitionType>
276 </contentTypeIdentifier>
277 </validator>
278 </extension>
279
280 <extension point="org.eclipse.ui.contexts">
281 <context
282 id="org.eclipse.wst.xsd.ui.text.editor.context"
283 name="%context.text.editor.xsd.name"
284 parentId="org.eclipse.ui.textEditorScope" />
285 </extension>
286
david_williamsad0e4cc2005-06-04 01:49:19 +0000287 <!-- this extension point is used to augment the ModelQuery to provide schema specific guided editing -->
288 <extension point="org.eclipse.wst.xml.core.modelQueryExtensions">
csalter771f5152005-05-16 04:27:36 +0000289 <modelQueryExtension
290 class="org.eclipse.wst.xsd.ui.internal.text.XSDModelQueryExtension"
csalterf5b8d012005-06-29 17:38:22 +0000291 contentType="org.eclipse.wst.xsd.core.xsdsource">
csalter771f5152005-05-16 04:27:36 +0000292 </modelQueryExtension>
293 </extension>
csalterb6801bb2005-02-17 19:45:41 +0000294
csalterce820002006-01-10 07:53:46 +0000295 <!-- ============================================================================== -->
296 <!-- Register the XSDSearchParticpant against for XMLComponentSearchPatterns -->
297 <!-- ============================================================================== -->
298 <extension
299 point="org.eclipse.wst.common.core.searchParticipants">
300 <searchParticipant
301 id="org.eclipse.wst.xsd.search.XSDSearchParticipant"
302 class="org.eclipse.wst.xsd.ui.internal.search.XSDSearchParticipant">
303 <enablement>
304 <or>
305 <with variable="pattern">
306 <instanceof value="org.eclipse.wst.xml.core.internal.search.XMLComponentSearchPattern"/>
307 </with>
308 </or>
309 </enablement>
csalterce820002006-01-10 07:53:46 +0000310 </searchParticipant>
kchong38cbf172006-03-29 03:38:21 +0000311 </extension>
312
csalterce820002006-01-10 07:53:46 +0000313 <!-- ============================================================================== -->
314 <!-- Register a 'rename' participant this enables us to provide refactoring for -->
315 <!-- renamed XML Schema components (e.g. elements, types etc.) -->
316 <!-- ============================================================================== -->
317 <extension
318 point="org.eclipse.ltk.core.refactoring.renameParticipants">
319 <renameParticipant
320 name="%xsd.resource.rename.participant.name"
321 class="org.eclipse.wst.xsd.ui.internal.refactor.rename.XSDComponentRenameParticipant"
322 id="org.eclipse.wst.xsd.refactoring.XSDComponentRenameParticipant">
323 <enablement>
324 <with variable="element">
325 <instanceof
326 value="org.eclipse.xsd.XSDNamedComponent">
327 </instanceof>
328 </with>
329 </enablement>
330 </renameParticipant>
331
332 </extension>
333
csalterce820002006-01-10 07:53:46 +0000334 <!-- ============================================================================== -->
335 <!-- Register a 'rename' participant this enables us to provide refactoring for -->
336 <!-- renamed resources. -->
337 <!-- ============================================================================== -->
kchong38cbf172006-03-29 03:38:21 +0000338<!--
csalterce820002006-01-10 07:53:46 +0000339 <extension
340 point="org.eclipse.ltk.core.refactoring.renameParticipants">
341 <renameParticipant
342 name="%xsd.resource.rename.participant.name"
343 class="org.eclipse.wst.xsd.ui.internal.refactor.rename.ResourceRenameParticipant"
344 id="org.eclipse.wst.xsd.refactoring.XSDResourceRenameParticipant">
345 <enablement>
346 <with variable="element">
347 <instanceof value="org.eclipse.core.resources.IResource"/>
348 </with>
349 </enablement>
350 </renameParticipant>
351 </extension>
kchong38cbf172006-03-29 03:38:21 +0000352 -->
353 <!-- ============================================================================================== -->
354 <!-- Register the 'Refactor', 'References' and 'Declarations' items to the design view -->
355 <!-- ============================================================================================== -->
csalterce820002006-01-10 07:53:46 +0000356 <extension point="org.eclipse.ui.popupMenus">
357 <objectContribution
358 id="org.eclipse.wst.xsd.ui.refactoring.menu.objectContrib"
kchong2be71b32006-04-11 16:32:03 +0000359 objectClass="org.eclipse.wst.xsd.ui.internal.adapters.XSDBaseAdapter">
csalter265cc0c2006-08-15 21:12:30 +0000360 <!--
361 cs : declaration search isn't fully implemented yet, removing this menu action for now
csalter7864d3c2006-01-23 04:54:10 +0000362 <action
363 id="org.eclipse.wst.xsd.ui.search.declarations.action"
364 enablesFor="1"
365 style="pulldown"
366 menubarPath="search-slot"
kchong38cbf172006-03-29 03:38:21 +0000367 label="%search.declarations.label"
csalter7864d3c2006-01-23 04:54:10 +0000368 class="org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchDeclarationsGroupActionDelegate">
369 </action>
csalter265cc0c2006-08-15 21:12:30 +0000370 -->
csalter7864d3c2006-01-23 04:54:10 +0000371 <action
372 id="org.eclipse.wst.xsd.ui.search.references.action"
373 enablesFor="1"
374 style="pulldown"
375 menubarPath="search-slot"
kchong38cbf172006-03-29 03:38:21 +0000376 label="%search.references.label"
csalter7864d3c2006-01-23 04:54:10 +0000377 class="org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchReferencesGroupActionDelegate">
378 </action>
csalterce820002006-01-10 07:53:46 +0000379 <action
380 id="org.eclipse.wst.xsd.ui.refactoring.menu.refactorGroup.object"
381 enablesFor="1"
382 style="pulldown"
csalter7864d3c2006-01-23 04:54:10 +0000383 menubarPath="refactoring-slot"
kchong38cbf172006-03-29 03:38:21 +0000384 label="%refactoringActionSet.label"
csalterce820002006-01-10 07:53:46 +0000385 class="org.eclipse.wst.xsd.ui.internal.refactor.actions.XSDRefactorGroupActionDelegate">
kchong38cbf172006-03-29 03:38:21 +0000386 </action>
csalter7864d3c2006-01-23 04:54:10 +0000387 </objectContribution>
kchong38cbf172006-03-29 03:38:21 +0000388 <!-- here we add the 'refactor' menu item to the source view -->
389 <viewerContribution
csalterce820002006-01-10 07:53:46 +0000390 id="org.eclipse.wst.xsd.ui.refactoring.menu.source"
391 targetID="org.eclipse.wst.xsd.core.xsdsource.source.EditorContext">
392 <action id="org.eclipse.wst.xsd.ui.refactoring.menu.refactorGroup.source"
393 style="pulldown"
394 menubarPath="additions"
395 label="%refactoring.menu.label"
396 class="org.eclipse.wst.xsd.ui.internal.refactor.actions.XSDRefactorGroupActionDelegate">
397 </action>
kchong33330712007-01-29 21:05:46 +0000398 </viewerContribution>
399 <viewerContribution
400 targetID="org.eclipse.wst.xsd.core.xsdsource.source.RulerContext"
401 id="org.eclipse.wst.xsd.ui.ruler.context.actions">
402 <action
403 label="%AddTask.label"
404 helpContextId="org.eclipse.ui.AddTask_action_context"
405 class="org.eclipse.ui.texteditor.TaskRulerAction"
406 tooltip="%AddTask.tooltip"
407 menubarPath="additions"
408 id="org.eclipse.ui.texteditor.TaskRulerAction">
409 </action>
410 <action
411 label="%AddBookmark.label"
412 helpContextId="org.eclipse.ui.bookmark_action_context"
413 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
414 tooltip="%AddBookmark.tooltip"
415 menubarPath="additions"
416 id="org.eclipse.ui.texteditor.BookmarkRulerAction">
417 </action>
418 </viewerContribution>
419
csalterce820002006-01-10 07:53:46 +0000420 </extension>
kchong38cbf172006-03-29 03:38:21 +0000421
422
423 <!--
424 The following extension to the file context menu is temporary until resource
425 navigator will provide allow to extend refactor menu
426 -->
427
428 <!--extension point="org.eclipse.ui.popupMenus">
429 <objectContribution
430 objectClass="org.eclipse.core.resources.IFile"
431 nameFilter="*.xsd"
432 id="org.wst.xsd.ui.rename">
433 <menu id="refactorXSDResource" path="additions" label="%refactoring.menu.label">
434 <separator name="refactor"/>
435 </menu>
436 <action
437 label="%refactoring.renameAction.label"
438 menubarPath="refactorXSDResource/refactor"
439 class="org.eclipse.wst.xsd.ui.internal.refactor.actions.RenameResourceActionDelegate"
440 enablesFor="1"
441 id="org.eclipse.wst.xsd.ui.refactoring.actions.RenameResource">
442 </action>
443 </objectContribution>
444 </extension-->
csalterce820002006-01-10 07:53:46 +0000445
446 <extension point="org.eclipse.ui.commands">
447 <command
448 name="%command.xsd.refactor.rename.element.name"
449 description="%command.xsd.refactor.rename.element.description"
450 categoryId="org.eclipse.ui.category.edit"
451 id="org.eclipse.wst.xsd.ui.refactor.rename.element">
452 </command>
453 <command
454 name="%command.xsd.refactor.makeElementGlobal.element.name"
455 description="%command.xsd.refactor.makeElementGlobal.element.description"
456 categoryId="org.eclipse.ui.category.edit"
457 id="org.eclipse.wst.xsd.ui.refactor.makeElementGlobal">
458 </command>
459 <command
460 name="%command.xsd.refactor.makeTypeGlobal.element.name"
461 description="%command.xsd.refactor.makeTypeGlobal.element.description"
462 categoryId="org.eclipse.ui.category.edit"
463 id="org.eclipse.wst.xsd.ui.refactor.makeTypeGlobal">
464 </command>
465 <command
466 name="%command.xsd.refactor.renameTargetNamespace.name"
467 description="%command.xsd.refactor.renameTargetNamespace.description"
468 categoryId="org.eclipse.ui.category.edit"
469 id="org.eclipse.wst.xsd.ui.refactor.renameTargetNamespace">
470 </command>
kchong33330712007-01-29 21:05:46 +0000471 </extension>
csalterd5a99d42004-11-24 21:13:42 +0000472</plugin>