|
Re: Real Wait Cursor? [message #98782 is a reply to message #98751] |
Thu, 17 July 2008 11:26 |
Eclipse User |
|
|
|
Originally posted by: rsternberg.innoopract.com
Hi Andre,
Andre Weber wrote:
> By default, RWT will show a wait cursor on long running events which
> doesn't avoid mouse clicks (background activity mouse cursor).
>
> Is there a possibility to switch to a real wait cursor, which avoids
> mouse clicks and therefore doesn't allow user input until background
> activity has ended up?
We don't block user input during requests as this would lead to a
sluggish user experience. There are a lot of cases where the user issues
multiple clicks or key events in a sequence. Examples are keyboard
navigation in a Table, increasing the value of a Spinner or even typing
into a Text with a ModifyListener attached. The user would always have
to wait a little while between sequential actions.
> Or as an alternative: Is there any chance to block user input in general
> while event handling is running? (imho W4T had the ability to show a
> popup (e.g. a GIF) which blocks any user input)
You can open a modal Shell to block user input. The shell can be
invisible by leaving it empty, borderless (SWT.NONE) and transparent
(Shell#setAlpha).
Hope that helps,
Ralf
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02438 seconds