Skip to main content


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 21:46 Go to next message
Ronald So is currently offline Ronald SoFriend
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 15:31 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
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 2.1. M1: Flickering on request
Next Topic:How to enable the browser scroll bar, not using rap scroll bar?
Goto Forum:
  


Current Time: Thu Apr 25 09:01:27 GMT 2024

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

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

Back to the top