<?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.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">
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
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.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.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>
- <!-- <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>