Updating syntax.xml to attempt fix issues reported in ticket #761
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / plugin.xml
index fa9157d..d66b8fc 100644 (file)
@@ -1,32 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
-   id="net.sourceforge.phpeclipse.ui"
-   name="%pluginName"
-   version="1.1.5"
-   provider-name="%providerName"
-   class="net.sourceforge.phpeclipse.ui.WebUI">
-
-   <runtime>
-      <library name="ui.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"/>
-      <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
-   </requires>
-
-
+<?eclipse version="3.2"?>
+<plugin>
    <extension
          point="org.eclipse.ui.preferencePages">
       <page
@@ -35,12 +9,6 @@
             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">
-      </page>
-      <page
             category="net.sourceforge.phpeclipse.ui.preferencePage"
             name="Project Defaults"
             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
    </extension>
       <extension
          point="org.eclipse.ui.propertyPages">
-<!--      <page
-            objectClass="org.eclipse.core.resources.IProject"
-            name="%propertyPagePHPProject.name"
-            class="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage"
-            id="net.sourceforge.phpeclipse.preferences.PHPProjectPropertyPage">
-         <filter
-               name="nature"
-               value="net.sourceforge.phpeclipse.phpnature">
-         </filter>
-      </page> -->
       <page
-            objectClass="org.eclipse.core.resources.IProject"
-            name="PHP Project Settings"
             class="net.sourceforge.phpeclipse.ui.preferences.PHPMiscProjectPreferences"
-            id="net.sourceforge.phpeclipse.ui.preferences.project.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
-            objectClass="org.eclipse.core.resources.IFile"
-            name="PHP Browser Preview"
             class="net.sourceforge.phpeclipse.ui.preferences.PHPPreviewProjectPreferences"
-            id="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
-         point="org.eclipse.ui.views">
-      <category
-            name="%viewCategoryName"
-            id="net.sourceforge.phpeclipse.views.category">
-      </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> -->
 
    <extension
          point="org.eclipse.ui.editors.templates">
             name="%templates.contextType.smarty"
             class="net.sourceforge.phpeclipse.ui.templates.template.SmartyContextType"
             id="smarty">
-      </contextType> 
-  <!--    <contextType
-            name="%templates.javadoc.contextType.name"
-            class="org.eclipse.jdt.internal.corext.template.java.JavaDocContextType"
-            id="javadoc">
-      </contextType> -->
+      </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>