quickfix for bind-error
[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.0"
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.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       <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
27    </requires>
28
29
30    <extension
31          point="org.eclipse.ui.preferencePages">
32       <page
33             name="%preferencePageName"
34             class="net.sourceforge.phpeclipse.ui.preferences.EmptyPreferencePage"
35             id="net.sourceforge.phpeclipse.ui.preferencePage">
36       </page>
37       <page
38             name="Templates"
39             category="net.sourceforge.phpeclipse.ui.preferencePage"
40             class="net.sourceforge.phpeclipse.ui.templates.preferences.TemplatesPreferencePage"
41             id="net.sourceforge.phpeclipse.ui.templates.preferences.TemplatesPreferencePage">
42       </page>
43       <page
44             category="net.sourceforge.phpeclipse.ui.preferencePage"
45             name="Project Defaults"
46             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
47             id="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences">
48       </page>
49       <page
50             category="net.sourceforge.phpeclipse.ui.preferencePage"
51             name="Browser Preview Defaults"
52             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
53             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences">
54       </page>
55    </extension>
56       <extension
57          point="org.eclipse.ui.propertyPages">
58 <!--      <page
59             objectClass="org.eclipse.core.resources.IProject"
60             name="%propertyPagePHPProject.name"
61             class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
62             id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
63          <filter
64                name="nature"
65                value="net.sourceforge.phpeclipse.phpnature">
66          </filter>
67       </page> -->
68       <page
69             objectClass="org.eclipse.core.resources.IProject"
70             name="PHP Project Settings"
71             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
72             id="net.sourceforge.phpeclipse.ui.preferences.project.PHPMiscProjectPreferences">
73          <filter
74                name="nature"
75                value="net.sourceforge.phpeclipse.phpnature">
76          </filter>
77       </page>
78       <page
79             objectClass="org.eclipse.core.resources.IFile"
80             name="PHP Browser Preview"
81             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
82             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences">
83       </page>
84    </extension>
85     <!-- <extension
86          point="org.eclipse.ui.views">
87       <category
88             name="%viewCategoryName"
89             id="net.sourceforge.phpeclipse.views.category">
90       </category>
91     <view
92             name="%previewViewName"
93             icon="icons/full/cview16/preview.gif"
94             category="net.sourceforge.phpeclipse.ui.views"
95             fastViewWidthRatio="66"
96             class="net.sourceforge.phpeclipse.ui.views.preview.BrowserPreview"
97             id="net.sourceforge.phpeclipse.ui.views.browserPreview">
98       </view> 
99    </extension> -->
100
101    <extension
102          point="org.eclipse.ui.editors.templates">
103       <contextType
104             name="%templates.contextType.xml"
105             class="net.sourceforge.phpeclipse.ui.templates.template.XMLContextType"
106             id="xml">
107       </contextType>
108       <contextType
109             name="%templates.contextType.html"
110             class="net.sourceforge.phpeclipse.ui.templates.template.HTMLContextType"
111             id="html">
112       </contextType>
113       <contextType
114             name="%templates.contextType.javascript"
115             class="net.sourceforge.phpeclipse.ui.templates.template.JSContextType"
116             id="javascript">
117       </contextType>
118       <contextType
119             name="%templates.contextType.smarty"
120             class="net.sourceforge.phpeclipse.ui.templates.template.SmartyContextType"
121             id="smarty">
122       </contextType> 
123   <!--    <contextType
124             name="%templates.javadoc.contextType.name"
125             class="org.eclipse.jdt.internal.corext.template.java.JavaDocContextType"
126             id="javadoc">
127       </contextType> -->
128       <include
129                 file="templates/default-templates.xml"
130                 translations="templates/default-templates.properties">
131       </include>
132  <!--     <include
133                 file="templates/default-codetemplates.xml"
134                 translations="templates/default-templates.properties">
135       </include> -->
136    </extension>
137    <extension
138          point="org.eclipse.team.core.fileTypes">
139       <fileTypes
140             type="text"
141             extension="htm">
142       </fileTypes>
143       <fileTypes
144             type="text"
145             extension="html">
146       </fileTypes>
147    </extension>
148 </plugin>