reduced dependencies
[phpeclipse.git] / net.sourceforge.phpeclipse.tests / plugin.xml
index 46a5d57..246473a 100644 (file)
 <?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
 <plugin
    id="net.sourceforge.phpeclipse.tests"
    name="Core Tests"
-   version="1.0.0"
+   version="1.1.0"
    provider-name="eclipseproject.de">
 
    <runtime>
       <library name="coretests.jar"/>
    </runtime>
    <requires>
-      <import plugin="org.eclipse.core.resources"/>
+      <import plugin="org.eclipse.core.runtime.compatibility"/>
+      <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.ui.views"/>
+      <import plugin="org.eclipse.ui.workbench.texteditor"/>
+      <import plugin="org.eclipse.ui.editors"/>
       <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.help"/>
-      <import plugin="org.eclipse.swt"/>
-      <import plugin="org.eclipse.debug.ui"/>
-      <import plugin="org.apache.xerces"/>
       <import plugin="org.junit"/>
-      <import plugin="org.eclipse.update.ui"/>
+      <import plugin="net.sourceforge.phpeclipse"/>
+      <import plugin="org.eclipse.core.runtime"/>
+      <import plugin="org.eclipse.jface.text"/>
+      <import plugin="org.eclipse.core.resources"/>
    </requires>
+
+   <extension
+         point="org.eclipse.ui.popupMenus">
+      <objectContribution
+            objectClass="net.sourceforge.phpdt.core.IImportDeclaration"
+            id="net.sourceforge.phpdt.import">
+         <menu
+               label="IncludeTest"
+               path="additions"
+               id="net.sourceforge.phpdt.import1">
+            <separator
+                  name="mainActionsGroup">
+            </separator>
+            <separator
+                  name="actionsGroup">
+            </separator>
+            <separator
+                  name="infoGroup">
+            </separator>
+         </menu>
+         <action
+               label="Do nothing 1"
+               class="net.sourceforge.example.outline.Import2Console"
+               menubarPath="net.sourceforge.phpdt.import1/infoGroup"
+               enablesFor="1"
+               id="net.sourceforge.phpdt.donothing1">
+         </action>
+         <action
+               label="Print source to Console"
+               class="net.sourceforge.example.outline.Import2Console"
+               menubarPath="net.sourceforge.phpdt.import1/actionsGroup"
+               enablesFor="1"
+               id="net.sourceforge.example.outline.Import2Console">
+         </action>
+         <action
+               label="Do nothing 2"
+               class="net.sourceforge.example.outline.Import2Console"
+               menubarPath="net.sourceforge.phpdt.import1/mainActionsGroup"
+               enablesFor="1"
+               id="net.sourceforge.phpdt.donothing2">
+         </action>
+      </objectContribution>
+   </extension>
+      <extension
+         point="org.eclipse.ui.popupMenus">
+      <objectContribution
+            objectClass="net.sourceforge.phpdt.core.IType"
+            id="net.sourceforge.phpdt.type">
+         <menu
+               label="TypeTest"
+               path="additions"
+               id="net.sourceforge.phpdt.type1">
+            <separator
+                  name="mainActionsGroup">
+            </separator>
+            <separator
+                  name="actionsGroup">
+            </separator>
+            <separator
+                  name="infoGroup">
+            </separator>
+         </menu>
+         <action
+               label="Do nothing 3"
+               class="net.sourceforge.example.outline.Type2Console"
+               menubarPath="net.sourceforge.phpdt.type1/infoGroup"
+               enablesFor="1"
+               id="net.sourceforge.phpdt.donothing3">
+         </action>
+         <action
+               label="Print source to Console"
+               class="net.sourceforge.example.outline.Type2Console"
+               menubarPath="net.sourceforge.phpdt.type1/actionsGroup"
+               enablesFor="1"
+               id="net.sourceforge.example.outline.Type2Console">
+         </action>
+         <action
+               label="Do nothing 4"
+               class="net.sourceforge.example.outline.Type2Console"
+               menubarPath="net.sourceforge.phpdt.type1/mainActionsGroup"
+               enablesFor="1"
+               id="net.sourceforge.phpdt.donothing4">
+         </action>
+      </objectContribution>
+   </extension>
 </plugin>