[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Very fast Job leaves behind two entries in progress viewer

Hi Felix and all,

Solved my problem. It was -- as in so many cases -- my fault.

From my Job object's run method I was (wrongly) returning a
Status.CANCEL_STATUS as a result of an internal error condition of my business logic. So I guess Eclipse got confused because the user had not cancelled the Job.

Have since changed it to return an object of my own status class (implementing IStatus) and it now works just fine.

Cheers,
Joerg