Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Check to see if View is minimized
icon5.gif  Check to see if View is minimized [message #1024123] Mon, 25 March 2013 17:46 Go to next message
Ronald So is currently offline Ronald So
Messages: 198
Registered: April 2011
Senior Member
Is it possible to check if a view is minimized? I have developed a dashboard with multiple views, and each of the views contain some elements that will be auto-refreshed in X amount of seconds. I want to be able to stop the refresh if a view is minimized to cut down the use of resource. How can I check the state of the view?

Thanks,
Ronald
Re: Check to see if View is minimized [message #1035252 is a reply to message #1024123] Sat, 06 April 2013 11:31 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger Herrmann
Messages: 563
Registered: July 2009
Senior Member
is IWorkbenchPage#isPartVisible() what you are looking for?

On 25.03.2013 22:46, Ronald So wrote:
> Is it possible to check if a view is minimized? I have developed a
> dashboard with multiple views, and each of the views contain some
> elements that will be auto-refreshed in X amount of seconds. I want to
> be able to stop the refresh if a view is minimized to cut down the use
> of resource. How can I check the state of the view?
>
> Thanks,
> Ronald
--
Rüdiger Herrmann
http://codeaffine.com
Previous Topic:RAP template does not generate BasicEntryPoint
Next Topic:Session timeout causes 403
Goto Forum:
  


Current Time: Tue Jul 22 05:27:14 EDT 2014

Powered by FUDForum. Page generated in 0.02094 seconds