Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2009-04-30 12:56:48 -0400
committerDarin Wright2009-04-30 12:56:48 -0400
commit0b5363d33a1941a712e42cf1ac8d02a5e5aa5caf (patch)
tree80e51653d578298e9ff6f62b218a3a779c973afc
parent948768e4418f233b795110b37bcf5df402eb521f (diff)
downloadeclipse.platform.debug-0b5363d33a1941a712e42cf1ac8d02a5e5aa5caf.tar.gz
eclipse.platform.debug-0b5363d33a1941a712e42cf1ac8d02a5e5aa5caf.tar.xz
eclipse.platform.debug-0b5363d33a1941a712e42cf1ac8d02a5e5aa5caf.zip
Bug 274358 - Show Thread Group option not propery updated in debug view
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ChildrenUpdate.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ChildrenUpdate.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ChildrenUpdate.java
index cbe7d1cdb..bc17d93a1 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ChildrenUpdate.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/ChildrenUpdate.java
@@ -57,13 +57,10 @@ public class ChildrenUpdate extends ViewerUpdateMonitor implements IChildrenUpda
int viewIndex = provider.modelToViewIndex(elementPath, modelIndex);
if (provider.shouldFilter(elementPath, element)) {
if (provider.addFilteredIndex(elementPath, modelIndex, element)) {
- if (viewer.getChildElement(elementPath, viewIndex) == null) {
- // only remove the element if currently unmapped
- if (ModelContentProvider.DEBUG_CONTENT_PROVIDER && (ModelContentProvider.DEBUG_PRESENTATION_ID == null || ModelContentProvider.DEBUG_PRESENTATION_ID.equals(getPresentationContext().getId()))) {
- System.out.println("REMOVE(" + getElement() + ", modelIndex: " + modelIndex + " viewIndex: " + viewIndex + ", " + element + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
- }
- viewer.remove(elementPath, viewIndex);
+ if (ModelContentProvider.DEBUG_CONTENT_PROVIDER && (ModelContentProvider.DEBUG_PRESENTATION_ID == null || ModelContentProvider.DEBUG_PRESENTATION_ID.equals(getPresentationContext().getId()))) {
+ System.out.println("REMOVE(" + getElement() + ", modelIndex: " + modelIndex + " viewIndex: " + viewIndex + ", " + element + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
}
+ viewer.remove(elementPath, viewIndex);
}
} else {
if (provider.isFiltered(elementPath, modelIndex)) {

Back to the top