misc changes
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / plugin.xml
index dcf6ae5..68a2be0 100644 (file)
@@ -23,6 +23,7 @@
       <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">