Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2004-11-23 20:13:53 +0000
committerDarin Wright2004-11-23 20:13:53 +0000
commit95ff19909064e88e7a21b25152f59907045e6ba7 (patch)
tree49f024b34f27387b514f6a7564dc80848096bcc2
parent5895d28f98d08dbd3d082c2622e3f6e82c3a1ae6 (diff)
downloadeclipse.platform.debug-95ff19909064e88e7a21b25152f59907045e6ba7.tar.gz
eclipse.platform.debug-95ff19909064e88e7a21b25152f59907045e6ba7.tar.xz
eclipse.platform.debug-95ff19909064e88e7a21b25152f59907045e6ba7.zip
*** empty log message ***
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/RemoteTreeContentManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/RemoteTreeContentManager.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/RemoteTreeContentManager.java
index efc1e578a..51a6a462d 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/RemoteTreeContentManager.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/RemoteTreeContentManager.java
@@ -9,7 +9,7 @@
*******************************************************************************/
package org.eclipse.debug.internal.ui.views;
-import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.jface.viewers.ITreeContentProvider; import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.ui.internal.progress.PendingUpdateAdapter; import org.eclipse.ui.progress.DeferredTreeContentManager; import org.eclipse.ui.progress.IDeferredWorkbenchAdapter; import org.eclipse.ui.progress.IElementCollector; import org.eclipse.ui.progress.WorkbenchJob; /**
+import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; import org.eclipse.jface.viewers.ITreeContentProvider; import org.eclipse.ui.IWorkbenchPartSite; import org.eclipse.ui.internal.progress.PendingUpdateAdapter; import org.eclipse.ui.progress.DeferredTreeContentManager; import org.eclipse.ui.progress.IDeferredWorkbenchAdapter; import org.eclipse.ui.progress.IElementCollector; import org.eclipse.ui.progress.WorkbenchJob; /**
* A remote content manager that merges content into a tree rather then replacing * its children with a "pending" node, and then the real children when they are available. * This avoids collapsing the viewer when a refresh is performed. This implementation is * currently tied to the <code>RemoteTreeViewer</code>. * * @since 3.1
*/
public class RemoteTreeContentManager extends DeferredTreeContentManager {
@@ -122,7 +122,7 @@ public class RemoteTreeContentManager extends DeferredTreeContentManager {
return Status.OK_STATUS;
}
};
- updateJob.setSystem(true);
+ updateJob.setSystem(true); updateJob.setPriority(Job.INTERACTIVE);
updateJob.schedule();
}
@@ -151,6 +151,6 @@ public class RemoteTreeContentManager extends DeferredTreeContentManager {
return Status.OK_STATUS;
}
};
- updateJob.setSystem(true);
+ updateJob.setSystem(true); updateJob.setPriority(Job.INTERACTIVE);
updateJob.schedule();
} /* (non-Javadoc) * @see org.eclipse.ui.progress.DeferredTreeContentManager#runClearPlaceholderJob(org.eclipse.ui.internal.progress.PendingUpdateAdapter) */ protected void runClearPlaceholderJob(PendingUpdateAdapter placeholder) { // the placeholder is not used when there were already children in the tree (null) if (placeholder != null) { super.runClearPlaceholderJob(placeholder); } } }

Back to the top