I would like to show progress of multiple Jobs running in parallel, but in only one progress dialog.
But each call to Job.setUser() seems to result in a new progress dialog.
I've tried:
- Setting a common progress group on all the jobs (obtained via IJobManager.createProgressGroup()).
- Having one parent job call setUser() and join a job family to which all the parallel jobs belong. (This results in a message that progress is blocked on the parent job, by the background tasks.)
What pattern can I follow to result in all the parallel jobs appearing in one progress dialog?
org.eclipse.ui.progress.UIJob
? – Zorinaprogress view
source. Essentially the idea is same, what you need to translate isProgress View -> Composite
toYour Dialog -> Composite
. I am combining all the comments and putting it as ans. Hope this will help. – Zorina