Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Spinner Image by long task
Spinner Image by long task [message #139377] Mon, 06 July 2009 08: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 12:46 Go to previous message
Eclipse UserFriend
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: Mon Jul 14 04:26:53 EDT 2025

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

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

Back to the top