ndai | 87d3387 | 2004-10-13 15:56:56 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
| 3 | <plugin |
| 4 | id="org.eclipse.wst.xml.ui" |
| 5 | name="%SSE_XML_Source_Editor.name" |
| 6 | version="1.0.0" |
| 7 | provider-name="Eclipse.org" |
| 8 | class="org.eclipse.wst.xml.ui.XMLEditorPlugin"> |
| 9 | |
| 10 | <runtime> |
| 11 | <library name="xmleditor.jar"> |
| 12 | <export name="*"/> |
| 13 | </library> |
| 14 | </runtime> |
| 15 | <requires> |
| 16 | <import plugin="org.eclipse.core.runtime.compatibility"/> |
| 17 | <import plugin="org.eclipse.ui.ide"/> |
| 18 | <import plugin="org.eclipse.ui.views"/> |
| 19 | <import plugin="org.eclipse.jface.text"/> |
| 20 | <import plugin="org.eclipse.ui.workbench.texteditor"/> |
| 21 | <import plugin="org.eclipse.ui.editors"/> |
| 22 | <import plugin="org.eclipse.wst.sse.ui"/> |
| 23 | <import plugin="org.eclipse.wst.dtd.ui"/> |
| 24 | <import plugin="org.eclipse.wst.xml.core"/> |
| 25 | <import plugin="org.eclipse.wst.sse.core"/> |
| 26 | <import plugin="org.eclipse.ui"/> |
| 27 | <import plugin="org.eclipse.wst.contentmodel"/> |
| 28 | <import plugin="org.eclipse.wst.uriresolver"/> |
| 29 | <import plugin="org.eclipse.wst.ui"/> |
| 30 | <import plugin="org.eclipse.wst.xml.uriresolver"/> |
| 31 | <import plugin="org.eclipse.core.resources"/> |
| 32 | <import plugin="org.eclipse.core.runtime"/> |
| 33 | <import plugin="org.eclipse.wst.encoding"/> |
| 34 | </requires> |
| 35 | |
| 36 | |
| 37 | <extension |
| 38 | point="org.eclipse.ui.editors"> |
| 39 | <editor |
| 40 | name="%XML_Source_Page_Editor.name" |
| 41 | icon="icons/sourceEditor.gif" |
| 42 | extensions="xml, tld, nst, xmi, dadx" |
| 43 | contributorClass="org.eclipse.wst.xml.ui.ui.actions.ActionContributorXML" |
| 44 | class="org.eclipse.wst.xml.ui.StructuredTextEditorXML" |
| 45 | symbolicFontName="org.eclipse.wst.sse.ui.textfont" |
| 46 | id="org.eclipse.wst.xml.ui.StructuredTextEditorXML"> |
| 47 | </editor> |
| 48 | </extension> |
| 49 | <extension |
| 50 | point="org.eclipse.wst.sse.ui.extendedconfiguration"> |
| 51 | <textviewerconfiguration |
| 52 | class="org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML" |
| 53 | target="org.eclipse.wst.xml.core.xmlsource"> |
| 54 | </textviewerconfiguration> |
| 55 | <contentoutlineconfiguration |
| 56 | class="org.eclipse.wst.xml.ui.views.contentoutline.XMLContentOutlineConfiguration" |
| 57 | target="org.eclipse.wst.xml.core.xmlsource"> |
| 58 | </contentoutlineconfiguration> |
| 59 | <propertysheetconfiguration |
| 60 | class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration" |
| 61 | target="org.eclipse.wst.xml.core.xmlsource"> |
| 62 | </propertysheetconfiguration> |
| 63 | <spellchecktarget |
| 64 | class="org.eclipse.wst.xml.ui.XMLSpellCheckTarget" |
| 65 | target="org.eclipse.wst.xml.core.xmlsource"> |
| 66 | </spellchecktarget> |
| 67 | <sourceeditingtexttools |
| 68 | class="org.eclipse.wst.xml.ui.extensions.XMLSourceEditingTextTools" |
| 69 | target="org.eclipse.wst.xml.core.xmlsource"> |
| 70 | </sourceeditingtexttools> |
| 71 | <characterpairmatcher |
| 72 | class="org.eclipse.wst.xml.ui.ui.text.XMLDocumentRegionEdgeMatcher" |
| 73 | target="org.eclipse.wst.xml.core.xmlsource"> |
| 74 | </characterpairmatcher> |
| 75 | <preferencepages |
| 76 | preferenceids="org.eclipse.wst.sse.ui.preferences/org.eclipse.wst.sse.ui.preferences.xml" |
| 77 | target="org.eclipse.wst.xml.core.xmlsource"> |
| 78 | </preferencepages> |
| 79 | </extension> |
| 80 | <extension |
| 81 | point="org.eclipse.wst.sse.ui.adapterFactoryDescription"> |
| 82 | <adapterFactoryDescription |
| 83 | class="org.eclipse.wst.xml.ui.registry.AdapterFactoryProviderForXML"> |
| 84 | </adapterFactoryDescription> |
| 85 | </extension> |
| 86 | <extension |
| 87 | point="org.eclipse.wst.sse.ui.embeddedAdapterFactoryProvider"> |
| 88 | <embeddedAdapterFactoryProvider |
| 89 | class="org.eclipse.wst.xml.ui.registry.AdapterFactoryProviderForEmbeddedXML"> |
| 90 | </embeddedAdapterFactoryProvider> |
| 91 | </extension> |
| 92 | <extension |
| 93 | point="org.eclipse.ui.preferencePages"> |
| 94 | <!-- XML PREFERENCE PAGES --> |
| 95 | <page |
| 96 | name="%XML_Files.name" |
| 97 | category="org.eclipse.wst.sse.ui.preferences" |
| 98 | class="org.eclipse.wst.xml.ui.preferences.ui.XMLFilesPreferencePage" |
| 99 | id="org.eclipse.wst.sse.ui.preferences.xml"> |
| 100 | </page> |
| 101 | <page |
| 102 | name="%XML_Source.name" |
| 103 | category="org.eclipse.wst.sse.ui.preferences.xml" |
| 104 | class="org.eclipse.wst.xml.ui.preferences.ui.XMLSourcePreferencePage" |
| 105 | id="org.eclipse.wst.sse.ui.preferences.xml.source"> |
| 106 | </page> |
| 107 | <page |
| 108 | name="%XML_Templates.name" |
| 109 | category="org.eclipse.wst.sse.ui.preferences.xml" |
| 110 | class="org.eclipse.wst.xml.ui.preferences.ui.XMLTemplatePreferencePage" |
| 111 | id="org.eclipse.wst.sse.ui.preferences.xml.templates"> |
| 112 | </page> |
| 113 | <page |
| 114 | name="%XML_Styles.name" |
| 115 | category="org.eclipse.wst.sse.ui.preferences.xml" |
| 116 | class="org.eclipse.wst.xml.ui.preferences.ui.XMLColorPage" |
| 117 | id="org.eclipse.wst.sse.ui.preferences.xml.colors"> |
| 118 | </page> |
| 119 | </extension> |
| 120 | <!-- Editor actionsets --> |
| 121 | <extension |
| 122 | point="org.eclipse.ui.actionSetPartAssociations"> |
| 123 | <actionSetPartAssociation |
| 124 | targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation"> |
| 125 | <part |
| 126 | id="org.eclipse.wst.xml.ui.StructuredTextEditorXML"> |
| 127 | </part> |
| 128 | </actionSetPartAssociation> |
| 129 | <actionSetPartAssociation |
| 130 | targetID="org.eclipse.ui.NavigateActionSet"> |
| 131 | <part |
| 132 | id="org.eclipse.wst.xml.ui.StructuredTextEditorXML"> |
| 133 | </part> |
| 134 | </actionSetPartAssociation> |
| 135 | </extension> |
| 136 | <extension |
| 137 | point="org.eclipse.ui.perspectiveExtensions"> |
| 138 | <!-- added to enable "Navigator > Show In" for various views... --> |
| 139 | <perspectiveExtension |
| 140 | targetID="org.eclipse.wst.xml.XMLPerspective"> |
| 141 | <showInPart |
| 142 | id="org.eclipse.ui.views.ResourceNavigator"> |
| 143 | </showInPart> |
| 144 | <!-- add the "navigate" action set (Navigate > Open Resource...) --> |
| 145 | <actionSet |
| 146 | id="org.eclipse.ui.NavigateActionSet"> |
| 147 | </actionSet> |
| 148 | </perspectiveExtension> |
| 149 | </extension> |
| 150 | <!-- add a default open on action for xml content type --> |
| 151 | <extension |
| 152 | point="org.eclipse.wst.sse.ui.extensions.openon"> |
| 153 | <openon |
| 154 | class="org.eclipse.wst.xml.ui.openon.DefaultOpenOnXML" |
| 155 | id="org.eclipse.wst.xml.ui.openon.DefaultOpenOnXML"> |
| 156 | <contenttypeidentifier |
| 157 | id="org.eclipse.wst.xml.core.xmlsource"> |
| 158 | </contenttypeidentifier> |
| 159 | </openon> |
| 160 | </extension> |
| 161 | <!-- Templates --> |
| 162 | <extension |
| 163 | point="org.eclipse.ui.editors.templates"> |
| 164 | <contextType |
| 165 | name="All XML context type" |
| 166 | class="org.eclipse.wst.xml.ui.templates.TemplateContextTypeXML" |
| 167 | id="xml_all"> |
| 168 | </contextType> |
| 169 | <contextType |
| 170 | name="XML Tag context type" |
| 171 | class="org.eclipse.wst.xml.ui.templates.TemplateContextTypeXMLTag" |
| 172 | id="xml_tag"> |
| 173 | </contextType> |
| 174 | <contextType |
| 175 | name="XML Attribute context type" |
| 176 | class="org.eclipse.wst.xml.ui.templates.TemplateContextTypeXMLAttribute" |
| 177 | id="xml_attribute"> |
| 178 | </contextType> |
| 179 | <contextType |
| 180 | name="XML Attribute value context type" |
| 181 | class="org.eclipse.wst.xml.ui.templates.TemplateContextTypeXMLAttributeValue" |
| 182 | id="xml_attribute_value"> |
| 183 | </contextType> |
| 184 | <include |
| 185 | file="templates/xmldefault-templates.xml" |
| 186 | translations="templates/xmldefault-templates.properties"> |
| 187 | </include> |
| 188 | </extension> |
| 189 | </plugin> |