Spinner Image by long task [message #139377] |
Mon, 06 July 2009 08:43  |
Eclipse User |
|
|
|
Originally posted by: m.schnelle.msit-solutions.com
Hello,
i'm trying to show a spinner image in a view for long tasks.
For this, i overwrites the showBusy method. In which i implements
the following.
- show the lable with the spinner image
- Display.async the long task
- set visible false of the label with the spinner
but it seems that the entire method runs on the server side.
Before the spinner image was showing on the client.
I'm thinking that i have here a little missunderstanding about the
lifecycle of rap requests. :-)
Could anybody help.
Greetings, Markus
|
|
|
Re: Spinner Image by long task [message #139620 is a reply to message #139377] |
Tue, 07 July 2009 12:46  |
Eclipse User |
|
|
|
Markus Schnelle wrote:
> Hello,
>
> i'm trying to show a spinner image in a view for long tasks.
> For this, i overwrites the showBusy method. In which i implements
> the following.
>
> - show the lable with the spinner image
> - Display.async the long task
> - set visible false of the label with the spinner
>
> but it seems that the entire method runs on the server side.
> Before the spinner image was showing on the client.
>
> I'm thinking that i have here a little missunderstanding about the
> lifecycle of rap requests. :-)
Yes, I think so too;)
see the FAQ on "background thread" and similar,
see the documentation assembled on
http://eclipse.org/rap/documentation.php
see the JavaDoc for asyncExec
browse the newsgroup archive for UI update, background thread, etc.
>
> Could anybody help.
>
> Greetings, Markus
|
|
|
Powered by
FUDForum. Page generated in 0.03012 seconds