Fixed some config on tests. The fragment file was named worng
[phpeclipse.git] / net.sourceforge.phpeclipse.test / fragment.xml
diff --git a/net.sourceforge.phpeclipse.test/fragment.xml b/net.sourceforge.phpeclipse.test/fragment.xml
new file mode 100644 (file)
index 0000000..e87d50b
--- /dev/null
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+   <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.phpeclipse.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.phpeclipse.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.phpeclipse.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.phpeclipse.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.phpeclipse.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.phpeclipse.example.outline.Type2Console"
+               menubarPath="net.sourceforge.phpdt.type1/mainActionsGroup"
+               enablesFor="1"
+               id="net.sourceforge.phpdt.donothing4">
+         </action>
+      </objectContribution>
+   </extension>
+</plugin>