csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
jeffliu | 38477e8 | 2005-05-30 00:52:19 +0000 | [diff] [blame] | 3 | <plugin> |
csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 4 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 5 | <extension point="org.eclipse.ui.editors"> |
| 6 | <editor |
| 7 | name="%_UI_EDITOR_NAME" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 8 | icon="icons/XSDFile.gif" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 9 | 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"> |
kchong | 42caa15 | 2006-04-03 23:05:36 +0000 | [diff] [blame] | 12 | <contentTypeBinding |
david_williams | 9bb691f | 2005-07-08 18:01:22 +0000 | [diff] [blame] | 13 | contentTypeId="org.eclipse.wst.xsd.core.xsdsource" /> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 14 | </editor> |
| 15 | </extension> |
csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 16 | |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 17 | <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 |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 22 | label="%AddBookmark.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 23 | 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 |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 28 | label="%SelectRuler.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 29 | class="org.eclipse.ui.texteditor.SelectRulerAction" |
| 30 | actionID="RulerClick" |
| 31 | id="org.eclipse.ui.texteditor.SelectRulerAction"/> |
| 32 | </editorContribution> |
| 33 | </extension> |
| 34 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 35 | <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> |
csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 46 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 47 | <extension point="org.eclipse.ui.preferencePages"> |
| 48 | <page |
| 49 | name="%_UI_XML_SCHEMA_PREFERENCE" |
| 50 | category="org.eclipse.wst.sse.ui.internal.provisional.preferences" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 51 | class="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage" |
| 52 | id="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 53 | </page> |
| 54 | </extension> |
nitind | 40dcdbd | 2005-09-07 23:33:18 +0000 | [diff] [blame] | 55 | <extension point="org.eclipse.wst.sse.ui.editorConfiguration"> |
kchong | bc47544 | 2006-05-01 21:08:25 +0000 | [diff] [blame] | 56 | <!-- |
nitind | 40dcdbd | 2005-09-07 23:33:18 +0000 | [diff] [blame] | 57 | <provisionalDefinition |
nitind | c570b4e | 2005-01-18 23:40:06 +0000 | [diff] [blame] | 58 | type="preferencepages" |
nitind | c9c4f6e | 2005-01-26 05:42:56 +0000 | [diff] [blame] | 59 | value="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage" |
nitind | c570b4e | 2005-01-18 23:40:06 +0000 | [diff] [blame] | 60 | target="org.eclipse.wst.xsd.ui.internal.XSDEditor.source" /> |
kchong | bc47544 | 2006-05-01 21:08:25 +0000 | [diff] [blame] | 61 | --> |
| 62 | <sourceViewerConfiguration |
| 63 | class="org.eclipse.wst.xsd.ui.internal.editor.StructuredTextViewerConfigurationXSD" |
kchong | 64de6da | 2005-10-31 23:26:52 +0000 | [diff] [blame] | 64 | target="org.eclipse.wst.xsd.core.xsdsource" /> |
kchong | bc47544 | 2006-05-01 21:08:25 +0000 | [diff] [blame] | 65 | <!-- |
kchong | 64de6da | 2005-10-31 23:26:52 +0000 | [diff] [blame] | 66 | <contentOutlineConfiguration |
| 67 | class="org.eclipse.wst.xsd.ui.internal.XSDContentOutlineConfiguration" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 68 | target="org.eclipse.wst.xsd.core.xsdsource" /> |
kchong | bc47544 | 2006-05-01 21:08:25 +0000 | [diff] [blame] | 69 | --> |
| 70 | </extension> |
csalter | b71d7c4 | 2005-04-28 00:07:20 +0000 | [diff] [blame] | 71 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 72 | <!-- ==================================================== --> |
| 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 | --> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 83 | |
| 84 | |
| 85 | <extension |
| 86 | point="org.eclipse.ui.views.properties.tabbed.propertyContributor"> |
| 87 | <propertyContributor |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 88 | contributorId="org.eclipse.wst.xsd.ui.internal.editor" |
| 89 | labelProvider="org.eclipse.wst.xsd.ui.internal.common.properties.providers.XSDSectionLabelProvider"> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 90 | <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 |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 99 | contributorId="org.eclipse.wst.xsd.ui.internal.editor"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 100 | <propertyTab |
| 101 | label="%_UI_LABEL_GENERAL" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 102 | category="General" |
| 103 | id="property.tab.general"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 104 | </propertyTab> |
| 105 | <propertyTab |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 106 | label="%_UI_LABEL_TYPE_CONSTRAINTS" |
| 107 | category="General" |
| 108 | afterTab="property.tab.general" |
| 109 | id="property.tab.typeconstraints"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 110 | </propertyTab> |
| 111 | <propertyTab |
| 112 | label="%_UI_LABEL_ENUMERATIONS" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 113 | category="General" |
| 114 | afterTab="property.tab.general" |
| 115 | id="property.tab.enumerations"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 116 | </propertyTab> |
| 117 | <propertyTab |
kchong | 2c45fdf | 2006-09-07 10:53:10 +0000 | [diff] [blame] | 118 | label="%_UI_LABEL_ADVANCED" |
| 119 | category="Advanced" |
| 120 | afterTab="property.tab.general" |
| 121 | id="property.tab.advanced"> |
| 122 | </propertyTab> |
| 123 | <propertyTab |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 124 | label="%_UI_LABEL_DOCUMENTATION" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 125 | category="Documentation" |
| 126 | afterTab="property.tab.general" |
| 127 | id="property.tab.documentation"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 128 | </propertyTab> |
| 129 | <propertyTab |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 130 | label="%_UI_LABEL_EXTENSIONS" |
| 131 | category="Documentation" |
| 132 | afterTab="property.tab.general" |
| 133 | id="property.tab.extensions"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 134 | </propertyTab> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 135 | </propertyTabs> |
| 136 | </extension> |
csalter | b71d7c4 | 2005-04-28 00:07:20 +0000 | [diff] [blame] | 137 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 138 | |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 139 | <extension point="org.eclipse.ui.views.properties.tabbed.propertySections"> |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 140 | <propertySections contributorId="org.eclipse.wst.xsd.ui.internal.editor"> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 141 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 142 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDSchemaSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 143 | id="prop.section.XSDSchemaSection"> |
| 144 | <input type="org.eclipse.xsd.XSDSchema"> |
| 145 | </input> |
| 146 | </propertySection> |
| 147 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 148 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.SchemaLocationSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 149 | id="prop.section.SchemaLocationSection"> |
| 150 | <input type="org.eclipse.xsd.XSDSchemaCompositor"> |
| 151 | </input> |
| 152 | </propertySection> |
| 153 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 154 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDComplexTypeSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 155 | id="prop.section.XSDComplexTypeSection"> |
| 156 | <input type="org.eclipse.xsd.XSDComplexTypeDefinition"> |
| 157 | </input> |
| 158 | </propertySection> |
kchong | 2c45fdf | 2006-09-07 10:53:10 +0000 | [diff] [blame] | 159 | <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> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 165 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 166 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDElementDeclarationSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 167 | id="prop.section.XSDElementDeclarationSection"> |
| 168 | <input type="org.eclipse.xsd.XSDElementDeclaration"> |
| 169 | </input> |
kchong | 1401c49 | 2006-12-11 18:53:05 +0000 | [diff] [blame] | 170 | </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> |
kchong | 2c45fdf | 2006-09-07 10:53:10 +0000 | [diff] [blame] | 176 | </propertySection> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 177 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 178 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAttributeDeclarationSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 179 | id="prop.section.XSDAttributeDeclarationSection"> |
| 180 | <input type="org.eclipse.xsd.XSDAttributeDeclaration"> |
| 181 | </input> |
| 182 | </propertySection> |
| 183 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 184 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAttributeGroupDefinitionSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 185 | id="prop.section.XSDAttributeGroupDefinitionSection"> |
| 186 | <input type="org.eclipse.xsd.XSDAttributeGroupDefinition"> |
| 187 | </input> |
| 188 | </propertySection> |
| 189 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 190 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDModelGroupSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 191 | id="prop.section.XSDModelGroupSection"> |
| 192 | <input type="org.eclipse.xsd.XSDModelGroup"> |
| 193 | </input> |
| 194 | </propertySection> |
| 195 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 196 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDModelGroupDefinitionSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 197 | id="prop.section.XSDModelGroupDefinitionSection"> |
| 198 | <input type="org.eclipse.xsd.XSDModelGroupDefinition"> |
| 199 | </input> |
| 200 | </propertySection> |
| 201 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 202 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDSimpleTypeSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 203 | id="prop.section.XSDSimpleTypeSection"> |
| 204 | <input type="org.eclipse.xsd.XSDSimpleTypeDefinition"> |
| 205 | </input> |
| 206 | </propertySection> |
| 207 | <propertySection tab="property.tab.typeconstraints" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 208 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDFacetSection" |
| 209 | filter="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDFacetSectionFilter" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 210 | id="prop.section.XSDFacetSection"> |
| 211 | <input type="org.eclipse.xsd.XSDConcreteComponent"> |
| 212 | </input> |
| 213 | </propertySection> |
| 214 | <propertySection tab="property.tab.documentation" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 215 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.AnnotationSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 216 | id="prop.section.AnnotationSection"> |
| 217 | <input type="org.eclipse.xsd.XSDConcreteComponent"> |
| 218 | </input> |
| 219 | </propertySection> |
| 220 | <propertySection tab="property.tab.extensions" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 221 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.ExtensionsSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 222 | id="prop.section.ExtensionsSection"> |
| 223 | <input type="org.eclipse.xsd.XSDConcreteComponent"> |
| 224 | </input> |
| 225 | </propertySection> |
kchong | 5722d34 | 2006-04-24 19:06:33 +0000 | [diff] [blame] | 226 | <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> |
kchong | 66011bb | 2006-05-01 18:55:19 +0000 | [diff] [blame] | 232 | <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> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 238 | </propertySections> |
| 239 | </extension> |
| 240 | |
csalter | ed3ad2f | 2006-05-24 06:20:11 +0000 | [diff] [blame] | 241 | <!-- this extension point is deprecated, use extensionCategories --> |
| 242 | <extension-point id="ExtensionsSchemasDescription" name="%ExtensionsSchemasDescription"/> |
| 243 | <extension-point id="extensionCategories" name="%ExtensionCategoriesDescription"/> |
kchong | cf01a7c | 2006-05-26 18:33:23 +0000 | [diff] [blame] | 244 | |
| 245 | <!-- this extension point is deprecated, use internalEditorConfiguration --> |
kchong | dd22d38 | 2006-04-18 14:59:07 +0000 | [diff] [blame] | 246 | <extension-point id="XSDEditorExtensionConfiguration" name="%XSDEditorExtensionConfiguration"/> |
kchong | cf01a7c | 2006-05-26 18:33:23 +0000 | [diff] [blame] | 247 | <extension-point id="internalEditorConfiguration" name="%InternalEditorConfiguration"/> |
csalter | df29c4e | 2006-05-16 21:43:16 +0000 | [diff] [blame] | 248 | |
| 249 | <extension-point id="extensibilityNodeCustomizations" name="%ExtensionNodeCustomizationsDescription"/> |
csalter | 92b38ec | 2006-07-24 17:23:45 +0000 | [diff] [blame] | 250 | <extension-point id="editorModes" name="%XMLSchemaEditorModes"/> |
csalter | df29c4e | 2006-05-16 21:43:16 +0000 | [diff] [blame] | 251 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 252 | <extension |
csalter | 3d09c24 | 2005-06-17 17:50:36 +0000 | [diff] [blame] | 253 | point="org.eclipse.wst.xml.core.catalogContributions"> |
| 254 | <catalogContribution id="default"> |
csalter | 2c151f4 | 2005-07-20 07:55:46 +0000 | [diff] [blame] | 255 | |
csalter | 3d09c24 | 2005-06-17 17:50:36 +0000 | [diff] [blame] | 256 | <uri |
| 257 | name="http://www.w3.org/2001/XMLSchema" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 258 | uri="platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/XMLSchema.xsd" /> |
csalter | 2c151f4 | 2005-07-20 07:55:46 +0000 | [diff] [blame] | 259 | <system |
| 260 | systemId="http://www.w3.org/2001/xml.xsd" |
| 261 | uri="platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/xml.xsd"/> |
csalter | 3d09c24 | 2005-06-17 17:50:36 +0000 | [diff] [blame] | 262 | </catalogContribution> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 263 | </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 |
csalter | f5b8d01 | 2005-06-29 17:38:22 +0000 | [diff] [blame] | 273 | id="org.eclipse.wst.xsd.core.xsdsource"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 274 | <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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 287 | <!-- this extension point is used to augment the ModelQuery to provide schema specific guided editing --> |
| 288 | <extension point="org.eclipse.wst.xml.core.modelQueryExtensions"> |
csalter | 771f515 | 2005-05-16 04:27:36 +0000 | [diff] [blame] | 289 | <modelQueryExtension |
| 290 | class="org.eclipse.wst.xsd.ui.internal.text.XSDModelQueryExtension" |
csalter | f5b8d01 | 2005-06-29 17:38:22 +0000 | [diff] [blame] | 291 | contentType="org.eclipse.wst.xsd.core.xsdsource"> |
csalter | 771f515 | 2005-05-16 04:27:36 +0000 | [diff] [blame] | 292 | </modelQueryExtension> |
| 293 | </extension> |
csalter | b6801bb | 2005-02-17 19:45:41 +0000 | [diff] [blame] | 294 | |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 295 | <!-- ============================================================================== --> |
| 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> |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 310 | </searchParticipant> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 311 | </extension> |
| 312 | |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 313 | <!-- ============================================================================== --> |
| 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 | |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 334 | <!-- ============================================================================== --> |
| 335 | <!-- Register a 'rename' participant this enables us to provide refactoring for --> |
| 336 | <!-- renamed resources. --> |
| 337 | <!-- ============================================================================== --> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 338 | <!-- |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 339 | <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> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 352 | --> |
| 353 | <!-- ============================================================================================== --> |
| 354 | <!-- Register the 'Refactor', 'References' and 'Declarations' items to the design view --> |
| 355 | <!-- ============================================================================================== --> |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 356 | <extension point="org.eclipse.ui.popupMenus"> |
| 357 | <objectContribution |
| 358 | id="org.eclipse.wst.xsd.ui.refactoring.menu.objectContrib" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 359 | objectClass="org.eclipse.wst.xsd.ui.internal.adapters.XSDBaseAdapter"> |
csalter | 265cc0c | 2006-08-15 21:12:30 +0000 | [diff] [blame] | 360 | <!-- |
| 361 | cs : declaration search isn't fully implemented yet, removing this menu action for now |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 362 | <action |
| 363 | id="org.eclipse.wst.xsd.ui.search.declarations.action" |
| 364 | enablesFor="1" |
| 365 | style="pulldown" |
| 366 | menubarPath="search-slot" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 367 | label="%search.declarations.label" |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 368 | class="org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchDeclarationsGroupActionDelegate"> |
| 369 | </action> |
csalter | 265cc0c | 2006-08-15 21:12:30 +0000 | [diff] [blame] | 370 | --> |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 371 | <action |
| 372 | id="org.eclipse.wst.xsd.ui.search.references.action" |
| 373 | enablesFor="1" |
| 374 | style="pulldown" |
| 375 | menubarPath="search-slot" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 376 | label="%search.references.label" |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 377 | class="org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchReferencesGroupActionDelegate"> |
| 378 | </action> |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 379 | <action |
| 380 | id="org.eclipse.wst.xsd.ui.refactoring.menu.refactorGroup.object" |
| 381 | enablesFor="1" |
| 382 | style="pulldown" |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 383 | menubarPath="refactoring-slot" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 384 | label="%refactoringActionSet.label" |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 385 | class="org.eclipse.wst.xsd.ui.internal.refactor.actions.XSDRefactorGroupActionDelegate"> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 386 | </action> |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 387 | </objectContribution> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 388 | <!-- here we add the 'refactor' menu item to the source view --> |
| 389 | <viewerContribution |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 390 | 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> |
kchong | 3333071 | 2007-01-29 21:05:46 +0000 | [diff] [blame^] | 398 | </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 | |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 420 | </extension> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 421 | |
| 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--> |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 445 | |
| 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> |
kchong | 3333071 | 2007-01-29 21:05:46 +0000 | [diff] [blame^] | 471 | </extension> |
csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 472 | </plugin> |