| [news.eclipse.platform] Re: Use of ProgressMonitorJobsDialog with job scheduling |
Bertrand,
Hi,
I ve got many difficulties to use the ProgressMonitorJobsDialog in order to display the progress of jobs.
I want to display my own dialog (extends from progressMonitorJobsDialog) during the execution of my job.
For a normal dialog (with ok, cancel and run in background), I use the IProgressService get from IProgressService progressService = PlatformUI.getWorkbench().getProgressService();
And I display the dialog thanks to
progressService.showInDialog(shell, MyJob);
Then I schedule my job (MyJob.schedule) and when the job is running, my dialog appears.
How could I get the same behaviour with my own progressMonitorJobsDialog, id est how could I link my own dialog box to the progressService ?
Thanks for your help.