Bugs item #1236682
[phpeclipse.git] / net.sourceforge.phpeclipse.xml.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse.xml.ui"
5    name="%pluginName"
6    version="1.1.6"
7    provider-name="%providerName"
8    class="net.sourceforge.phpeclipse.xml.ui.XMLPlugin">
9
10    <runtime>
11       <library name="xmlui.jar">
12          <export name="*"/>
13       </library>
14    </runtime>
15    <requires>
16       <import plugin="net.sourceforge.phpeclipse.core"/>
17       <import plugin="net.sourceforge.phpeclipse.xml.core"/>
18       <import plugin="net.sourceforge.phpeclipse.ui"/>
19       <import plugin="org.eclipse.compare"/>
20       <import plugin="org.eclipse.core.filebuffers"/>
21       <import plugin="org.eclipse.core.resources"/>
22       <import plugin="org.eclipse.core.runtime"/>
23       <import plugin="org.eclipse.jface.text"/>
24       <import plugin="org.eclipse.osgi"/>
25       <import plugin="org.eclipse.ui"/>
26       <import plugin="org.eclipse.ui.editors"/>
27       <import plugin="org.eclipse.ui.ide"/>
28       <import plugin="org.eclipse.ui.views"/>
29       <import plugin="org.eclipse.ui.workbench.texteditor"/>
30    </requires>
31
32    <extension
33          point="org.eclipse.core.runtime.preferences">
34       <initializer class="net.sourceforge.phpeclipse.xml.ui.internal.preferences.XMLPreferenceInitializer"/>
35    </extension>
36    <extension
37          point="org.eclipse.ui.preferencePages">
38       <page
39             name="%xmlEditorPreferencePageName"
40             category="net.sourceforge.phpeclipse.ui.preferencePage"
41             class="net.sourceforge.phpeclipse.xml.ui.internal.preferences.XMLSyntaxPreferencePage"
42             id="net.sourceforge.phpeclipse.xml.ui.preferences.XMLSyntaxPreferencePage">
43       </page>
44    </extension>
45    <extension
46          point="org.eclipse.core.filebuffers.documentSetup">
47       <participant
48             extensions="xml,xsd"
49             class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentSetupParticipant">
50       </participant>
51    </extension>
52    <extension
53          point="org.eclipse.ui.editors.documentProviders">
54       <provider
55             extensions="dtd"
56             class="net.sourceforge.phpeclipse.xml.ui.internal.text.DTDDocumentProvider"
57             id="net.sourceforge.phpeclipse.xml.ui.internal.text.DTDDocumentProvider">
58       </provider>
59       <provider
60             extensions="xml,xsd"
61             class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentProvider"
62             id="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentProvider">
63       </provider>
64    </extension>
65    <extension
66          point="org.eclipse.ui.editors">
67       <editor
68             name="%dtdEditorName"
69             icon="icons/basic/obj16/xml.png"
70             extensions="dtd"
71             contributorClass="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditorActionContributor"
72             class="net.sourceforge.phpeclipse.xml.ui.internal.editor.DTDEditor"
73             id="net.sourceforge.phpeclipse.xml.ui.internal.editor.DTDEditor">
74       </editor>
75       <editor
76             name="%xmlEditorName"
77             icon="icons/basic/obj16/xml.png"
78             extensions="xml,xsd"
79             contributorClass="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditorActionContributor"
80             class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditor"
81             id="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditor">
82       </editor>
83    </extension>
84    <extension
85          point="org.eclipse.compare.contentMergeViewers">
86       <viewer
87             extensions="dtd"
88             class="net.sourceforge.phpeclipse.xml.ui.internal.compare.DTDMergeViewerCreator"
89             id="net.sourceforge.phpeclipse.xml.ui.internal.compare.DTDMergeViewerCreator">
90       </viewer>
91       <viewer
92             extensions="xml,xsd"
93             class="net.sourceforge.phpeclipse.xml.ui.internal.compare.XMLMergeViewerCreator"
94             id="net.sourceforge.phpeclipse.xml.ui.internal.compare.XMLMergeViewerCreator">
95       </viewer>
96    </extension>
97    <extension
98          point="org.eclipse.team.core.fileTypes">
99       <fileTypes
100             type="text"
101             extension="dtd">
102       </fileTypes>
103       <fileTypes
104             type="text"
105             extension="xml">
106       </fileTypes>
107       <fileTypes
108             type="text"
109             extension="xsd">
110       </fileTypes>
111    </extension>
112
113 </plugin>