From a2d003d10a393b5d65900a1a48932a7861d7aa65 Mon Sep 17 00:00:00 2001 From: axelcl Date: Wed, 19 Oct 2005 16:36:13 +0000 Subject: [PATCH] Added some examples for context menu on Outline --- .../phpeclipse/example/outline/Import2Console.java | 1 + .../phpeclipse/example/outline/Type2Console.java | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) 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"); } -- 1.7.1