[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Use of ProgressMonitorJobsDialog with job scheduling

Bertrand,

You'll want to ask about it on the platform newsgroup, which I've added to the "to" list of this reply.

Bertrand wrote:
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.