Version 1.1.7
[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.2"
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
33    <extension
34          point="org.eclipse.core.runtime.preferences">
35       <initializer class="net.sourceforge.phpeclipse.xml.ui.internal.preferences.XMLPreferenceInitializer"/>
36    </extension>
37    <extension
38          point="org.eclipse.ui.preferencePages">
39       <page
40             name="%xmlEditorPreferencePageName"
41             category="net.sourceforge.phpeclipse.ui.preferencePage"
42             class="net.sourceforge.phpeclipse.xml.ui.internal.preferences.XMLSyntaxPreferencePage"
43             id="net.sourceforge.phpeclipse.xml.ui.preferences.XMLSyntaxPreferencePage">
44       </page>
45    </extension>
46    <extension
47          point="org.eclipse.core.filebuffers.documentSetup">
48       <participant
49             extensions="xml,xsd"
50             class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentSetupParticipant">
51       </participant>
52    </extension>
53    <extension
54          point="org.eclipse.ui.editors.documentProviders">
55       <provider
56             extensions="dtd"
57             class="net.sourceforge.phpeclipse.xml.ui.internal.text.DTDDocumentProvider"
58             id="net.sourceforge.phpeclipse.xml.ui.internal.text.DTDDocumentProvider">
59       </provider>
60       <provider
61             extensions="xml,xsd"
62             class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentProvider"
63             id="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLDocumentProvider">
64       </provider>
65    </extension>
66    <extension
67          point="org.eclipse.ui.editors">
68       <editor
69             name="%dtdEditorName"
70             icon="icons/basic/obj16/xml.png"
71             extensions="dtd"
72             contributorClass="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditorActionContributor"
73             class="net.sourceforge.phpeclipse.xml.ui.internal.editor.DTDEditor"
74             id="net.sourceforge.phpeclipse.xml.ui.internal.editor.DTDEditor">
75       </editor>
76       <editor
77             name="%xmlEditorName"
78             icon="icons/basic/obj16/xml.png"
79             extensions="xml,xsd"
80             contributorClass="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditorActionContributor"
81             class="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditor"
82             id="net.sourceforge.phpeclipse.xml.ui.internal.editor.XMLEditor">
83       </editor>
84    </extension>
85    <extension
86          point="org.eclipse.compare.contentMergeViewers">
87       <viewer
88             extensions="dtd"
89             class="net.sourceforge.phpeclipse.xml.ui.internal.compare.DTDMergeViewerCreator"
90             id="net.sourceforge.phpeclipse.xml.ui.internal.compare.DTDMergeViewerCreator">
91       </viewer>
92       <viewer
93             extensions="xml,xsd"
94             class="net.sourceforge.phpeclipse.xml.ui.internal.compare.XMLMergeViewerCreator"
95             id="net.sourceforge.phpeclipse.xml.ui.internal.compare.XMLMergeViewerCreator">
96       </viewer>
97    </extension>
98    <extension
99          point="org.eclipse.team.core.fileTypes">
100       <fileTypes
101             type="text"
102             extension="dtd">
103       </fileTypes>
104       <fileTypes
105             type="text"
106             extension="xml">
107       </fileTypes>
108       <fileTypes
109             type="text"
110             extension="xsd">
111       </fileTypes>
112    </extension>
113
114 </plugin>