Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to receive events for ViewPart(I'd like to react on event such as minimized for a ViewPart)
How to receive events for ViewPart [message #489790] Mon, 05 October 2009 19:30 Go to next message
Rene Auberger is currently offline Rene Auberger
Messages: 2
Registered: July 2009
Junior Member
Hello all,

I am writing a plugin for Eclipse RCP and would like to know within my plugin if the ViewPart is minimized, hidden or visible. That is because it should only perform work when it is visible but do nothing when it's hidden or minimized. Any idea on how to accomplish that?

Regards,
René
Re: How to receive events for ViewPart [message #489810 is a reply to message #489790] Tue, 06 October 2009 01:42 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
Rene Auberger wrote:

> I am writing a plugin for Eclipse RCP and would like to know within my
> plugin if the ViewPart is minimized, hidden or visible.

partHidden() & partVisible() in IPartListener2

- Prakash

Platform UI Team, IBM
http://blog.eclipse-tips.com
Re: How to receive events for ViewPart [message #489818 is a reply to message #489810] Tue, 06 October 2009 02:51 Go to previous message
Rene Auberger is currently offline Rene Auberger
Messages: 2
Registered: July 2009
Junior Member
Prakash,
thank you very much. I'll try these. Do you know if there are additional events (not only related to hidden/visible) in Lotus Notes 8 for com.ibm.rcp.ui.shelfViews compared to org.eclipse.ui.views? Maybe I discover something that can be helpfull, too.

Regards,
René
Previous Topic:How to make different file name in common navigator?
Next Topic:How to create a RCP programatically?
Goto Forum:
  


Current Time: Tue Sep 02 02:51:01 EDT 2014

Powered by FUDForum. Page generated in 0.05898 seconds