migrated plugin from 3.0 to 3.1
[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.7"
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             objectClass="org.eclipse.core.resources.IProject"
72             name="PHP Project Settings"
73             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
74             id="net.sourceforge.phpeclipse.ui.preferences.project.PHPMiscProjectPreferences">
75          <filter
76                name="nature"
77                value="net.sourceforge.phpeclipse.phpnature">
78          </filter>
79       </page>
80       <page
81             objectClass="org.eclipse.core.resources.IFile"
82             name="PHP Browser Preview"
83             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
84             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences">
85       </page>
86    </extension>
87     <!-- <extension
88          point="org.eclipse.ui.views">
89       <category
90             name="%viewCategoryName"
91             id="net.sourceforge.phpeclipse.views.category">
92       </category>
93     <view
94             name="%previewViewName"
95             icon="icons/full/cview16/preview.gif"
96             category="net.sourceforge.phpeclipse.ui.views"
97             fastViewWidthRatio="66"
98             class="net.sourceforge.phpeclipse.ui.views.preview.BrowserPreview"
99             id="net.sourceforge.phpeclipse.ui.views.browserPreview">
100       </view>
101    </extension> -->
102
103    <extension
104          point="org.eclipse.ui.editors.templates">
105       <contextType
106             name="%templates.contextType.xml"
107             class="net.sourceforge.phpeclipse.ui.templates.template.XMLContextType"
108             id="xml">
109       </contextType>
110       <contextType
111             name="%templates.contextType.html"
112             class="net.sourceforge.phpeclipse.ui.templates.template.HTMLContextType"
113             id="html">
114       </contextType>
115       <contextType
116             name="%templates.contextType.javascript"
117             class="net.sourceforge.phpeclipse.ui.templates.template.JSContextType"
118             id="javascript">
119       </contextType>
120       <contextType
121             name="%templates.contextType.smarty"
122             class="net.sourceforge.phpeclipse.ui.templates.template.SmartyContextType"
123             id="smarty">
124       </contextType>
125   <!--    <contextType
126             name="%templates.javadoc.contextType.name"
127             class="org.eclipse.jdt.internal.corext.template.java.JavaDocContextType"
128             id="javadoc">
129       </contextType> -->
130       <include
131                 file="templates/default-templates.xml"
132                 translations="templates/default-templates.properties">
133       </include>
134  <!--     <include
135                 file="templates/default-codetemplates.xml"
136                 translations="templates/default-templates.properties">
137       </include> -->
138    </extension>
139  <!--     <extension
140          point="org.eclipse.team.core.fileTypes">
141       <fileTypes
142             type="text"
143             extension="htm">
144       </fileTypes>
145       <fileTypes
146             type="text"
147             extension="html">
148       </fileTypes>
149    </extension> -->
150 </plugin>