Whole refactor.
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / plugin.xml
index 8cdf02d..99e0eb2 100644 (file)
@@ -1,26 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<plugin
-   id="net.sourceforge.phpeclipse.phpunit"
-   name="net.sourceforge.phpeclipse.phpunit"
-   version="1.0.0"
-   provider-name="Ali Echihabi"
-   class="">
-
-   <runtime>
-      <library name="phpunit.jar"/>
-   </runtime>
-   <requires>
-      <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.ui.views"/>
-   </requires>
-
-
+<?eclipse version="3.2"?>
+<plugin>
    <extension
          point="org.eclipse.ui.views">
       <category
             name="PHP Unit"
             parentCategory="PHPUnit"
-            id="net.sourceforge.phpeclipse.phpunit">
+            id="net.sourceforge.phpeclipse.phpunit.PHPUnitView">
       </category>
       <view
             name="PHP Unit Testing"
       </view>
    </extension>
    <extension
-         point="org.eclipse.ui.popupMenus">
-      <objectContribution
-            objectClass="org.eclipse.core.resources.IFile"
-            nameFilter="*.php"
-            id="net.sourceforge.phpeclipse.phpunit.actions.runTestsAction">
-         <action
-               label="Run PHPUnit Tests"
-               class="net.sourceforge.phpeclipse.phpunit.actions.RunTestsAction"
-               id="net.sourceforge.phpeclipse.phpunit.action1">
-         </action>
-      </objectContribution>
+         point="org.eclipse.ui.preferencePages">
+      <page
+            name="PHPUnit Preference"
+            category="PHPUnit"
+            class="net.sourceforge.phpeclipse.phpunit.preferences.PHPUnitPreferencePage"
+            id="net.sourceforge.phpeclipse.phpunit.preferences.PHPUnitPreferencePage">
+      </page>
    </extension>
 
 </plugin>