Re: Use of ProgressMonitorJobsDialog with job scheduling [message #325592] |
Fri, 22 February 2008 13:54  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
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.
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04038 seconds