Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Assigning a ProgressMonitor to a Job

Hi all,

I'm working on implementing a dedicated report dialog for a long running job ( https://wiki.eclipse.org/E4/UI/Smart_Import ). I'd like this dialog to have a ProgressMonitor, just like the Wizard Dialog can have, in order to report job execution progress.
However, the job can be detached (there would be a "Run In Background" button), so if I understand correctly it's still necessary to have it implementing Job rather than IRunnableWithContext. However, I don't get how to specify to the job which progress monitor to use, or specify to the progress monitor which job to monitor.
Is this possible? Do you have a hint?

Cheers,
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top