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