reduced dependencies
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / plugin.xml
index dcf6ae5..df1a504 100644 (file)
@@ -3,12 +3,12 @@
 <plugin
    id="net.sourceforge.phpeclipse.ui"
    name="%pluginName"
-   version="0.0.1"
+   version="1.1.7"
    provider-name="%providerName"
    class="net.sourceforge.phpeclipse.ui.WebUI">
 
    <runtime>
-      <library name="wdtui.jar">
+      <library name="ui.jar">
          <export name="*"/>
       </library>
    </runtime>
       <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.ide"/> 
       <import plugin="org.eclipse.ui.views"/>
       <import plugin="org.eclipse.ui.workbench.texteditor"/>
+      <import plugin="net.sourceforge.phpeclipse.webbrowser"/>
    </requires>
 
 
             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"
+            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
+      <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">
+         <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">
+      </page>
+   </extension>
+    <!-- <extension
          point="org.eclipse.ui.views">
       <category
             name="%viewCategoryName"
-            id="net.sourceforge.phpeclipse.ui.views">
+            id="net.sourceforge.phpeclipse.views.category">
       </category>
-      <view
+    <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>
+      </view> 
+   </extension> -->
 
    <extension
          point="org.eclipse.ui.editors.templates">
             class="net.sourceforge.phpeclipse.ui.templates.template.JSContextType"
             id="javascript">
       </contextType>
- <!--     <contextType
+      <contextType
+            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">