Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IProgressService vs Jobs API
IProgressService vs Jobs API [message #890002] Wed, 20 June 2012 10:24 Go to previous message
Jan Krakora is currently offline Jan Krakora
Messages: 402
Registered: December 2009
Location: Prague
Senior Member
Hi,

could someone explain me what is the best way to run long running tasks?

There are few options:

  1. the IProgressService with its:

    • busyCursorWhile(IRunnableWithProgress runnable)
    • run(boolean fork, boolean cancelable, IRunnableWithProgress runnable)
    • showInDialog(Shell shell, Job job)

  2. the IWorkbenchWindow.run(boolean fork, boolean cancelable, IRunnableWithProgress runnable)
  3. the Jobs API with its own progress UI

I'm little confused what to select.
 
Read Message
Read Message
Read Message
Previous Topic:How to create workspace with project automaticly
Next Topic:Show "Colors & Fonts" in my preferences
Goto Forum:
  


Current Time: Wed May 22 09:57:53 EDT 2013

Powered by FUDForum. Page generated in 0.01977 seconds