Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problem with Jobs leaving their taskname in the statusbar
Problem with Jobs leaving their taskname in the statusbar [message #308714] Mon, 02 October 2006 11:38 Go to next message
Eclipse UserFriend
Hi all,

I've implemented several Jobs that seem to be working fine. But every so
often I notice that the taskname of the job is not cleared and remains
untidily in the statusbar. Does anyone one know why this would happen?

Thanks in advance.

Regards,

Tim.
Re: Problem with Jobs leaving their taskname in the statusbar [message #308718 is a reply to message #308714] Mon, 02 October 2006 11:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ola.student.pwr.wroc.pl

Tim Shelley wrote:
> Hi all,
>
> I've implemented several Jobs that seem to be working fine. But every so
> often I notice that the taskname of the job is not cleared and remains
> untidily in the statusbar. Does anyone one know why this would happen?
>
> Thanks in advance.
>
> Regards,
>
> Tim.
>
>

new Job("NAME")
{
public IStatus run (IProgressMonitor pm)
{

/HERE PUT YOUR CODE
pm.done();

return Status.OK_STATUS;
}
}.schedule();
Re: Problem with Jobs leaving their taskname in the statusbar [message #308726 is a reply to message #308718] Mon, 02 October 2006 11:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Thanks for the quick reply. I have already done something similar to try and
solve the issue but using try/finally. The problem still persists.

Regards,

Tim.

"Aleksandra Studenna" <ola@student.pwr.wroc.pl> wrote in message
news:efrc2g$hkq$1@utils.eclipse.org...
> Tim Shelley wrote:
>> Hi all,
>>
>> I've implemented several Jobs that seem to be working fine. But every so
>> often I notice that the taskname of the job is not cleared and remains
>> untidily in the statusbar. Does anyone one know why this would happen?
>>
>> Thanks in advance.
>>
>> Regards,
>>
>> Tim.
>
> new Job("NAME")
> { public IStatus run (IProgressMonitor pm)
> {
>
> /HERE PUT YOUR CODE
> pm.done();
>
> return Status.OK_STATUS;
> }
> }.schedule();
>
>
Re: Problem with Jobs leaving their taskname in the statusbar [message #308762 is a reply to message #308714] Mon, 02 October 2006 20:29 Go to previous messageGo to next message
Eclipse UserFriend
If you are calling done() on the IProgressMonitor and returning
Status.OK_STATUS, maybe it's something else. Could you breakpoint your
done() call and make sure the Job is exiting properly?

Later,
PW
Re: Problem with Jobs leaving their taskname in the statusbar [message #308816 is a reply to message #308762] Wed, 04 October 2006 06:38 Go to previous message
Eclipse UserFriend
Hi,

I've got a JobChangeListener that reports the job has run correctly, I have
a system.out just after the job.done and just before I return OK_STATUS. I'm
not getting any exceptions and does not happen all the time.

Regards,

Tim.

"Paul Webster" <pwebster@ca.ibm.com> wrote in message
news:efsat7$6qj$5@utils.eclipse.org...
> If you are calling done() on the IProgressMonitor and returning
> Status.OK_STATUS, maybe it's something else. Could you breakpoint your
> done() call and make sure the Job is exiting properly?
>
> Later,
> PW
Previous Topic:jar files
Next Topic:how do i know when the perspective being switched?
Goto Forum:
  


Current Time: Sun Jun 08 04:12:31 EDT 2025

Powered by FUDForum. Page generated in 0.03526 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top