Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2012-07-05 15:24:50 +0000
committerMike Rennie2012-07-05 15:25:10 +0000
commit7f838d36513ed33979239489e0dac691b5272d7c (patch)
tree35d6fd73f7c72e1a633ceec71f2da1cc255ad78e
parent053c3e27fcde902c8734e12728afeadac9a2a375 (diff)
downloadeclipse.platform.debug-7f838d36513ed33979239489e0dac691b5272d7c.tar.gz
eclipse.platform.debug-7f838d36513ed33979239489e0dac691b5272d7c.tar.xz
eclipse.platform.debug-7f838d36513ed33979239489e0dac691b5272d7c.zip
Bug 383687 - Memory view is not updated when using Platform renderingsv20120705-152510I20120710-0800
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/MemoryBlockProxy.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/MemoryBlockProxy.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/MemoryBlockProxy.java
index 95c1c56d7..ea17c98f1 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/MemoryBlockProxy.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/update/MemoryBlockProxy.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2006 IBM Corporation and others.
+ * Copyright (c) 2006, 2012 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
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Mikhail Khodjaiants - Bug 383687 - Memory view is not updated when using Platform renderings
*******************************************************************************/
package org.eclipse.debug.internal.ui.viewers.update;
@@ -16,6 +17,7 @@ import org.eclipse.debug.core.model.IDebugElement;
import org.eclipse.debug.core.model.IMemoryBlock;
import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelDelta;
import org.eclipse.debug.internal.ui.viewers.model.provisional.ModelDelta;
+import org.eclipse.jface.viewers.Viewer;
public class MemoryBlockProxy extends EventHandlerModelProxy {
@@ -62,10 +64,12 @@ public class MemoryBlockProxy extends EventHandlerModelProxy {
fMemoryBlock = mb;
}
-
protected DebugEventHandler[] createEventHandlers() {
return new DebugEventHandler[]{fDebugEventHandler};
}
-
+ public void installed(Viewer viewer) {
+ super.installed(viewer);
+ setInstalled(true);
+ }
}

Back to the top