Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2014-08-05 04:05:08 -0400
committerAnton Leherbauer2014-08-05 04:05:24 -0400
commitd1e9203e54219ac2d5454ea467ede976e1491213 (patch)
tree5e9d827dcd3b48da46abd050465cc62b69b53648
parent422f0ae1aaf1192cdbd88cdc5672b0b129537980 (diff)
downloadorg.eclipse.tcf-d1e9203e54219ac2d5454ea467ede976e1491213.tar.gz
org.eclipse.tcf-d1e9203e54219ac2d5454ea467ede976e1491213.tar.xz
org.eclipse.tcf-d1e9203e54219ac2d5454ea467ede976e1491213.zip
Bug 440871 - Use IModelDelta.INSERTED for added contexts
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
index 99ed157d2..a0c13ac78 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFNodeExecContext.java
@@ -1339,8 +1339,7 @@ public class TCFNodeExecContext extends TCFNode implements ISymbolOwner, ITCFExe
for (TCFModelProxy p : model.getModelProxies()) {
String view_id = p.getPresentationContext().getId();
if (IDebugUIConstants.ID_DEBUG_VIEW.equals(view_id)) {
- /* Note: should use IModelDelta.INSERTED but it is broken in Eclipse 3.6 */
- p.addDelta(this, IModelDelta.ADDED);
+ p.addDelta(this, IModelDelta.INSERTED);
}
else if (ITCFDebugUIConstants.ID_CONTEXT_QUERY_VIEW.equals(view_id)) {
p.addDelta(parent, IModelDelta.CONTENT);

Back to the top