Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2010-09-28 14:54:50 -0400
committerDarin Wright2010-09-28 14:54:50 -0400
commitdc70d8ac9d9fa2a4349d6a4dca1d55fee2b9e108 (patch)
tree4be48c314c1134c285deec49f179b47e504a2ca0
parent9843a344786f4b3fa6155d2d2ca01d30d92b696c (diff)
downloadeclipse.platform.debug-dc70d8ac9d9fa2a4349d6a4dca1d55fee2b9e108.tar.gz
eclipse.platform.debug-dc70d8ac9d9fa2a4349d6a4dca1d55fee2b9e108.tar.xz
eclipse.platform.debug-dc70d8ac9d9fa2a4349d6a4dca1d55fee2b9e108.zip
[r361 - maintenance] Bug 326152 - [Memory View] new monitors added while Memory view is hidden or closed are not shown in the tree
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewTreeModelContentProvider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewTreeModelContentProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewTreeModelContentProvider.java
index 85824ddb7..18856e19f 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewTreeModelContentProvider.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/MemoryViewTreeModelContentProvider.java
@@ -21,13 +21,13 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.TreeModelViewer;
public class MemoryViewTreeModelContentProvider extends
TreeModelContentProvider {
- protected void updateNodes(IModelDelta[] nodes) {
+ protected void updateNodes(IModelDelta[] nodes, int mask) {
if (getViewer() instanceof TreeModelViewer)
{
for (int i = 0; i < nodes.length; i++) {
IModelDelta node = nodes[i];
- int flags = node.getFlags();
+ int flags = node.getFlags() & mask;
if ((flags & IModelDelta.ADDED) != 0) {
if (node.getElement() instanceof IMemoryBlock) {
@@ -79,7 +79,7 @@ public class MemoryViewTreeModelContentProvider extends
if ((flags & IModelDelta.UNINSTALL) != 0) {
handleUninstall(node);
}
- updateNodes(node.getChildDeltas());
+ updateNodes(node.getChildDeltas(), mask);
}
}
}

Back to the top