[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Re: busyCursorWhile with disabled cancel button

Opened 189739

Boris Bokowski wrote:
I don't think there is API for this, but you could certainly implement something like this yourself. Feel free to file a bugzilla with an enhancement request, we might be able to add this for 3.4.

Boris

"Ben Vitale" <ben.vitale@xxxxxxxxxxxx> wrote in message news:f31u1k$14s$1@xxxxxxxxxxxxxxxxxxxx
I've found IProgressService.busyCursorWhile(..) to be extremely useful. But in most cases, I'm not able to actually cancel the operation that is executing. I just want to show the busy cursor, then show the "Operation in progress.." shortly thereafter.

It looks like the "cancellable" flag inside the busyCursorWhile method is hardcoded to true.

Is there any way I can use busyCursorWhile and disable the cancel button?

If not, is there an equivalent which grants me that sort of flexibility?

Thanks
Ben