1) Fixed html syntax highlighting.
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / plugin.xml
index d66b8fc..e44ef09 100644 (file)
@@ -2,6 +2,16 @@
 <?eclipse version="3.2"?>
 <plugin>
    <extension
+                point="org.eclipse.ui.perspectives">
+         <perspective
+                       name="%perspectivePHP.name"
+                       icon="icons/obj16/php.png"
+                       class="net.sourceforge.phpeclipse.ui.PHPPerspectiveFactory"
+                       id="net.sourceforge.phpeclipse.PHPPerspective">
+         </perspective>
+   </extension>
+
+   <extension
          point="org.eclipse.ui.preferencePages">
       <page
             name="%preferencePageName"
          point="org.eclipse.ui.editors.templates">
       <contextType
             name="%templates.contextType.xml"
-            class="net.sourceforge.phpeclipse.ui.templates.template.XMLContextType"
+            class="net.sourceforge.phpeclipse.ui.templates.template.XMLTemplateContextType"
             id="xml">
       </contextType>
       <contextType
             name="%templates.contextType.html"
-            class="net.sourceforge.phpeclipse.ui.templates.template.HTMLContextType"
+            class="net.sourceforge.phpeclipse.ui.templates.template.HTMLTemplateContextType"
             id="html">
       </contextType>
       <contextType
             name="%templates.contextType.javascript"
-            class="net.sourceforge.phpeclipse.ui.templates.template.JSContextType"
+            class="net.sourceforge.phpeclipse.ui.templates.template.JSTemplateContextType"
             id="javascript">
       </contextType>
       <contextType
             name="%templates.contextType.smarty"
-            class="net.sourceforge.phpeclipse.ui.templates.template.SmartyContextType"
+            class="net.sourceforge.phpeclipse.ui.templates.template.SmartyTemplateContextType"
             id="smarty">
       </contextType>
       <include
-               file="templates/default-templates.xml"
-               translations="templates/default-templates.properties">
+               file="templates/default-templates-html.xml"
+               translations="templates/default-templates-html.properties">
       </include>
    </extension>
 </plugin>