Skip to main content


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 23:30 Go to next message
Rene Auberger is currently offline Rene AubergerFriend
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 05:42 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
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 06:51 Go to previous message
Rene Auberger is currently offline Rene AubergerFriend
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: Fri Apr 19 04:45:50 GMT 2024

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

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

Back to the top