Added back some missing keys. from previous cleanup
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / plugin.xml
index dcf6ae5..d66b8fc 100644 (file)
@@ -1,31 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
-   id="net.sourceforge.phpeclipse.ui"
-   name="%pluginName"
-   version="0.0.1"
-   provider-name="%providerName"
-   class="net.sourceforge.phpeclipse.ui.WebUI">
-
-   <runtime>
-      <library name="wdtui.jar">
-         <export name="*"/>
-      </library>
-   </runtime>
-   <requires>
-      <import plugin="net.sourceforge.phpeclipse.core"/>
-      <import plugin="org.eclipse.core.resources"/>
-      <import plugin="org.eclipse.core.runtime"/>
-      <import plugin="org.eclipse.jface.text"/>
-      <import plugin="org.eclipse.osgi"/>
-      <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.ui.editors"/>
-      <import plugin="org.eclipse.ui.ide"/>
-      <import plugin="org.eclipse.ui.views"/>
-      <import plugin="org.eclipse.ui.workbench.texteditor"/>
-   </requires>
-
-
+<?eclipse version="3.2"?>
+<plugin>
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
             id="net.sourceforge.phpeclipse.ui.preferencePage">
       </page>
       <page
-            name="Templates"
             category="net.sourceforge.phpeclipse.ui.preferencePage"
-            class="net.sourceforge.phpeclipse.ui.templates.preferences.TemplatesPreferencePage"
-            id="net.sourceforge.phpeclipse.ui.templates.preferences.TemplatesPreferencePage">
+            name="Project Defaults"
+            class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
+            id="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences">
+      </page>
+      <page
+            category="net.sourceforge.phpeclipse.ui.preferencePage"
+            name="Browser Preview Defaults"
+            class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
+            id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences">
       </page>
    </extension>
-   <extension
-         point="org.eclipse.ui.views">
-      <category
-            name="%viewCategoryName"
-            id="net.sourceforge.phpeclipse.ui.views">
-      </category>
-      <view
-            name="%previewViewName"
-            icon="icons/full/cview16/preview.gif"
-            category="net.sourceforge.phpeclipse.ui.views"
-            fastViewWidthRatio="66"
-            class="net.sourceforge.phpeclipse.ui.views.preview.BrowserPreview"
-            id="net.sourceforge.phpeclipse.ui.views.browserPreview">
-      </view>
+      <extension
+         point="org.eclipse.ui.propertyPages">
+      <page
+            class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
+            icon="icons/full/obj16/php.png"
+            id="net.sourceforge.phpeclipse.ui.preferences.project.PHPMiscProjectPreferences"
+            name="PHP Project Settings"
+            objectClass="org.eclipse.core.resources.IProject">
+         <filter
+               name="nature"
+               value="net.sourceforge.phpeclipse.phpnature">
+         </filter>
+      </page>
+      <page
+            class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
+            id="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
+            name="PHP Browser Preview"
+            objectClass="org.eclipse.core.resources.IFile">
+      </page>
    </extension>
 
    <extension
             class="net.sourceforge.phpeclipse.ui.templates.template.JSContextType"
             id="javascript">
       </contextType>
- <!--     <contextType
-            name="%templates.javadoc.contextType.name"
-            class="org.eclipse.jdt.internal.corext.template.java.JavaDocContextType"
-            id="javadoc">
-      </contextType> -->
+      <contextType
+            name="%templates.contextType.smarty"
+            class="net.sourceforge.phpeclipse.ui.templates.template.SmartyContextType"
+            id="smarty">
+      </contextType>
       <include
                file="templates/default-templates.xml"
                translations="templates/default-templates.properties">
       </include>
- <!--     <include
-               file="templates/default-codetemplates.xml"
-               translations="templates/default-templates.properties">
-      </include> -->
-   </extension>
-   <extension
-         point="org.eclipse.team.core.fileTypes">
-      <fileTypes
-            type="text"
-            extension="htm">
-      </fileTypes>
-      <fileTypes
-            type="text"
-            extension="html">
-      </fileTypes>
    </extension>
 </plugin>