Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Displaying Hour Glass
Displaying Hour Glass [message #465078] Thu, 22 March 2007 11:30 Go to next message
Eclipse UserFriend
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 11:43 Go to previous messageGo to next message
Eclipse UserFriend
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 13:32 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 08:22:05 EDT 2025

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

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

Back to the top