Patch from Anders Betn�- improve path mapping when remote debugging between systems...
[phpeclipse.git] / net.sourceforge.phpeclipse.tests / plugin.xml
index bbf5bd0..246473a 100644 (file)
       <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>