Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2010-05-04 16:36:04 -0400
committerMichael Rennie2010-05-04 16:36:04 -0400
commitd2b5f684f1914f26d7c39b69aaaeb314b0646cbc (patch)
tree6ac98fd9b2c7a8f24082523a20ae3f8d44f7195f
parentd62878bccb580bdef3b11cd30a3e2d0994257803 (diff)
downloadeclipse.platform.debug-d2b5f684f1914f26d7c39b69aaaeb314b0646cbc.tar.gz
eclipse.platform.debug-d2b5f684f1914f26d7c39b69aaaeb314b0646cbc.tar.xz
eclipse.platform.debug-d2b5f684f1914f26d7c39b69aaaeb314b0646cbc.zip
Bug 309703 - Detail panel of the Breakpoints view is not cleaned up when all breakpoint are removed
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/MessageDetailPane.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/MessageDetailPane.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/MessageDetailPane.java
index 100a9a83a..8fb621870 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/MessageDetailPane.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/details/MessageDetailPane.java
@@ -83,6 +83,10 @@ public class MessageDetailPane implements IDetailPane {
fLabel.setText(message);
fControlParent.layout(true);
}
+ } else if (selection == null || selection.isEmpty()) {
+ // clear the message
+ fLabel.setText(""); //$NON-NLS-1$
+ fControlParent.layout(true);
}
}

Back to the top