Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Burns2001-08-16 11:16:15 +0000
committerJared Burns2001-08-16 11:16:15 +0000
commit526cedcc8aa77affd36d148660a1f6b5f5d9005a (patch)
treeffb9d71e83400da479162e0a2b2613b5a1305ae0
parent6a1d050801c6719cf0a8bd6c840b6d9d7d42d616 (diff)
downloadeclipse.platform.debug-526cedcc8aa77affd36d148660a1f6b5f5d9005a.tar.gz
eclipse.platform.debug-526cedcc8aa77affd36d148660a1f6b5f5d9005a.tar.xz
eclipse.platform.debug-526cedcc8aa77affd36d148660a1f6b5f5d9005a.zip
DebugEvent.CHANGE calls refresh() instead of refresh(event.getSource())
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesContentProvider.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesContentProvider.java
index 7e796fb85..a43ee77f2 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesContentProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/VariablesContentProvider.java
@@ -7,7 +7,10 @@ package org.eclipse.debug.internal.ui;
import org.eclipse.debug.core.*;
import org.eclipse.debug.core.model.*;
+import org.eclipse.jface.util.IPropertyChangeListener;
+import org.eclipse.jface.util.PropertyChangeEvent;
import org.eclipse.jface.viewers.ITreeContentProvider;
+import org.eclipse.ui.internal.IPreferenceConstants;
/**
* Provide the contents for a variables viewer.
@@ -63,10 +66,8 @@ public class VariablesContentProvider extends BasicContentProvider implements ID
protected void doHandleDebugEvent(DebugEvent event) {
switch (event.getKind()) {
case DebugEvent.SUSPEND:
- refresh();
- break;
case DebugEvent.CHANGE:
- refresh(event.getSource());
+ refresh();
break;
}
}

Back to the top