Following this post about RCP application progress report we have the following use case:
- User Action
- Start first Job (unknown length)
- Wait for first Job to finish and start second Job (known length)
- Wait for second Job to finish and start third Job (known length)
We want to show this to the user in the following way:
- Have a main “User Action” dialog without global progress bar (because of the 1st job length is unknown and really variable upon executions length I can’t get an accurate total length) or with an “unknown” length
- In this dialog have 3 sub parts one for each job with one progress bar for each one of this jobs and off course with
IProgressMonitor.UNKNOWNstyle for the first job.
- In this dialog the progress bars will be updated sequentially as the underlying jobs.
This will allow the end user to immediately see that its action is divided into 3 sub-tasks (the sub-tasks are meaningful for end users) and each time a new sub-task is started he can see the length of this sub-task (unknown for the first).
After many searches we were not able to implement that using the Eclipse Job API, and today we are reporting these 3 sub-tasks as 3 individual successive dialogs with the drawback that the end user may initially thinks that his action will be completed at the end of the first unknown sub-task.
How does the Eclipse workbench’s team and YOU handle such situations ?