*** empty log message ***
[phpeclipse.git] / net.sourceforge.phpeclipse.xml.ui / plugin.xml
diff --git a/net.sourceforge.phpeclipse.xml.ui/plugin.xml b/net.sourceforge.phpeclipse.xml.ui/plugin.xml
new file mode 100644 (file)
index 0000000..2e8c52e
--- /dev/null
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin
+   id="net.sourceforge.phpeclipse.xml.ui"
+   name="%pluginName"
+   version="0.0.1"
+   provider-name="%providerName"
+   class="net.sourceforge.phpeclipse.xml.ui.XMLPlugin">
+
+   <runtime>
+      <library name="xmlui.jar">
+         <export name="*"/>
+      </library>
+   </runtime>
+   <requires>
+      <import plugin="net.sourceforge.phpeclipse.core"/>
+      <import plugin="net.sourceforge.phpeclipse.xml.core"/>
+      <import plugin="net.sourceforge.phpeclipse.ui"/>
+      <import plugin="org.eclipse.compare"/>
+      <import plugin="org.eclipse.core.filebuffers"/>
+      <import plugin="org.eclipse.core.resources"/>
+      <import plugin="org.eclipse.core.runtime"/>
+      <import plugin="org.eclipse.jface.text"/>
+      <import plugin="org.eclipse.osgi"/>
+      <import plugin="org.eclipse.ui"/>
+      <import plugin="org.eclipse.ui.editors"/>
+      <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.ui.views"/>
+      <import plugin="org.eclipse.ui.workbench.texteditor"/>
+   </requires>
+
+
+   <extension
+         point="org.eclipse.core.runtime.preferences">
+      <initializer class="net.sourceforge.phpeclipse.xml.ui.internal.preferences.XMLPreferenceInitializer"/>
+   </extension>
+   <extension
+         point="org.eclipse.ui.preferencePages">
+      <page
+            name="%xmlEditorPreferencePageName"
+            category="net.sourceforge.phpeclipse.ui.preferencePage"
+            class="net.sourceforge.phpeclipse.xml.ui.internal.preferences.XMLSyntaxPreferencePage"
+            id="net.sourceforge.phpeclipse.xml.ui.preferences.XMLSyntaxPreferencePage">
+      </page>
+   </extension>
+   <extension
+         point="org.eclipse.core.filebuffers.documentSetup">
+      <participant
+            extensions="xml,xsd"
+            class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentSetupParticipant">
+      </participant>
+   </extension>
+   <extension
+         point="org.eclipse.ui.editors.documentProviders">
+      <provider
+            extensions="dtd"
+            class="net.sourceforge.phpeclipse.xml.ui.internal.text.DTDDocumentProvider"
+            id="net.sourceforge.phpeclipse.xml.ui.internal.text.DTDDocumentProvider">
+      </provider>
+      <provider
+            extensions="xml,xsd"
+            class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentProvider"
+            id="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentProvider">
+      </provider>
+   </extension>
+   <extension
+         point="org.eclipse.ui.editors">
+      <editor
+            name="%dtdEditorName"
+            icon="icons/basic/obj16/xml.png"
+            extensions="dtd"
+            contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
+            class="net.sourceforge.phpeclipse.xml.ui.internal.editor.DTDEditor"
+            id="net.sourceforge.phpeclipse.xml.ui.internal.editor.DTDEditor">
+      </editor>
+      <editor
+            name="%xmlEditorName"
+            icon="icons/basic/obj16/xml.png"
+            extensions="xml,xsd"
+            contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor"
+            class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditor"
+            id="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditor">
+      </editor>
+   </extension>
+   <extension
+         point="org.eclipse.compare.contentMergeViewers">
+      <viewer
+            extensions="dtd"
+            class="net.sourceforge.phpeclipse.xml.ui.internal.compare.DTDMergeViewerCreator"
+            id="net.sourceforge.phpeclipse.xml.ui.internal.compare.DTDMergeViewerCreator">
+      </viewer>
+      <viewer
+            extensions="xml,xsd"
+            class="net.sourceforge.phpeclipse.xml.ui.internal.compare.XMLMergeViewerCreator"
+            id="net.sourceforge.phpeclipse.xml.ui.internal.compare.XMLMergeViewerCreator">
+      </viewer>
+   </extension>
+   <extension
+         point="org.eclipse.team.core.fileTypes">
+      <fileTypes
+            type="text"
+            extension="dtd">
+      </fileTypes>
+      <fileTypes
+            type="text"
+            extension="xml">
+      </fileTypes>
+      <fileTypes
+            type="text"
+            extension="xsd">
+      </fileTypes>
+   </extension>
+
+</plugin>