Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-02-03 06:58:56 +0000
committerUwe Stieber2012-02-03 06:58:56 +0000
commitd9b8c9b5d66b0315e3fe1d2608b985eabf29af6f (patch)
treef897752c882e7a86828c62bf50d548bcbe8d9f84 /target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper
parent9085e07b3a27afa214955946130f8cdacd42e308 (diff)
downloadorg.eclipse.tcf-d9b8c9b5d66b0315e3fe1d2608b985eabf29af6f.tar.gz
org.eclipse.tcf-d9b8c9b5d66b0315e3fe1d2608b985eabf29af6f.tar.xz
org.eclipse.tcf-d9b8c9b5d66b0315e3fe1d2608b985eabf29af6f.zip
Target Explorer: Fix expressions are not activating plug-in's even if the flag is set in the test expression
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/extensions/manager/StepBindingsExtensionPointManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/extensions/manager/StepBindingsExtensionPointManager.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/extensions/manager/StepBindingsExtensionPointManager.java
index 3b491727c..074133600 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/extensions/manager/StepBindingsExtensionPointManager.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.stepper/src/org/eclipse/tcf/te/runtime/stepper/extensions/manager/StepBindingsExtensionPointManager.java
@@ -125,6 +125,8 @@ public final class StepBindingsExtensionPointManager extends AbstractExtensionPo
EvaluationContext evalContext = new EvaluationContext(null, variableValue);
// Initialize the evaluation context named variables
evalContext.addVariable("activeContexts", variableValue); //$NON-NLS-1$
+ // Allow plugin activation
+ evalContext.setAllowPluginActivation(true);
// Evaluate the expression
try {
enabled = enablement.evaluate(evalContext).equals(EvaluationResult.TRUE);

Back to the top