<?xml version="1.0" encoding="UTF-8"?>
-<plugin
- id="PHPEclipse"
- name="Plug-in PHP for Eclipse"
- version="1.0.0"
- provider-name="phpeclipse"
- class="net.sourceforge.phpeclipse.pluginPHP">
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ id="phpnature"
+ name="%naturePHP.name"
+ point="org.eclipse.core.resources.natures">
+ <runtime>
+ <run
+ class="net.sourceforge.phpdt.internal.core.JavaProject">
+ </run>
+ </runtime>
+ </extension>
+
+ <extension
+ id="parserbuilder"
+ name="PHP Builder"
+ point="org.eclipse.core.resources.builders">
+ <builder>
+ <run
+ class="net.sourceforge.phpdt.internal.core.builder.PHPBuilder">
+ </run>
+ </builder>
+ </extension>
+ <!-- =================================================================================== -->
+<!-- Extension: Java Markers -->
+<!-- =================================================================================== -->
+
+<!-- Java problems -->
+
+<extension id="problem" point="org.eclipse.core.resources.markers" name="%phpProblemName">
+ <super type="org.eclipse.core.resources.problemmarker"/>
+ <super type="org.eclipse.core.resources.textmarker"/>
+ <persistent value="true"/>
+ <attribute name="id"/>
+ <attribute name="flags"/>
+ <attribute name="arguments"/>
+</extension>
+
+<!-- Java transient problems -->
- <runtime>
- <library name="PHPEclipse.jar"/>
- </runtime>
- <requires>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.jdt.doc.isv"/>
- <import plugin="org.eclipse.compare"/>
- <import plugin="org.eclipse.core.boot"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.team.cvs.ssh"/>
- <import plugin="org.eclipse.team.cvs.core"/>
- <import plugin="org.eclipse.team.cvs.ui"/>
- <import plugin="org.eclipse.debug.core"/>
- <import plugin="org.eclipse.debug.ui"/>
- <import plugin="org.eclipse.jdt"/>
- <import plugin="org.eclipse.jdt.source"/>
- <import plugin="org.eclipse.jdt.doc.user"/>
- <import plugin="org.eclipse.platform"/>
- <import plugin="org.eclipse.platform.win32"/>
- <import plugin="org.eclipse.platform.doc.isv"/>
- <import plugin="org.eclipse.platform.source"/>
- <import plugin="org.eclipse.tomcat"/>
- <import plugin="org.eclipse.team.ui"/>
- <import plugin="org.eclipse.team.core"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.jdt.ui"/>
- <import plugin="org.eclipse.jdt.debug"/>
- <import plugin="org.eclipse.search"/>
- <import plugin="org.eclipse.pde.runtime"/>
- <import plugin="org.eclipse.pde.ui"/>
- <import plugin="org.junit"/>
- <import plugin="org.eclipse.jdt.debug.ui"/>
- <import plugin="org.eclipse.pde.core"/>
- <import plugin="org.eclipse.pde.build"/>
- <import plugin="org.eclipse.platform.win32.source"/>
- <import plugin="org.eclipse.pde"/>
- <import plugin="org.eclipse.pde.source"/>
- <import plugin="org.eclipse.pde.doc.user"/>
- <import plugin="org.eclipse.sdk.win32"/>
- <import plugin="org.eclipse.platform.doc.user"/>
- <import plugin="org.eclipse.ui.externaltools"/>
- <import plugin="org.eclipse.help"/>
- <import plugin="org.eclipse.help.ui"/>
- <import plugin="org.eclipse.help.webapp"/>
- <import plugin="org.eclipse.update.ui.forms"/>
- <import plugin="org.eclipse.update.core"/>
- <import plugin="org.eclipse.update.ui"/>
- <import plugin="org.eclipse.jdt.core"/>
- <import plugin="org.eclipse.jdt.junit"/>
- <import plugin="org.eclipse.jdt.launching"/>
- </requires>
+<extension id="transient_problem" point="org.eclipse.core.resources.markers" name="%transientPHPProblemName">
+ <super type="org.eclipse.core.resources.textmarker"/>
+ <persistent value="false"/>
+ <attribute name="id"/>
+ <attribute name="flags"/>
+ <attribute name="arguments"/>
+</extension>
+
+<!-- PHP tasks -->
+
+<extension id="task" name="%phpTaskName" point="org.eclipse.core.resources.markers">
+ <super type="org.eclipse.core.resources.taskmarker"/>
+ <persistent value="true"/>
+</extension>
+
+<extension-point id="phpElementFilters" name="%elementFiltersName" schema="schema/phpElementFilters.exsd"/>
+<extension-point id="phpEditorTextHovers" name="%phpEditorTextHoversName" schema="schema/phpEditorTextHovers.exsd"/>
+<extension-point id="foldingStructureProviders" name="%foldingStructureProvidersExtensionPoint" schema="schema/foldingStructureProviders.exsd"/>
<extension
- point="org.eclipse.ui.editors">
- <editor
- name="Editor PHP"
- icon="icons/sample.gif"
- extensions="php"
- contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
- class="net.sourceforge.phpeclipse.editors.PHPEditor"
- id="net.sourceforge.phpeclipse.editors.PHPEditor">
- </editor>
+ point="org.eclipse.team.core.fileTypes">
+ <fileTypes type="text" extension="php" />
+ <fileTypes type="text" extension="phpc" />
+ <fileTypes type="text" extension="php3" />
+ <fileTypes type="text" extension="php4" />
+ <fileTypes type="text" extension="php5" />
+ <fileTypes type="text" extension="phtml" />
+ <fileTypes type="text" extension="inc" />
+ <fileTypes type="text" extension="module" />
+ <fileTypes type="text" extension="phpt" />
+ <fileTypes type="text" extension="ctp" />
</extension>
+<!-- declares a content type for PHP Source files -->
+
+ <extension point="org.eclipse.core.runtime.contentTypes">
+ <content-type id="phpSource" name="%phpSourceName"
+ base-type="org.eclipse.core.runtime.text"
+ priority="high"
+ file-extensions="php,phpc,php3,php4,php5,phtml,inc,module,phpt,ctp"/>
+ </extension>
+
+<!-- external tools -->
+<!-- extension point definitions -->
+ <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
+ <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
+ <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
+ <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
+ <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
+
</plugin>