From: axelcl Date: Wed, 19 Oct 2005 16:36:13 +0000 (+0000) Subject: Added some examples for context menu on Outline X-Git-Url: http://git.phpeclipse.com Added some examples for context menu on Outline --- diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/example/outline/Import2Console.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/example/outline/Import2Console.java index 7586ca9..61848af 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/example/outline/Import2Console.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/example/outline/Import2Console.java @@ -57,6 +57,7 @@ public class Import2Console implements IObjectActionDelegate { private void showSourceInConsole(String actionId) throws Exception { String src = myType.getSource(); + System.out.println(actionId); System.out.println("Source :"+src); } diff --git a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/example/outline/Type2Console.java b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/example/outline/Type2Console.java index 6bbe516..9c08fa7 100644 --- a/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/example/outline/Type2Console.java +++ b/net.sourceforge.phpeclipse.tests/src/net/sourceforge/phpeclipse/example/outline/Type2Console.java @@ -56,6 +56,7 @@ public class Type2Console implements IObjectActionDelegate { } private void showSourceInConsole(String actionId) throws Exception { + System.out.println(actionId); if (!(myType.isInterface() || myType.isClass())) { throw new Exception("incompatible Type"); }