|
Re: Changing Mouse Cursor [message #115139 is a reply to message #115113] |
Tue, 09 December 2008 20:40 |
|
Hi Gunnar,
thanks for reporting this issue.
Gunnar Wurl wrote:
> I wanted to change the mouse cursor in an application containing
> multiple tabfolders which contain tables using the
> Display.getCurrent().getActiveShell().setCursor method to the busy
> cursor. But the cursor is just set busy for parts of the shell.
But it is set somewhere? I just tested with a simple snippet and found
that the custom cursor on a shell was not shown at all!
> In a RCP
> application the cursor is set to busy for every child. Trying to set the
> cursor to SWT.WAIT for the tables manually did not work in the RAP
> application. I wanted to ask if their is another way to change the
> cursor for the whole application.
This is obviously a bug. Could you please file a bugzilla entry?
Regards, Ralf
|
|
|
|
|
Re: Changing Mouse Cursor [message #115261 is a reply to message #115224] |
Wed, 10 December 2008 11:56 |
|
Gunnar Wurl wrote:
> Thank you,
>
> I filed a Bug Report and tried the BusyIndicator.showWhile method. But
> it is not really working for me. In my case when the user selects an
> item in a table, a shell which contains more detailed info on the
> selected item opens. The process of creating and filling the shell
> doesn't take much time. The problem seems to be opening the shell. The
> command returns fast so no busy cursor is displayed, but it takes about
> one or two seconds until the new shell is displayed. Is there a
> possibility making the application wait until the shell is displayed so
> that the cursor is shown?
Thanks for the bug report.
I don't see a simple solution for your problem and I don't like to
recommend something like including a Thread.sleep in your Runnable...
Ralf
|
|
|
Powered by
FUDForum. Page generated in 0.03134 seconds