Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Spinner Image by long task
Spinner Image by long task [message #139377] Mon, 06 July 2009 12:43 Go to next message
Eclipse UserFriend
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 16:46 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
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
Previous Topic:cell editors on client-side
Next Topic:TinyMCE integration in RAP
Goto Forum:
  


Current Time: Sun Nov 28 00:43:18 GMT 2021

Powered by FUDForum. Page generated in 0.02108 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top