Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 237599 Details for
Bug 364661
In DeferredTreeContentManager - ProgressMessages.get() called out of UI Context
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed Patch
git.diff (text/plain), 1.14 KB, created by
Mark Leone
on 2013-11-20 16:47:54 EST
(
hide
)
Description:
Proposed Patch
Filename:
MIME Type:
Creator:
Mark Leone
Created:
2013-11-20 16:47:54 EST
Size:
1.14 KB
patch
obsolete
>diff --git a/org/eclipse/ui/progress/DeferredTreeContentManager.java b/org/eclipse/ui/progress/DeferredTreeContentManager.java >index 2b89595..ed9b07e 100644 >--- a/org/eclipse/ui/progress/DeferredTreeContentManager.java >+++ b/org/eclipse/ui/progress/DeferredTreeContentManager.java >@@ -226,8 +226,14 @@ public class DeferredTreeContentManager { > * > * @see org.eclipse.core.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor) > */ >- public IStatus run(IProgressMonitor monitor) { >- adapter.fetchDeferredChildren(parent, collector, monitor); >+ public IStatus run(final IProgressMonitor monitor) { >+ display.asyncExec(new Runnable() { >+ >+ public void run() { >+ adapter.fetchDeferredChildren(parent, collector, monitor); >+ } >+ >+ }); > if (monitor.isCanceled()) { > return Status.CANCEL_STATUS; > } >@@ -385,7 +391,7 @@ public class DeferredTreeContentManager { > } > > // Clear the placeholder if it is still there >- WorkbenchJob clearJob = new WorkbenchJob( >+ WorkbenchJob clearJob = new WorkbenchJob(display, > ProgressMessages.get( display ).DeferredTreeContentManager_ClearJob) { > /* > * (non-Javadoc)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 364661
:
207450
|
208729
| 237599