csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
| 3 | <plugin |
| 4 | id="org.eclipse.wst.xsd.ui" |
| 5 | name="%_UI_PLUGIN_NAME" |
| 6 | version="1.0.0" |
| 7 | provider-name="Eclipse.org" |
| 8 | class="org.eclipse.wst.xsd.ui.internal.XSDEditorPlugin"> |
| 9 | |
| 10 | <runtime> |
| 11 | <library name="xsdeditor.jar"> |
| 12 | <export name="*"/> |
| 13 | </library> |
| 14 | </runtime> |
| 15 | <requires> |
| 16 | <import plugin="org.eclipse.core.runtime.compatibility"/> |
| 17 | |
| 18 | <import plugin="org.eclipse.wst.xml.uriresolver"/> |
| 19 | <import plugin="org.eclipse.wst.sse.ui"/> |
| 20 | <import plugin="org.eclipse.wst.sse.core"/> |
| 21 | <import plugin="org.eclipse.wst.xml.core"/> |
| 22 | <import plugin="org.eclipse.wst.xml.ui"/> |
| 23 | <import plugin="org.eclipse.wst.common.contentmodel"/> |
| 24 | <import plugin="org.eclipse.wst.common.ui"/> |
| 25 | |
| 26 | <import plugin="org.eclipse.jface.text"/> |
| 27 | <import plugin="org.eclipse.xsd"/> |
| 28 | <import plugin="org.eclipse.gef"/> |
| 29 | <import plugin="org.eclipse.jface"/> |
| 30 | <import plugin="org.eclipse.ui.editors"/> |
| 31 | <import plugin="org.eclipse.ui.workbench.texteditor"/> |
| 32 | <import plugin="org.eclipse.ui"/> |
| 33 | <import plugin="org.eclipse.ui.views"/> |
| 34 | <import plugin="org.eclipse.ui.ide"/> |
| 35 | <import plugin="org.eclipse.core.resources"/> |
| 36 | <import plugin="org.eclipse.wst.common.ui.properties"/> |
| 37 | <import plugin="org.eclipse.xsd.edit"/> |
| 38 | <import plugin="org.eclipse.emf.edit"/> |
| 39 | <import plugin="org.eclipse.emf.edit.ui"/> |
| 40 | </requires> |
| 41 | |
| 42 | |
| 43 | <extension |
| 44 | point="org.eclipse.ui.editors"> |
| 45 | <editor |
| 46 | name="%_UI_EDITOR_NAME" |
| 47 | default="true" |
| 48 | icon="icons/XSDFile.gif" |
| 49 | extensions="xsd" |
| 50 | contributorClass="org.eclipse.wst.xsd.ui.internal.XSDActionBarContributor" |
| 51 | class="org.eclipse.wst.xsd.ui.internal.XSDEditor" |
| 52 | id="org.eclipse.wst.xsd.ui.XSDEditor"> |
| 53 | </editor> |
| 54 | </extension> |
| 55 | <!-- drop targets for XSDTextEditor--> |
| 56 | <extension |
| 57 | point="org.eclipse.wst.sse.ui.dropTargetTransfers"> |
| 58 | <dropTargetContribution |
| 59 | targetID="org.eclipse.wst.xsd.ui.internal.XSDTextEditor" |
| 60 | id="org.eclipse.wst.xsd.ui.ExtendedTransfers"> |
| 61 | <transfer |
| 62 | priority="mid" |
| 63 | singleton="true" |
| 64 | class="org.eclipse.swt.dnd.FileTransfer" |
| 65 | method="getInstance" |
| 66 | id="org.eclipse.swt.dnd.FileTransfer"> |
| 67 | </transfer> |
| 68 | <dropAction |
| 69 | class="org.eclipse.wst.sse.ui.extension.FileDropAction" |
| 70 | transferID="org.eclipse.swt.dnd.FileTransfer" |
| 71 | id="org.eclipse.wst.sse.ui.extension.FileDropAction"> |
| 72 | </dropAction> |
| 73 | <transfer |
| 74 | priority="low" |
| 75 | singleton="true" |
| 76 | class="org.eclipse.swt.dnd.TextTransfer" |
| 77 | method="getInstance" |
| 78 | id="org.eclipse.swt.dnd.TextTransfer"> |
| 79 | </transfer> |
| 80 | <dropAction |
| 81 | class="org.eclipse.wst.sse.ui.extension.TextDropAction" |
| 82 | transferID="org.eclipse.swt.dnd.TextTransfer" |
| 83 | id="corg.eclipse.wst.sse.ui.extension.TextDropAction"> |
| 84 | </dropAction> |
| 85 | </dropTargetContribution> |
| 86 | </extension> |
| 87 | |
| 88 | <extension point="org.eclipse.ui.newWizards"> |
| 89 | <wizard id = "org.eclipse.wst.xsd.ui.internal.wizards.NewXSDWizard" |
| 90 | name = "%_UI_WIZARD_NEW_XSD" |
| 91 | class = "org.eclipse.wst.xsd.ui.internal.wizards.NewXSDWizard" |
| 92 | category = "org.eclipse.wst.XMLCategory" |
| 93 | icon = "icons/XSDFile.gif"> |
| 94 | <description>%_UI_CREATE_A_NEW_SCHEMA</description> |
| 95 | <selection class = "org.eclipse.core.resources.IResource" /> |
| 96 | </wizard> |
| 97 | </extension> |
| 98 | |
| 99 | <extension point="org.eclipse.ui.preferencePages"> |
| 100 | <page |
| 101 | name="%_UI_XML_SCHEMA_PREFERENCE" |
| 102 | category="org.eclipse.wst.sse.ui.preferences" |
| 103 | class="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage" |
| 104 | id="org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage"> |
| 105 | </page> |
| 106 | </extension> |
| 107 | <extension |
| 108 | point="org.eclipse.wst.sse.ui.extendedconfiguration"> |
| 109 | <preferencepages |
| 110 | preferenceids="org.eclipse.wst.sse.ui.preferences/org.eclipse.wst.xsd.ui.internal.preferences.XSDPreferencePage" |
| 111 | target="org.eclipse.wst.xsd.ui.internal.XSDEditor.source" /> |
| 112 | </extension> |
| 113 | |
| 114 | <!-- ==================================================== --> |
| 115 | <!-- Support help on the tags --> |
| 116 | <!-- ==================================================== --> |
| 117 | <!-- <extension |
| 118 | point="org.eclipse.wst.common.contentmodel.annotationFiles"> |
| 119 | <annotationFile |
| 120 | location="/w3c/schemaForCodeAssist-annotations.xml" |
| 121 | publicId="http://www.w3.org/2001/XMLSchema"> |
| 122 | </annotationFile> |
| 123 | </extension> |
| 124 | --> |
| 125 | <extension |
| 126 | point="org.eclipse.wst.common.ui.properties.propertyContributor"> |
| 127 | <propertyContributor |
| 128 | contributorId="org.eclipse.wst.xsd.ui.internal.XSDEditor" |
| 129 | sectionDescriptorProvider="org.eclipse.wst.xsd.ui.internal.properties.section.XSDSectionDescriptorProvider" |
| 130 | labelProvider="org.eclipse.wst.xsd.ui.internal.properties.section.XSDSectionLabelProvider"> |
| 131 | <propertyCategory |
| 132 | category="general"> |
| 133 | </propertyCategory> |
| 134 | <propertyCategory |
| 135 | category="namespace"> |
| 136 | </propertyCategory> |
| 137 | <propertyCategory |
| 138 | category="other"> |
| 139 | </propertyCategory> |
| 140 | <propertyCategory |
| 141 | category="attributes"> |
| 142 | </propertyCategory> |
| 143 | <propertyCategory |
| 144 | category="enumerations"> |
| 145 | </propertyCategory> |
| 146 | <propertyCategory |
| 147 | category="documentation"> |
| 148 | </propertyCategory> |
| 149 | <propertyCategory |
| 150 | category="facets"> |
| 151 | </propertyCategory> |
| 152 | </propertyContributor> |
| 153 | </extension> |
| 154 | <extension |
| 155 | point="org.eclipse.wst.common.ui.properties.propertyTabs"> |
| 156 | <propertyTabs |
| 157 | contributorId="org.eclipse.wst.xsd.ui.internal.XSDEditor"> |
| 158 | <propertyTab |
| 159 | label="%_UI_LABEL_GENERAL" |
| 160 | category="general" |
| 161 | id="com.ibm.xmlwebservices.general"> |
| 162 | </propertyTab> |
| 163 | <propertyTab |
| 164 | label="%_UI_LABEL_NAMESPACE" |
| 165 | category="namespace" |
| 166 | afterTab="com.ibm.xmlwebservices.general" |
| 167 | id="com.ibm.xmlwebservices.namespace"> |
| 168 | </propertyTab> |
| 169 | <propertyTab |
| 170 | label="%_UI_LABEL_OTHER" |
| 171 | category="other" |
| 172 | id="com.ibm.xmlwebservices.other"> |
| 173 | </propertyTab> |
| 174 | <propertyTab |
| 175 | label="%_UI_LABEL_ATTRIBUTES" |
| 176 | category="attributes" |
| 177 | id="com.ibm.xmlwebservices.attributes"> |
| 178 | </propertyTab> |
| 179 | <propertyTab |
| 180 | label="%_UI_LABEL_ENUMERATIONS" |
| 181 | category="enumerations" |
| 182 | id="com.ibm.xmlwebservices.enumerations"> |
| 183 | </propertyTab> |
| 184 | <propertyTab |
| 185 | label="%_UI_LABEL_DOCUMENTATION" |
| 186 | category="documentation" |
| 187 | id="com.ibm.xmlwebservices.documentation"> |
| 188 | </propertyTab> |
| 189 | <propertyTab |
| 190 | label="%_UI_SECTION_ADVANCED_ATTRIBUTES" |
| 191 | category="facets" |
| 192 | id="com.ibm.xmlwebservices.facets"> |
| 193 | </propertyTab> |
| 194 | </propertyTabs> |
| 195 | </extension> |
| 196 | |
david_williams | 6afcaef | 2004-12-20 03:46:21 +0000 | [diff] [blame^] | 197 | <!-- |
csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 198 | <extension point="org.eclipse.wst.xml.uriresolver.catalogContributor"> |
| 199 | <catalogContributor catalogId="default"> |
| 200 | <mappingInfo key="http://www.w3.org/2001/XMLSchema" uri="w3c/XMLSchema.xsd"/> |
| 201 | </catalogContributor> |
david_williams | 6afcaef | 2004-12-20 03:46:21 +0000 | [diff] [blame^] | 202 | </extension> |
| 203 | --> |
csalter | d5a99d4 | 2004-11-24 21:13:42 +0000 | [diff] [blame] | 204 | |
| 205 | </plugin> |