Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Schwarz2013-09-19 07:33:37 +0000
committerTobias Schwarz2013-09-19 07:33:37 +0000
commitc561be3c0a035b6d4c2e3641a2653891f5bdf4e1 (patch)
tree00cbb6b328213b6994875262cba440f27568b731 /target_explorer/plugins/org.eclipse.tcf.te.launch.core
parentb52299664c226de4a8f7571a16ea816e9c60ee57 (diff)
downloadorg.eclipse.tcf-c561be3c0a035b6d4c2e3641a2653891f5bdf4e1.tar.gz
org.eclipse.tcf-c561be3c0a035b6d4c2e3641a2653891f5bdf4e1.tar.xz
org.eclipse.tcf-c561be3c0a035b6d4c2e3641a2653891f5bdf4e1.zip
Target Explorer: cleanup context menu contributions
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/LaunchConfigTypeBindingsManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/LaunchConfigTypeBindingsManager.java b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/LaunchConfigTypeBindingsManager.java
index c2263a345..6c9839204 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/LaunchConfigTypeBindingsManager.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.launch.core/src/org/eclipse/tcf/te/launch/core/bindings/LaunchConfigTypeBindingsManager.java
@@ -102,7 +102,7 @@ public class LaunchConfigTypeBindingsManager {
return (launchConfigType != null &&
(selection.getLaunchMode() == null || launchConfigType.supportsMode(selection.getLaunchMode())) &&
binding != null && binding.validate(selection) == EvaluationResult.TRUE &&
- (unBinding == null || unBinding.validate(selection) == EvaluationResult.FALSE));
+ (unBinding == null || unBinding.validate(selection) != EvaluationResult.TRUE));
}
/**
@@ -121,8 +121,8 @@ public class LaunchConfigTypeBindingsManager {
ILaunchConfigurationType launchConfigType = DebugPlugin.getDefault().getLaunchManager().getLaunchConfigurationType(typeId);
return (launchConfigType != null &&
(mode == null || launchConfigType.supportsMode(mode)) &&
- binding != null && binding.validate(mode, context) != EvaluationResult.FALSE &&
- (unBinding == null || unBinding.validate(mode, context) == EvaluationResult.FALSE));
+ binding != null && binding.validate(mode, context) == EvaluationResult.TRUE &&
+ (unBinding == null || unBinding.validate(mode, context) != EvaluationResult.TRUE));
}
/**

Back to the top