Wizards + IRunnableWithProgress + Avoiding disabling controls [message #507973] |
Fri, 15 January 2010 06:48 |
Eclipse User |
|
|
|
Hello,
We are running a long running job within a wizard page using the
following pattern:
getContainer().run(true, true, new IRunnableWithProgress() ..
This works fine except it blocks the controls in the wizard page (apart
from the cancel button). We have a table displayed in the page which is
detailing results of the worker thread, the user should be able to
scroll the table to view the rows. Although we can explicit re-enable
the table after the runnable has kicked off, the cursor still remains
busy when hovering over the control. There must be an elegant way to
realise this?
Thanks,
James
|
|
|
Re: Wizards + IRunnableWithProgress + Avoiding disabling controls [message #508034 is a reply to message #507973] |
Fri, 15 January 2010 05:46  |
Eclipse User |
|
|
|
Hello James. Perhaps attach a MouseTrackListener to the table and switch and
restore the cursor with Control.setCursor()?
Brian,
James Willans wrote:
> Hello,
>
> We are running a long running job within a wizard page using the
> following pattern:
>
> getContainer().run(true, true, new IRunnableWithProgress() ..
>
> This works fine except it blocks the controls in the wizard page (apart
> from the cancel button). We have a table displayed in the page which is
> detailing results of the worker thread, the user should be able to
> scroll the table to view the rows. Although we can explicit re-enable
> the table after the runnable has kicked off, the cursor still remains
> busy when hovering over the control. There must be an elegant way to
> realise this?
>
> Thanks,
>
> James
|
|
|
Powered by
FUDForum. Page generated in 0.04354 seconds