Very short running jobs inside progress group are not shown appropriately in progress view [message #491526] |
Wed, 14 October 2009 17:44  |
Eclipse User |
|
|
|
Hi,
I suppose that there is a bug when the job running time is very, very short
and the job is set in the progress group. Lets consider that we have 3 jobs
in 1 group. If some of this jobs (lets say 3) has the run(...) method like
as :
@Override
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask(getName(), 100);
for (int i = 0; i < 100; i++) {
monitor.worked(1);
}
monitor.done();
return Status.OK_STATUS;
}
The final result in progress view will be the following:
Group
ok // job1
ok // job2
ok // job3
Job3 (Finished at ...)
ok // job 3 once again
Note that this is the case when the
setProperty(IProgressConstants.KEEP_PROPERTY, true) is set for jobs.
If I am doing something wrong, please correct me..
Regards,
DL
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07278 seconds