blob: fd44285947b8bc58fe184e2de61ef13a3e29073a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
id="org.eclipse.wst.xml.ui"
name="%SSE_XML_Source_Editor.name"
version="1.0.0"
provider-name="Eclipse.org"
class="org.eclipse.wst.xml.ui.XMLEditorPlugin">
<runtime>
<library name="xmleditor.jar">
<export name="*"/>
</library>
</runtime>
<requires>
<import plugin="org.eclipse.core.runtime.compatibility"/>
<import plugin="org.eclipse.ui.ide"/>
<import plugin="org.eclipse.ui.views"/>
<import plugin="org.eclipse.jface.text"/>
<import plugin="org.eclipse.ui.workbench.texteditor"/>
<import plugin="org.eclipse.ui.editors"/>
<import plugin="org.eclipse.wst.sse.ui"/>
<import plugin="org.eclipse.wst.dtd.ui"/>
<import plugin="org.eclipse.wst.xml.core"/>
<import plugin="org.eclipse.wst.sse.core"/>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.wst.contentmodel"/>
<import plugin="org.eclipse.wst.uriresolver"/>
<import plugin="org.eclipse.wst.ui"/>
<import plugin="org.eclipse.wst.xml.uriresolver"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.wst.encoding"/>
</requires>
<extension
point="org.eclipse.ui.editors">
<editor
name="%XML_Source_Page_Editor.name"
icon="icons/sourceEditor.gif"
extensions="xml, tld, nst, xmi, dadx"
contributorClass="org.eclipse.wst.xml.ui.ui.actions.ActionContributorXML"
class="org.eclipse.wst.xml.ui.StructuredTextEditorXML"
symbolicFontName="org.eclipse.wst.sse.ui.textfont"
id="org.eclipse.wst.xml.ui.StructuredTextEditorXML">
</editor>
</extension>
<extension
point="org.eclipse.wst.sse.ui.extendedconfiguration">
<textviewerconfiguration
class="org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML"
target="org.eclipse.wst.xml.core.xmlsource">
</textviewerconfiguration>
<contentoutlineconfiguration
class="org.eclipse.wst.xml.ui.views.contentoutline.XMLContentOutlineConfiguration"
target="org.eclipse.wst.xml.core.xmlsource">
</contentoutlineconfiguration>
<propertysheetconfiguration
class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration"
target="org.eclipse.wst.xml.core.xmlsource">
</propertysheetconfiguration>
<spellchecktarget
class="org.eclipse.wst.xml.ui.XMLSpellCheckTarget"
target="org.eclipse.wst.xml.core.xmlsource">
</spellchecktarget>
<sourceeditingtexttools
class="org.eclipse.wst.xml.ui.extensions.XMLSourceEditingTextTools"
target="org.eclipse.wst.xml.core.xmlsource">
</sourceeditingtexttools>
<characterpairmatcher
class="org.eclipse.wst.xml.ui.ui.text.XMLDocumentRegionEdgeMatcher"
target="org.eclipse.wst.xml.core.xmlsource">
</characterpairmatcher>
<preferencepages
preferenceids="org.eclipse.wst.sse.ui.preferences/org.eclipse.wst.sse.ui.preferences.xml"
target="org.eclipse.wst.xml.core.xmlsource">
</preferencepages>
</extension>
<extension
point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
<adapterFactoryDescription
class="org.eclipse.wst.xml.ui.registry.AdapterFactoryProviderForXML">
</adapterFactoryDescription>
</extension>
<extension
point="org.eclipse.wst.sse.ui.embeddedAdapterFactoryProvider">
<embeddedAdapterFactoryProvider
class="org.eclipse.wst.xml.ui.registry.AdapterFactoryProviderForEmbeddedXML">
</embeddedAdapterFactoryProvider>
</extension>
<extension
point="org.eclipse.ui.preferencePages">
<!-- XML PREFERENCE PAGES -->
<page
name="%XML_Files.name"
category="org.eclipse.wst.sse.ui.preferences"
class="org.eclipse.wst.xml.ui.preferences.ui.XMLFilesPreferencePage"
id="org.eclipse.wst.sse.ui.preferences.xml">
</page>
<page
name="%XML_Source.name"
category="org.eclipse.wst.sse.ui.preferences.xml"
class="org.eclipse.wst.xml.ui.preferences.ui.XMLSourcePreferencePage"
id="org.eclipse.wst.sse.ui.preferences.xml.source">
</page>
<page
name="%XML_Templates.name"
category="org.eclipse.wst.sse.ui.preferences.xml"
class="org.eclipse.wst.xml.ui.preferences.ui.XMLTemplatePreferencePage"
id="org.eclipse.wst.sse.ui.preferences.xml.templates">
</page>
<page
name="%XML_Styles.name"
category="org.eclipse.wst.sse.ui.preferences.xml"
class="org.eclipse.wst.xml.ui.preferences.ui.XMLColorPage"
id="org.eclipse.wst.sse.ui.preferences.xml.colors">
</page>
</extension>
<!-- Editor actionsets -->
<extension
point="org.eclipse.ui.actionSetPartAssociations">
<actionSetPartAssociation
targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
<part
id="org.eclipse.wst.xml.ui.StructuredTextEditorXML">
</part>
</actionSetPartAssociation>
<actionSetPartAssociation
targetID="org.eclipse.ui.NavigateActionSet">
<part
id="org.eclipse.wst.xml.ui.StructuredTextEditorXML">
</part>
</actionSetPartAssociation>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<!-- added to enable "Navigator > Show In" for various views... -->
<perspectiveExtension
targetID="org.eclipse.wst.xml.XMLPerspective">
<showInPart
id="org.eclipse.ui.views.ResourceNavigator">
</showInPart>
<!-- add the "navigate" action set (Navigate > Open Resource...) -->
<actionSet
id="org.eclipse.ui.NavigateActionSet">
</actionSet>
</perspectiveExtension>
</extension>
<!-- add a default open on action for xml content type -->
<extension
point="org.eclipse.wst.sse.ui.extensions.openon">
<openon
class="org.eclipse.wst.xml.ui.openon.DefaultOpenOnXML"
id="org.eclipse.wst.xml.ui.openon.DefaultOpenOnXML">
<contenttypeidentifier
id="org.eclipse.wst.xml.core.xmlsource">
</contenttypeidentifier>
</openon>
</extension>
<!-- Templates -->
<extension
point="org.eclipse.ui.editors.templates">
<contextType
name="All XML context type"
class="org.eclipse.wst.xml.ui.templates.TemplateContextTypeXML"
id="xml_all">
</contextType>
<contextType
name="XML Tag context type"
class="org.eclipse.wst.xml.ui.templates.TemplateContextTypeXMLTag"
id="xml_tag">
</contextType>
<contextType
name="XML Attribute context type"
class="org.eclipse.wst.xml.ui.templates.TemplateContextTypeXMLAttribute"
id="xml_attribute">
</contextType>
<contextType
name="XML Attribute value context type"
class="org.eclipse.wst.xml.ui.templates.TemplateContextTypeXMLAttributeValue"
id="xml_attribute_value">
</contextType>
<include
file="templates/xmldefault-templates.xml"
translations="templates/xmldefault-templates.properties">
</include>
</extension>
</plugin>