Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMazen Faraj2004-05-21 09:03:10 -0400
committerMazen Faraj2004-05-21 09:03:10 -0400
commit00eea82320f931cd7d96e80eaeb2a9472d98a813 (patch)
tree6ddee198091caad923b0d6838b1249e3557bdc53
parent7e5d8244d16ab30ab26b3246b00fd1503371302e (diff)
downloadeclipse.platform.ua-00eea82320f931cd7d96e80eaeb2a9472d98a813.tar.gz
eclipse.platform.ua-00eea82320f931cd7d96e80eaeb2a9472d98a813.tar.xz
eclipse.platform.ua-00eea82320f931cd7d96e80eaeb2a9472d98a813.zip
fix bad return value of execute
-rw-r--r--org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroURL.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroURL.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroURL.java
index e2376552d..c87c9abd4 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroURL.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroURL.java
@@ -238,6 +238,7 @@ public class IntroURL implements IIntroURL {
} else if (actionObject instanceof IAction) {
IAction action = (IAction) actionObject;
action.run();
+
} else if (actionObject instanceof IActionDelegate) {
final IActionDelegate delegate = (IActionDelegate) actionObject;
if (delegate instanceof IWorkbenchWindowActionDelegate)
@@ -251,9 +252,10 @@ public class IntroURL implements IIntroURL {
};
proxy.run();
return true;
- }
- // we could not create the class.
- return false;
+ } else
+ // we could not create the class.
+ return false;
+ return true;
} catch (Exception e) {
Log.error("Could not run action: " + className, e); //$NON-NLS-1$
return false;

Back to the top