Added some more tests,a nd reformtted the code a little.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.2"?>
3 <plugin>
4    <extension
5          point="org.eclipse.ui.preferencePages">
6       <page
7             name="%preferencePageName"
8             class="net.sourceforge.phpeclipse.ui.preferences.EmptyPreferencePage"
9             id="net.sourceforge.phpeclipse.ui.preferencePage">
10       </page>
11       <page
12             category="net.sourceforge.phpeclipse.ui.preferencePage"
13             name="Project Defaults"
14             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
15             id="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences">
16       </page>
17       <page
18             category="net.sourceforge.phpeclipse.ui.preferencePage"
19             name="Browser Preview Defaults"
20             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
21             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences">
22       </page>
23    </extension>
24       <extension
25          point="org.eclipse.ui.propertyPages">
26       <page
27             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
28             icon="icons/full/obj16/php.png"
29             id="net.sourceforge.phpeclipse.ui.preferences.project.PHPMiscProjectPreferences"
30             name="PHP Project Settings"
31             objectClass="org.eclipse.core.resources.IProject">
32          <filter
33                name="nature"
34                value="net.sourceforge.phpeclipse.phpnature">
35          </filter>
36       </page>
37       <page
38             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
39             id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
40             name="PHP Browser Preview"
41             objectClass="org.eclipse.core.resources.IFile">
42       </page>
43    </extension>
44
45    <extension
46          point="org.eclipse.ui.editors.templates">
47       <contextType
48             name="%templates.contextType.xml"
49             class="net.sourceforge.phpeclipse.ui.templates.template.XMLContextType"
50             id="xml">
51       </contextType>
52       <contextType
53             name="%templates.contextType.html"
54             class="net.sourceforge.phpeclipse.ui.templates.template.HTMLContextType"
55             id="html">
56       </contextType>
57       <contextType
58             name="%templates.contextType.javascript"
59             class="net.sourceforge.phpeclipse.ui.templates.template.JSContextType"
60             id="javascript">
61       </contextType>
62       <contextType
63             name="%templates.contextType.smarty"
64             class="net.sourceforge.phpeclipse.ui.templates.template.SmartyContextType"
65             id="smarty">
66       </contextType>
67       <include
68                 file="templates/default-templates.xml"
69                 translations="templates/default-templates.properties">
70       </include>
71    </extension>
72 </plugin>