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" |
nitind | 17ea618 | 2008-01-31 02:51:11 +0000 | [diff] [blame] | 50 | category="org.eclipse.wst.xml.ui.preferences.xml" |
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"> |
| 56 | <provisionalDefinition |
nitind | c570b4e | 2005-01-18 23:40:06 +0000 | [diff] [blame] | 57 | type="preferencepages" |
nitind | c9c4f6e | 2005-01-26 05:42:56 +0000 | [diff] [blame] | 58 | value="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage" |
kchong | e270a12 | 2007-09-11 20:55:57 +0000 | [diff] [blame] | 59 | target="org.eclipse.wst.xsd.core.xsdsource" /> |
kchong | bc47544 | 2006-05-01 21:08:25 +0000 | [diff] [blame] | 60 | <sourceViewerConfiguration |
| 61 | class="org.eclipse.wst.xsd.ui.internal.editor.StructuredTextViewerConfigurationXSD" |
kchong | 64de6da | 2005-10-31 23:26:52 +0000 | [diff] [blame] | 62 | target="org.eclipse.wst.xsd.core.xsdsource" /> |
kchong | bc47544 | 2006-05-01 21:08:25 +0000 | [diff] [blame] | 63 | </extension> |
csalter | b71d7c4 | 2005-04-28 00:07:20 +0000 | [diff] [blame] | 64 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 65 | <!-- ==================================================== --> |
| 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 | --> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 76 | |
| 77 | |
| 78 | <extension |
| 79 | point="org.eclipse.ui.views.properties.tabbed.propertyContributor"> |
| 80 | <propertyContributor |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 81 | contributorId="org.eclipse.wst.xsd.ui.internal.editor" |
| 82 | labelProvider="org.eclipse.wst.xsd.ui.internal.common.properties.providers.XSDSectionLabelProvider"> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 83 | <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 |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 92 | contributorId="org.eclipse.wst.xsd.ui.internal.editor"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 93 | <propertyTab |
| 94 | label="%_UI_LABEL_GENERAL" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 95 | category="General" |
| 96 | id="property.tab.general"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 97 | </propertyTab> |
| 98 | <propertyTab |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 99 | label="%_UI_LABEL_TYPE_CONSTRAINTS" |
| 100 | category="General" |
| 101 | afterTab="property.tab.general" |
| 102 | id="property.tab.typeconstraints"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 103 | </propertyTab> |
| 104 | <propertyTab |
| 105 | label="%_UI_LABEL_ENUMERATIONS" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 106 | category="General" |
| 107 | afterTab="property.tab.general" |
| 108 | id="property.tab.enumerations"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 109 | </propertyTab> |
| 110 | <propertyTab |
kchong | 2c45fdf | 2006-09-07 10:53:10 +0000 | [diff] [blame] | 111 | label="%_UI_LABEL_ADVANCED" |
| 112 | category="Advanced" |
| 113 | afterTab="property.tab.general" |
| 114 | id="property.tab.advanced"> |
| 115 | </propertyTab> |
| 116 | <propertyTab |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 117 | label="%_UI_LABEL_DOCUMENTATION" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 118 | category="Documentation" |
| 119 | afterTab="property.tab.general" |
| 120 | id="property.tab.documentation"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 121 | </propertyTab> |
| 122 | <propertyTab |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 123 | label="%_UI_LABEL_EXTENSIONS" |
| 124 | category="Documentation" |
| 125 | afterTab="property.tab.general" |
| 126 | id="property.tab.extensions"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 127 | </propertyTab> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 128 | </propertyTabs> |
| 129 | </extension> |
csalter | b71d7c4 | 2005-04-28 00:07:20 +0000 | [diff] [blame] | 130 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 131 | |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 132 | <extension point="org.eclipse.ui.views.properties.tabbed.propertySections"> |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 133 | <propertySections contributorId="org.eclipse.wst.xsd.ui.internal.editor"> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 134 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 135 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDSchemaSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 136 | id="prop.section.XSDSchemaSection"> |
| 137 | <input type="org.eclipse.xsd.XSDSchema"> |
| 138 | </input> |
| 139 | </propertySection> |
| 140 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 141 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.SchemaLocationSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 142 | id="prop.section.SchemaLocationSection"> |
| 143 | <input type="org.eclipse.xsd.XSDSchemaCompositor"> |
| 144 | </input> |
| 145 | </propertySection> |
| 146 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 147 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDComplexTypeSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 148 | id="prop.section.XSDComplexTypeSection"> |
| 149 | <input type="org.eclipse.xsd.XSDComplexTypeDefinition"> |
| 150 | </input> |
| 151 | </propertySection> |
kchong | 2c45fdf | 2006-09-07 10:53:10 +0000 | [diff] [blame] | 152 | <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> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 158 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 159 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDElementDeclarationSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 160 | id="prop.section.XSDElementDeclarationSection"> |
| 161 | <input type="org.eclipse.xsd.XSDElementDeclaration"> |
| 162 | </input> |
kchong | 1401c49 | 2006-12-11 18:53:05 +0000 | [diff] [blame] | 163 | </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> |
kchong | 2c45fdf | 2006-09-07 10:53:10 +0000 | [diff] [blame] | 169 | </propertySection> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 170 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 171 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAttributeDeclarationSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 172 | id="prop.section.XSDAttributeDeclarationSection"> |
| 173 | <input type="org.eclipse.xsd.XSDAttributeDeclaration"> |
| 174 | </input> |
| 175 | </propertySection> |
| 176 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 177 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDAttributeGroupDefinitionSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 178 | id="prop.section.XSDAttributeGroupDefinitionSection"> |
| 179 | <input type="org.eclipse.xsd.XSDAttributeGroupDefinition"> |
| 180 | </input> |
| 181 | </propertySection> |
| 182 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 183 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDModelGroupSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 184 | id="prop.section.XSDModelGroupSection"> |
| 185 | <input type="org.eclipse.xsd.XSDModelGroup"> |
| 186 | </input> |
| 187 | </propertySection> |
| 188 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 189 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDModelGroupDefinitionSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 190 | id="prop.section.XSDModelGroupDefinitionSection"> |
| 191 | <input type="org.eclipse.xsd.XSDModelGroupDefinition"> |
| 192 | </input> |
| 193 | </propertySection> |
| 194 | <propertySection tab="property.tab.general" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 195 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDSimpleTypeSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 196 | id="prop.section.XSDSimpleTypeSection"> |
| 197 | <input type="org.eclipse.xsd.XSDSimpleTypeDefinition"> |
| 198 | </input> |
| 199 | </propertySection> |
| 200 | <propertySection tab="property.tab.typeconstraints" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 201 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDFacetSection" |
| 202 | filter="org.eclipse.wst.xsd.ui.internal.common.properties.sections.XSDFacetSectionFilter" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 203 | id="prop.section.XSDFacetSection"> |
| 204 | <input type="org.eclipse.xsd.XSDConcreteComponent"> |
| 205 | </input> |
| 206 | </propertySection> |
| 207 | <propertySection tab="property.tab.documentation" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 208 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.AnnotationSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 209 | id="prop.section.AnnotationSection"> |
| 210 | <input type="org.eclipse.xsd.XSDConcreteComponent"> |
| 211 | </input> |
| 212 | </propertySection> |
| 213 | <propertySection tab="property.tab.extensions" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 214 | class="org.eclipse.wst.xsd.ui.internal.common.properties.sections.ExtensionsSection" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 215 | id="prop.section.ExtensionsSection"> |
| 216 | <input type="org.eclipse.xsd.XSDConcreteComponent"> |
| 217 | </input> |
| 218 | </propertySection> |
kchong | 5722d34 | 2006-04-24 19:06:33 +0000 | [diff] [blame] | 219 | <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> |
kchong | 66011bb | 2006-05-01 18:55:19 +0000 | [diff] [blame] | 225 | <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> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 231 | </propertySections> |
| 232 | </extension> |
| 233 | |
csalter | ed3ad2f | 2006-05-24 06:20:11 +0000 | [diff] [blame] | 234 | <!-- this extension point is deprecated, use extensionCategories --> |
| 235 | <extension-point id="ExtensionsSchemasDescription" name="%ExtensionsSchemasDescription"/> |
| 236 | <extension-point id="extensionCategories" name="%ExtensionCategoriesDescription"/> |
kchong | cf01a7c | 2006-05-26 18:33:23 +0000 | [diff] [blame] | 237 | |
| 238 | <!-- this extension point is deprecated, use internalEditorConfiguration --> |
kchong | dd22d38 | 2006-04-18 14:59:07 +0000 | [diff] [blame] | 239 | <extension-point id="XSDEditorExtensionConfiguration" name="%XSDEditorExtensionConfiguration"/> |
kchong | cf01a7c | 2006-05-26 18:33:23 +0000 | [diff] [blame] | 240 | <extension-point id="internalEditorConfiguration" name="%InternalEditorConfiguration"/> |
csalter | df29c4e | 2006-05-16 21:43:16 +0000 | [diff] [blame] | 241 | |
| 242 | <extension-point id="extensibilityNodeCustomizations" name="%ExtensionNodeCustomizationsDescription"/> |
csalter | 92b38ec | 2006-07-24 17:23:45 +0000 | [diff] [blame] | 243 | <extension-point id="editorModes" name="%XMLSchemaEditorModes"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 244 | |
| 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 |
csalter | f5b8d01 | 2005-06-29 17:38:22 +0000 | [diff] [blame] | 252 | id="org.eclipse.wst.xsd.core.xsdsource"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 253 | <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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 266 | <!-- this extension point is used to augment the ModelQuery to provide schema specific guided editing --> |
| 267 | <extension point="org.eclipse.wst.xml.core.modelQueryExtensions"> |
csalter | 771f515 | 2005-05-16 04:27:36 +0000 | [diff] [blame] | 268 | <modelQueryExtension |
| 269 | class="org.eclipse.wst.xsd.ui.internal.text.XSDModelQueryExtension" |
csalter | f5b8d01 | 2005-06-29 17:38:22 +0000 | [diff] [blame] | 270 | contentType="org.eclipse.wst.xsd.core.xsdsource"> |
csalter | 771f515 | 2005-05-16 04:27:36 +0000 | [diff] [blame] | 271 | </modelQueryExtension> |
| 272 | </extension> |
csalter | b6801bb | 2005-02-17 19:45:41 +0000 | [diff] [blame] | 273 | |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 274 | <!-- ============================================================================== --> |
| 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> |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 289 | </searchParticipant> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 290 | </extension> |
| 291 | |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 292 | <!-- ============================================================================== --> |
| 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 | |
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 resources. --> |
| 316 | <!-- ============================================================================== --> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 317 | <!-- |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 318 | <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> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 331 | --> |
| 332 | <!-- ============================================================================================== --> |
| 333 | <!-- Register the 'Refactor', 'References' and 'Declarations' items to the design view --> |
| 334 | <!-- ============================================================================================== --> |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 335 | <extension point="org.eclipse.ui.popupMenus"> |
| 336 | <objectContribution |
| 337 | id="org.eclipse.wst.xsd.ui.refactoring.menu.objectContrib" |
kchong | 2be71b3 | 2006-04-11 16:32:03 +0000 | [diff] [blame] | 338 | objectClass="org.eclipse.wst.xsd.ui.internal.adapters.XSDBaseAdapter"> |
csalter | 265cc0c | 2006-08-15 21:12:30 +0000 | [diff] [blame] | 339 | <!-- |
| 340 | 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] | 341 | <action |
| 342 | id="org.eclipse.wst.xsd.ui.search.declarations.action" |
| 343 | enablesFor="1" |
| 344 | style="pulldown" |
| 345 | menubarPath="search-slot" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 346 | label="%search.declarations.label" |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 347 | class="org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchDeclarationsGroupActionDelegate"> |
| 348 | </action> |
csalter | 265cc0c | 2006-08-15 21:12:30 +0000 | [diff] [blame] | 349 | --> |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 350 | <action |
| 351 | id="org.eclipse.wst.xsd.ui.search.references.action" |
| 352 | enablesFor="1" |
| 353 | style="pulldown" |
| 354 | menubarPath="search-slot" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 355 | label="%search.references.label" |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 356 | class="org.eclipse.wst.xsd.ui.internal.search.actions.XSDSearchReferencesGroupActionDelegate"> |
| 357 | </action> |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 358 | <action |
| 359 | id="org.eclipse.wst.xsd.ui.refactoring.menu.refactorGroup.object" |
| 360 | enablesFor="1" |
| 361 | style="pulldown" |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 362 | menubarPath="refactoring-slot" |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 363 | label="%refactoringActionSet.label" |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 364 | class="org.eclipse.wst.xsd.ui.internal.refactor.actions.XSDRefactorGroupActionDelegate"> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 365 | </action> |
csalter | 7864d3c | 2006-01-23 04:54:10 +0000 | [diff] [blame] | 366 | </objectContribution> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 367 | <!-- here we add the 'refactor' menu item to the source view --> |
| 368 | <viewerContribution |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 369 | 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> |
kchong | 3333071 | 2007-01-29 21:05:46 +0000 | [diff] [blame] | 377 | </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 | |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 399 | </extension> |
kchong | 38cbf17 | 2006-03-29 03:38:21 +0000 | [diff] [blame] | 400 | |
| 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--> |
csalter | ce82000 | 2006-01-10 07:53:46 +0000 | [diff] [blame] | 424 | |
| 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> |
kchong | f6eb6e1 | 2007-03-28 23:02:03 +0000 | [diff] [blame] | 450 | </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> |
csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 467 | </plugin> |