Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Displaying Hour Glass
Displaying Hour Glass [message #465078] Thu, 22 March 2007 15:30 Go to next message
Anil is currently offline AnilFriend
Messages: 12
Registered: July 2009
Junior Member
Hi...in my view, user will enter some information and hits on getDetails
button. At this point, information is retrieved from another system and it
takes a while to reload the view with details. I would like to show an
hour glass during this data retrival process. How can this be done in RCP
View?
Re: Displaying Hour Glass [message #465080 is a reply to message #465078] Thu, 22 March 2007 15:43 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
On the view set the cursor.

site.getShell().setCursor(this.site.getShell().getDisplay(). getSystemCursor(SWT.CURSOR_WAIT));
Site is the IViewSite.
But be sure to unset it once you are done. Best is to do this in a
finally clause to make sure that the cursor is set back no matter what.

Regards
Stefan

Anil schrieb:
> Hi...in my view, user will enter some information and hits on getDetails
> button. At this point, information is retrieved from another system and
> it takes a while to reload the view with details. I would like to show
> an hour glass during this data retrival process. How can this be done in
> RCP View?
>
Re: Displaying Hour Glass [message #465082 is a reply to message #465080] Thu, 22 March 2007 17:32 Go to previous message
Anil is currently offline AnilFriend
Messages: 12
Registered: July 2009
Junior Member
Hi Stefan,

That was perfect. It works great. Thanks for your quick reply.

Regards
Anil
Previous Topic:Making Views as Drop Target
Next Topic:Getting a handle to IStatusLineManager
Goto Forum:
  


Current Time: Sat Oct 12 15:24:14 GMT 2024

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

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

Back to the top