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