Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2010-06-11 13:30:03 +0000
committerDarin Wright2010-06-11 13:30:03 +0000
commit43c4f2c32dcc0beadb7f12dd7ce8703d8d7c9939 (patch)
tree5f41952cd47ef519d172a41a2bd9ce3a6dbc1c57
parent14fff3c3e5df3c238dd00882c6997a15f317e4e2 (diff)
downloadeclipse.platform.debug-43c4f2c32dcc0beadb7f12dd7ce8703d8d7c9939.tar.gz
eclipse.platform.debug-43c4f2c32dcc0beadb7f12dd7ce8703d8d7c9939.tar.xz
eclipse.platform.debug-43c4f2c32dcc0beadb7f12dd7ce8703d8d7c9939.zip
[r34x] Bug 316514 - Debug context activation causes expressions view updates when hidden if selection is empty
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionView.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionView.java
index a0d8a7c15..7740e23ac 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionView.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/expression/ExpressionView.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -82,6 +82,9 @@ public class ExpressionView extends VariablesView {
* @see org.eclipse.debug.internal.ui.views.variables.VariablesView#contextActivated(org.eclipse.jface.viewers.ISelection)
*/
protected void contextActivated(ISelection selection) {
+ if (!isAvailable() || !isVisible()) {
+ return;
+ }
if (selection == null || selection.isEmpty()) {
setViewerInput(DebugPlugin.getDefault().getExpressionManager());
} else {

Back to the top