blob: 1b87ef9f4e08bbe87121873ab89e9d31093f4827 [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"
nitind17ea6182008-01-31 02:51:11 +000050 category="org.eclipse.wst.xml.ui.preferences.xml"
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">
56 <provisionalDefinition
nitindc570b4e2005-01-18 23:40:06 +000057 type="preferencepages"
nitindc9c4f6e2005-01-26 05:42:56 +000058 value="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage"
kchonge270a122007-09-11 20:55:57 +000059 target="org.eclipse.wst.xsd.core.xsdsource" />
kchongbc475442006-05-01 21:08:25 +000060 <sourceViewerConfiguration
61 class="org.eclipse.wst.xsd.ui.internal.editor.StructuredTextViewerConfigurationXSD"
kchong64de6da2005-10-31 23:26:52 +000062 target="org.eclipse.wst.xsd.core.xsdsource" />
kchongbc475442006-05-01 21:08:25 +000063 </extension>
csalterb71d7c42005-04-28 00:07:20 +000064
david_williamsad0e4cc2005-06-04 01:49:19 +000065 <!-- ==================================================== -->
66 <!-- Support help on the tags -->
67 <!-- ==================================================== -->
68 <!-- <extension
69 point="org.eclipse.wst.xml.core.internal.contentmodel.annotationFiles">
70 <annotationFile
71 location="/w3c/schemaForCodeAssist-annotations.xml"
72 publicId="http://www.w3.org/2001/XMLSchema">
73 </annotationFile>
74 </extension>
75 -->
kchong38cbf172006-03-29 03:38:21 +000076
77
78 <extension
79 point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
80 <propertyContributor
kchong2be71b32006-04-11 16:32:03 +000081 contributorId="org.eclipse.wst.xsd.ui.internal.editor"
82 labelProvider="org.eclipse.wst.xsd.ui.internal.common.properties.providers.XSDSectionLabelProvider">
kchong38cbf172006-03-29 03:38:21 +000083 <propertyCategory category="General"/>
84 <propertyCategory category="Documentation"/>
85 <propertyCategory category="Advanced"/>
86 </propertyContributor>
87 </extension>
88
89 <extension
90 point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
91 <propertyTabs
kchong2be71b32006-04-11 16:32:03 +000092 contributorId="org.eclipse.wst.xsd.ui.internal.editor">
david_williamsad0e4cc2005-06-04 01:49:19 +000093 <propertyTab
94 label="%_UI_LABEL_GENERAL"
kchong38cbf172006-03-29 03:38:21 +000095 category="General"
96 id="property.tab.general">
david_williamsad0e4cc2005-06-04 01:49:19 +000097 </propertyTab>
98 <propertyTab
kchong38cbf172006-03-29 03:38:21 +000099 label="%_UI_LABEL_TYPE_CONSTRAINTS"
100 category="General"
101 afterTab="property.tab.general"
102 id="property.tab.typeconstraints">
david_williamsad0e4cc2005-06-04 01:49:19 +0000103 </propertyTab>
104 <propertyTab
105 label="%_UI_LABEL_ENUMERATIONS"
kchong38cbf172006-03-29 03:38:21 +0000106 category="General"
107 afterTab="property.tab.general"
108 id="property.tab.enumerations">
david_williamsad0e4cc2005-06-04 01:49:19 +0000109 </propertyTab>
110 <propertyTab
kchong2c45fdf2006-09-07 10:53:10 +0000111 label="%_UI_LABEL_ADVANCED"
112 category="Advanced"
113 afterTab="property.tab.general"
114 id="property.tab.advanced">
115 </propertyTab>
116 <propertyTab
david_williamsad0e4cc2005-06-04 01:49:19 +0000117 label="%_UI_LABEL_DOCUMENTATION"
kchong38cbf172006-03-29 03:38:21 +0000118 category="Documentation"
119 afterTab="property.tab.general"
120 id="property.tab.documentation">
david_williamsad0e4cc2005-06-04 01:49:19 +0000121 </propertyTab>
122 <propertyTab
kchong38cbf172006-03-29 03:38:21 +0000123 label="%_UI_LABEL_EXTENSIONS"
124 category="Documentation"
125 afterTab="property.tab.general"
126 id="property.tab.extensions">
david_williamsad0e4cc2005-06-04 01:49:19 +0000127 </propertyTab>
kchong38cbf172006-03-29 03:38:21 +0000128 </propertyTabs>
129 </extension>
csalterb71d7c42005-04-28 00:07:20 +0000130
david_williamsad0e4cc2005-06-04 01:49:19 +0000131
kchong38cbf172006-03-29 03:38:21 +0000132<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
kchong2be71b32006-04-11 16:32:03 +0000133 <propertySections contributorId="org.eclipse.wst.xsd.ui.internal.editor">
kchong38cbf172006-03-29 03:38:21 +0000134 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000135 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDSchemaSection"
kchong38cbf172006-03-29 03:38:21 +0000136 id="prop.section.XSDSchemaSection">
137 <input type="org.eclipse.xsd.XSDSchema">
138 </input>
139 </propertySection>
140 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000141 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.SchemaLocationSection"
kchong38cbf172006-03-29 03:38:21 +0000142 id="prop.section.SchemaLocationSection">
143 <input type="org.eclipse.xsd.XSDSchemaCompositor">
144 </input>
145 </propertySection>
146 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000147 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDComplexTypeSection"
kchong38cbf172006-03-29 03:38:21 +0000148 id="prop.section.XSDComplexTypeSection">
149 <input type="org.eclipse.xsd.XSDComplexTypeDefinition">
150 </input>
151 </propertySection>
kchong2c45fdf2006-09-07 10:53:10 +0000152 <propertySection tab="property.tab.advanced"
153 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDComplexTypeAdvancedSection"
154 id="prop.section.XSDComplexTypeAdvancedSection">
155 <input type="org.eclipse.xsd.XSDComplexTypeDefinition">
156 </input>
157 </propertySection>
kchong38cbf172006-03-29 03:38:21 +0000158 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000159 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDElementDeclarationSection"
kchong38cbf172006-03-29 03:38:21 +0000160 id="prop.section.XSDElementDeclarationSection">
161 <input type="org.eclipse.xsd.XSDElementDeclaration">
162 </input>
kchong1401c492006-12-11 18:53:05 +0000163 </propertySection>
164 <propertySection tab="property.tab.advanced"
165 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDElementDeclarationAdvancedSection"
166 id="prop.section.XSDElementDeclarationAdvancedSection">
167 <input type="org.eclipse.xsd.XSDElementDeclaration">
168 </input>
kchong2c45fdf2006-09-07 10:53:10 +0000169 </propertySection>
kchong38cbf172006-03-29 03:38:21 +0000170 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000171 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAttributeDeclarationSection"
kchong38cbf172006-03-29 03:38:21 +0000172 id="prop.section.XSDAttributeDeclarationSection">
173 <input type="org.eclipse.xsd.XSDAttributeDeclaration">
174 </input>
175 </propertySection>
176 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000177 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAttributeGroupDefinitionSection"
kchong38cbf172006-03-29 03:38:21 +0000178 id="prop.section.XSDAttributeGroupDefinitionSection">
179 <input type="org.eclipse.xsd.XSDAttributeGroupDefinition">
180 </input>
181 </propertySection>
182 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000183 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDModelGroupSection"
kchong38cbf172006-03-29 03:38:21 +0000184 id="prop.section.XSDModelGroupSection">
185 <input type="org.eclipse.xsd.XSDModelGroup">
186 </input>
187 </propertySection>
188 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000189 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDModelGroupDefinitionSection"
kchong38cbf172006-03-29 03:38:21 +0000190 id="prop.section.XSDModelGroupDefinitionSection">
191 <input type="org.eclipse.xsd.XSDModelGroupDefinition">
192 </input>
193 </propertySection>
194 <propertySection tab="property.tab.general"
kchong2be71b32006-04-11 16:32:03 +0000195 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDSimpleTypeSection"
kchong38cbf172006-03-29 03:38:21 +0000196 id="prop.section.XSDSimpleTypeSection">
197 <input type="org.eclipse.xsd.XSDSimpleTypeDefinition">
198 </input>
199 </propertySection>
200 <propertySection tab="property.tab.typeconstraints"
kchong2be71b32006-04-11 16:32:03 +0000201 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDFacetSection"
202 filter="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDFacetSectionFilter"
kchong38cbf172006-03-29 03:38:21 +0000203 id="prop.section.XSDFacetSection">
204 <input type="org.eclipse.xsd.XSDConcreteComponent">
205 </input>
206 </propertySection>
207 <propertySection tab="property.tab.documentation"
kchong2be71b32006-04-11 16:32:03 +0000208 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.AnnotationSection"
kchong38cbf172006-03-29 03:38:21 +0000209 id="prop.section.AnnotationSection">
210 <input type="org.eclipse.xsd.XSDConcreteComponent">
211 </input>
212 </propertySection>
213 <propertySection tab="property.tab.extensions"
kchong2be71b32006-04-11 16:32:03 +0000214 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.ExtensionsSection"
kchong38cbf172006-03-29 03:38:21 +0000215 id="prop.section.ExtensionsSection">
216 <input type="org.eclipse.xsd.XSDConcreteComponent">
217 </input>
218 </propertySection>
kchong5722d342006-04-24 19:06:33 +0000219 <propertySection tab="property.tab.general"
220 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAnyElementContentsSection"
221 id="prop.section.general">
222 <input type="org.eclipse.xsd.XSDWildcard">
223 </input>
224 </propertySection>
kchong66011bb2006-05-01 18:55:19 +0000225 <propertySection tab="property.tab.general"
226 class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDImportSection"
227 id="prop.section.general">
228 <input type="org.eclipse.xsd.XSDImport">
229 </input>
230 </propertySection>
kchong38cbf172006-03-29 03:38:21 +0000231 </propertySections>
232</extension>
233
csaltered3ad2f2006-05-24 06:20:11 +0000234 <!-- this extension point is deprecated, use extensionCategories -->
235 <extension-point id="ExtensionsSchemasDescription" name="%ExtensionsSchemasDescription"/>
236 <extension-point id="extensionCategories" name="%ExtensionCategoriesDescription"/>
kchongcf01a7c2006-05-26 18:33:23 +0000237
238 <!-- this extension point is deprecated, use internalEditorConfiguration -->
kchongdd22d382006-04-18 14:59:07 +0000239 <extension-point id="XSDEditorExtensionConfiguration" name="%XSDEditorExtensionConfiguration"/>
kchongcf01a7c2006-05-26 18:33:23 +0000240 <extension-point id="internalEditorConfiguration" name="%InternalEditorConfiguration"/>
csalterdf29c4e2006-05-16 21:43:16 +0000241
242 <extension-point id="extensibilityNodeCustomizations" name="%ExtensionNodeCustomizationsDescription"/>
csalter92b38ec2006-07-24 17:23:45 +0000243 <extension-point id="editorModes" name="%XMLSchemaEditorModes"/>
david_williamsad0e4cc2005-06-04 01:49:19 +0000244
245 <!-- intialize xsd reconcile validator -->
246 <extension point="org.eclipse.wst.sse.ui.sourcevalidation">
247 <validator
248 scope="total"
249 class="org.eclipse.wst.xsd.ui.internal.validation.DelegatingSourceValidatorForXSD"
250 id="org.eclipse.wst.xsd.ui.internal.validation.DelegatingSourceValidatorForXSD">
251 <contentTypeIdentifier
csalterf5b8d012005-06-29 17:38:22 +0000252 id="org.eclipse.wst.xsd.core.xsdsource">
david_williamsad0e4cc2005-06-04 01:49:19 +0000253 <partitionType id="org.eclipse.wst.xml.XML_DEFAULT">
254 </partitionType>
255 </contentTypeIdentifier>
256 </validator>
257 </extension>
258
259 <extension point="org.eclipse.ui.contexts">
260 <context
261 id="org.eclipse.wst.xsd.ui.text.editor.context"
262 name="%context.text.editor.xsd.name"
263 parentId="org.eclipse.ui.textEditorScope" />
264 </extension>
265
david_williamsad0e4cc2005-06-04 01:49:19 +0000266 <!-- this extension point is used to augment the ModelQuery to provide schema specific guided editing -->
267 <extension point="org.eclipse.wst.xml.core.modelQueryExtensions">
csalter771f5152005-05-16 04:27:36 +0000268 <modelQueryExtension
269 class="org.eclipse.wst.xsd.ui.internal.text.XSDModelQueryExtension"
csalterf5b8d012005-06-29 17:38:22 +0000270 contentType="org.eclipse.wst.xsd.core.xsdsource">
csalter771f5152005-05-16 04:27:36 +0000271 </modelQueryExtension>
272 </extension>
csalterb6801bb2005-02-17 19:45:41 +0000273
csalterce820002006-01-10 07:53:46 +0000274 <!-- ============================================================================== -->
275 <!-- Register the XSDSearchParticpant against for XMLComponentSearchPatterns -->
276 <!-- ============================================================================== -->
277 <extension
278 point="org.eclipse.wst.common.core.searchParticipants">
279 <searchParticipant
280 id="org.eclipse.wst.xsd.search.XSDSearchParticipant"
281 class="org.eclipse.wst.xsd.ui.internal.search.XSDSearchParticipant">
282 <enablement>
283 <or>
284 <with variable="pattern">
285 <instanceof value="org.eclipse.wst.xml.core.internal.search.XMLComponentSearchPattern"/>
286 </with>
287 </or>
288 </enablement>
csalterce820002006-01-10 07:53:46 +0000289 </searchParticipant>
kchong38cbf172006-03-29 03:38:21 +0000290 </extension>
291
csalterce820002006-01-10 07:53:46 +0000292 <!-- ============================================================================== -->
293 <!-- Register a 'rename' participant this enables us to provide refactoring for -->
294 <!-- renamed XML Schema components (e.g. elements, types etc.) -->
295 <!-- ============================================================================== -->
296 <extension
297 point="org.eclipse.ltk.core.refactoring.renameParticipants">
298 <renameParticipant
299 name="%xsd.resource.rename.participant.name"
300 class="org.eclipse.wst.xsd.ui.internal.refactor.rename.XSDComponentRenameParticipant"
301 id="org.eclipse.wst.xsd.refactoring.XSDComponentRenameParticipant">
302 <enablement>
303 <with variable="element">
304 <instanceof
305 value="org.eclipse.xsd.XSDNamedComponent">
306 </instanceof>
307 </with>
308 </enablement>
309 </renameParticipant>
310
311 </extension>
312
csalterce820002006-01-10 07:53:46 +0000313 <!-- ============================================================================== -->
314 <!-- Register a 'rename' participant this enables us to provide refactoring for -->
315 <!-- renamed resources. -->
316 <!-- ============================================================================== -->
kchong38cbf172006-03-29 03:38:21 +0000317<!--
csalterce820002006-01-10 07:53:46 +0000318 <extension
319 point="org.eclipse.ltk.core.refactoring.renameParticipants">
320 <renameParticipant
321 name="%xsd.resource.rename.participant.name"
322 class="org.eclipse.wst.xsd.ui.internal.refactor.rename.ResourceRenameParticipant"
323 id="org.eclipse.wst.xsd.refactoring.XSDResourceRenameParticipant">
324 <enablement>
325 <with variable="element">
326 <instanceof value="org.eclipse.core.resources.IResource"/>
327 </with>
328 </enablement>
329 </renameParticipant>
330 </extension>
kchong38cbf172006-03-29 03:38:21 +0000331 -->
332 <!-- ============================================================================================== -->
333 <!-- Register the 'Refactor', 'References' and 'Declarations' items to the design view -->
334 <!-- ============================================================================================== -->
csalterce820002006-01-10 07:53:46 +0000335 <extension point="org.eclipse.ui.popupMenus">
336 <objectContribution
337 id="org.eclipse.wst.xsd.ui.refactoring.menu.objectContrib"
kchong2be71b32006-04-11 16:32:03 +0000338 objectClass="org.eclipse.wst.xsd.ui.internal.adapters.XSDBaseAdapter">
csalter265cc0c2006-08-15 21:12:30 +0000339 <!--
340 cs : declaration search isn't fully implemented yet, removing this menu action for now
csalter7864d3c2006-01-23 04:54:10 +0000341 <action
342 id="org.eclipse.wst.xsd.ui.search.declarations.action"
343 enablesFor="1"
344 style="pulldown"
345 menubarPath="search-slot"
kchong38cbf172006-03-29 03:38:21 +0000346 label="%search.declarations.label"
csalter7864d3c2006-01-23 04:54:10 +0000347 class="org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchDeclarationsGroupActionDelegate">
348 </action>
csalter265cc0c2006-08-15 21:12:30 +0000349 -->
csalter7864d3c2006-01-23 04:54:10 +0000350 <action
351 id="org.eclipse.wst.xsd.ui.search.references.action"
352 enablesFor="1"
353 style="pulldown"
354 menubarPath="search-slot"
kchong38cbf172006-03-29 03:38:21 +0000355 label="%search.references.label"
csalter7864d3c2006-01-23 04:54:10 +0000356 class="org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchReferencesGroupActionDelegate">
357 </action>
csalterce820002006-01-10 07:53:46 +0000358 <action
359 id="org.eclipse.wst.xsd.ui.refactoring.menu.refactorGroup.object"
360 enablesFor="1"
361 style="pulldown"
csalter7864d3c2006-01-23 04:54:10 +0000362 menubarPath="refactoring-slot"
kchong38cbf172006-03-29 03:38:21 +0000363 label="%refactoringActionSet.label"
csalterce820002006-01-10 07:53:46 +0000364 class="org.eclipse.wst.xsd.ui.internal.refactor.actions.XSDRefactorGroupActionDelegate">
kchong38cbf172006-03-29 03:38:21 +0000365 </action>
csalter7864d3c2006-01-23 04:54:10 +0000366 </objectContribution>
kchong38cbf172006-03-29 03:38:21 +0000367 <!-- here we add the 'refactor' menu item to the source view -->
368 <viewerContribution
csalterce820002006-01-10 07:53:46 +0000369 id="org.eclipse.wst.xsd.ui.refactoring.menu.source"
370 targetID="org.eclipse.wst.xsd.core.xsdsource.source.EditorContext">
371 <action id="org.eclipse.wst.xsd.ui.refactoring.menu.refactorGroup.source"
372 style="pulldown"
373 menubarPath="additions"
374 label="%refactoring.menu.label"
375 class="org.eclipse.wst.xsd.ui.internal.refactor.actions.XSDRefactorGroupActionDelegate">
376 </action>
kchong33330712007-01-29 21:05:46 +0000377 </viewerContribution>
378 <viewerContribution
379 targetID="org.eclipse.wst.xsd.core.xsdsource.source.RulerContext"
380 id="org.eclipse.wst.xsd.ui.ruler.context.actions">
381 <action
382 label="%AddTask.label"
383 helpContextId="org.eclipse.ui.AddTask_action_context"
384 class="org.eclipse.ui.texteditor.TaskRulerAction"
385 tooltip="%AddTask.tooltip"
386 menubarPath="additions"
387 id="org.eclipse.ui.texteditor.TaskRulerAction">
388 </action>
389 <action
390 label="%AddBookmark.label"
391 helpContextId="org.eclipse.ui.bookmark_action_context"
392 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
393 tooltip="%AddBookmark.tooltip"
394 menubarPath="additions"
395 id="org.eclipse.ui.texteditor.BookmarkRulerAction">
396 </action>
397 </viewerContribution>
398
csalterce820002006-01-10 07:53:46 +0000399 </extension>
kchong38cbf172006-03-29 03:38:21 +0000400
401
402 <!--
403 The following extension to the file context menu is temporary until resource
404 navigator will provide allow to extend refactor menu
405 -->
406
407 <!--extension point="org.eclipse.ui.popupMenus">
408 <objectContribution
409 objectClass="org.eclipse.core.resources.IFile"
410 nameFilter="*.xsd"
411 id="org.wst.xsd.ui.rename">
412 <menu id="refactorXSDResource" path="additions" label="%refactoring.menu.label">
413 <separator name="refactor"/>
414 </menu>
415 <action
416 label="%refactoring.renameAction.label"
417 menubarPath="refactorXSDResource/refactor"
418 class="org.eclipse.wst.xsd.ui.internal.refactor.actions.RenameResourceActionDelegate"
419 enablesFor="1"
420 id="org.eclipse.wst.xsd.ui.refactoring.actions.RenameResource">
421 </action>
422 </objectContribution>
423 </extension-->
csalterce820002006-01-10 07:53:46 +0000424
425 <extension point="org.eclipse.ui.commands">
426 <command
427 name="%command.xsd.refactor.rename.element.name"
428 description="%command.xsd.refactor.rename.element.description"
429 categoryId="org.eclipse.ui.category.edit"
430 id="org.eclipse.wst.xsd.ui.refactor.rename.element">
431 </command>
432 <command
433 name="%command.xsd.refactor.makeElementGlobal.element.name"
434 description="%command.xsd.refactor.makeElementGlobal.element.description"
435 categoryId="org.eclipse.ui.category.edit"
436 id="org.eclipse.wst.xsd.ui.refactor.makeElementGlobal">
437 </command>
438 <command
439 name="%command.xsd.refactor.makeTypeGlobal.element.name"
440 description="%command.xsd.refactor.makeTypeGlobal.element.description"
441 categoryId="org.eclipse.ui.category.edit"
442 id="org.eclipse.wst.xsd.ui.refactor.makeTypeGlobal">
443 </command>
444 <command
445 name="%command.xsd.refactor.renameTargetNamespace.name"
446 description="%command.xsd.refactor.renameTargetNamespace.description"
447 categoryId="org.eclipse.ui.category.edit"
448 id="org.eclipse.wst.xsd.ui.refactor.renameTargetNamespace">
449 </command>
kchongf6eb6e12007-03-28 23:02:03 +0000450 </extension>
451 <extension
452 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets">
453 <target
454 id="org.eclipse.wst.xsd.core.xsdsource"
455 name="%XSD_Source_target_name">
456 </target>
457 </extension>
458 <extension
459 point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
460 <hyperlinkDetector
461 class="org.eclipse.wst.xsd.ui.internal.editor.XSDHyperlinkDetector"
462 id="org.eclipse.wst.xsd.ui.internal.editor.XSDHyperlinkDetector"
463 name="%XSD_hyperlink"
464 targetId="org.eclipse.wst.xsd.core.xsdsource">
465 </hyperlinkDetector>
466 </extension>
csalterd5a99d42004-11-24 21:13:42 +0000467</plugin>