dcf6ae5cce7826f2f732ef74927ba2e8ebe7ba1a
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
3 <plugin
4    id="net.sourceforge.phpeclipse.ui"
5    name="%pluginName"
6    version="0.0.1"
7    provider-name="%providerName"
8    class="net.sourceforge.phpeclipse.ui.WebUI">
9
10    <runtime>
11       <library name="wdtui.jar">
12          <export name="*"/>
13       </library>
14    </runtime>
15    <requires>
16       <import plugin="net.sourceforge.phpeclipse.core"/>
17       <import plugin="org.eclipse.core.resources"/>
18       <import plugin="org.eclipse.core.runtime"/>
19       <import plugin="org.eclipse.jface.text"/>
20       <import plugin="org.eclipse.osgi"/>
21       <import plugin="org.eclipse.ui"/>
22       <import plugin="org.eclipse.ui.editors"/>
23       <import plugin="org.eclipse.ui.ide"/>
24       <import plugin="org.eclipse.ui.views"/>
25       <import plugin="org.eclipse.ui.workbench.texteditor"/>
26    </requires>
27
28
29    <extension
30          point="org.eclipse.ui.preferencePages">
31       <page
32             name="%preferencePageName"
33             class="net.sourceforge.phpeclipse.ui.preferences.EmptyPreferencePage"
34             id="net.sourceforge.phpeclipse.ui.preferencePage">
35       </page>
36       <page
37             name="Templates"
38             category="net.sourceforge.phpeclipse.ui.preferencePage"
39             class="net.sourceforge.phpeclipse.ui.templates.preferences.TemplatesPreferencePage"
40             id="net.sourceforge.phpeclipse.ui.templates.preferences.TemplatesPreferencePage">
41       </page>
42    </extension>
43    <extension
44          point="org.eclipse.ui.views">
45       <category
46             name="%viewCategoryName"
47             id="net.sourceforge.phpeclipse.ui.views">
48       </category>
49       <view
50             name="%previewViewName"
51             icon="icons/full/cview16/preview.gif"
52             category="net.sourceforge.phpeclipse.ui.views"
53             fastViewWidthRatio="66"
54             class="net.sourceforge.phpeclipse.ui.views.preview.BrowserPreview"
55             id="net.sourceforge.phpeclipse.ui.views.browserPreview">
56       </view>
57    </extension>
58
59    <extension
60          point="org.eclipse.ui.editors.templates">
61       <contextType
62             name="%templates.contextType.xml"
63             class="net.sourceforge.phpeclipse.ui.templates.template.XMLContextType"
64             id="xml">
65       </contextType>
66       <contextType
67             name="%templates.contextType.html"
68             class="net.sourceforge.phpeclipse.ui.templates.template.HTMLContextType"
69             id="html">
70       </contextType>
71       <contextType
72             name="%templates.contextType.javascript"
73             class="net.sourceforge.phpeclipse.ui.templates.template.JSContextType"
74             id="javascript">
75       </contextType>
76  <!--     <contextType
77             name="%templates.javadoc.contextType.name"
78             class="org.eclipse.jdt.internal.corext.template.java.JavaDocContextType"
79             id="javadoc">
80       </contextType> -->
81       <include
82                 file="templates/default-templates.xml"
83                 translations="templates/default-templates.properties">
84       </include>
85  <!--     <include
86                 file="templates/default-codetemplates.xml"
87                 translations="templates/default-templates.properties">
88       </include> -->
89    </extension>
90    <extension
91          point="org.eclipse.team.core.fileTypes">
92       <fileTypes
93             type="text"
94             extension="htm">
95       </fileTypes>
96       <fileTypes
97             type="text"
98             extension="html">
99       </fileTypes>
100    </extension>
101 </plugin>