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.launch.core
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.launch.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/internal/LaunchConfigTypeBinding.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/internal/LaunchConfigTypeBinding.java b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/internal/LaunchConfigTypeBinding.java
index 1566dbe90..47fca5653 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/internal/LaunchConfigTypeBinding.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/internal/LaunchConfigTypeBinding.java
@@ -239,6 +239,8 @@ public class LaunchConfigTypeBinding {
EvaluationContext evalContext = new EvaluationContext(null, context);
evalContext.addVariable("selection", context); //$NON-NLS-1$
evalContext.addVariable("mode", mode); //$NON-NLS-1$
+ // Allow plugin activation
+ evalContext.setAllowPluginActivation(true);
// Evaluate the expression
try {
valresult = expression.evaluate(evalContext);

Back to the top