Hint from Christian Buggle: Feature.xml is missing required refactoring plugins
[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="1.1.9"
7    provider-name="%providerName"
8    class="net.sourceforge.phpeclipse.ui.WebUI">
9
10    <runtime>
11       <library name="ui.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.ui"/>
21       <import plugin="org.eclipse.ui.editors"/>
22       <import plugin="org.eclipse.ui.ide"/>
23       <import plugin="org.eclipse.ui.views"/>
24       <import plugin="org.eclipse.ui.workbench.texteditor"/>
25       <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
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 <!-- removed templates page, because it also exists in net.sf.phpeclipse,
37      and has more features there
38       <page
39             name="Templates"
40             category="net.sourceforge.phpeclipse.ui.preferencePage"
41             class="net.sourceforge.phpeclipse.ui.templates.preferences.TemplatesPreferencePage"
42             id="net.sourceforge.phpeclipse.ui.templates.preferences.TemplatesPreferencePage">
43       </page>
44 -->
45       <page
46             category="net.sourceforge.phpeclipse.ui.preferencePage"
47             name="Project Defaults"
48             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
49             id="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences">
50       </page>
51       <page
52             category="net.sourceforge.phpeclipse.ui.preferencePage"
53             name="Browser Preview Defaults"
54             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
55             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences">
56       </page>
57    </extension>
58       <extension
59          point="org.eclipse.ui.propertyPages">
60 <!--      <page
61             objectClass="org.eclipse.core.resources.IProject"
62             name="%propertyPagePHPProject.name"
63             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
64             id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
65          <filter
66                name="nature"
67                value="net.sourceforge.phpeclipse.phpnature">
68          </filter>
69       </page> -->
70       <page
71             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
72             icon="icons/full/obj16/php.png"
73             id="net.sourceforge.phpeclipse.ui.preferences.project.PHPMiscProjectPreferences"
74             name="PHP Project Settings"
75             objectClass="org.eclipse.core.resources.IProject">
76          <filter
77                name="nature"
78                value="net.sourceforge.phpeclipse.phpnature">
79          </filter>
80       </page>
81       <page
82             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
83             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
84             name="PHP Browser Preview"
85             objectClass="org.eclipse.core.resources.IFile">
86       </page>
87    </extension>
88     <!-- <extension
89          point="org.eclipse.ui.views">
90       <category
91             name="%viewCategoryName"
92             id="net.sourceforge.phpeclipse.views.category">
93       </category>
94     <view
95             name="%previewViewName"
96             icon="icons/full/cview16/preview.gif"
97             category="net.sourceforge.phpeclipse.ui.views"
98             fastViewWidthRatio="66"
99             class="net.sourceforge.phpeclipse.ui.views.preview.BrowserPreview"
100             id="net.sourceforge.phpeclipse.ui.views.browserPreview">
101       </view>
102    </extension> -->
103
104    <extension
105          point="org.eclipse.ui.editors.templates">
106       <contextType
107             name="%templates.contextType.xml"
108             class="net.sourceforge.phpeclipse.ui.templates.template.XMLContextType"
109             id="xml">
110       </contextType>
111       <contextType
112             name="%templates.contextType.html"
113             class="net.sourceforge.phpeclipse.ui.templates.template.HTMLContextType"
114             id="html">
115       </contextType>
116       <contextType
117             name="%templates.contextType.javascript"
118             class="net.sourceforge.phpeclipse.ui.templates.template.JSContextType"
119             id="javascript">
120       </contextType>
121       <contextType
122             name="%templates.contextType.smarty"
123             class="net.sourceforge.phpeclipse.ui.templates.template.SmartyContextType"
124             id="smarty">
125       </contextType>
126   <!--    <contextType
127             name="%templates.javadoc.contextType.name"
128             class="org.eclipse.jdt.internal.corext.template.java.JavaDocContextType"
129             id="javadoc">
130       </contextType> -->
131       <include
132                 file="templates/default-templates.xml"
133                 translations="templates/default-templates.properties">
134       </include>
135  <!--     <include
136                 file="templates/default-codetemplates.xml"
137                 translations="templates/default-templates.properties">
138       </include> -->
139    </extension>
140  <!--     <extension
141          point="org.eclipse.team.core.fileTypes">
142       <fileTypes
143             type="text"
144             extension="htm">
145       </fileTypes>
146       <fileTypes
147             type="text"
148             extension="html">
149       </fileTypes>
150    </extension> -->
151 </plugin>