Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » View Maximize Event
View Maximize Event [message #483636] Wed, 02 September 2009 12:22 Go to next message
Eclipse UserFriend
Originally posted by: Yo.gi.com

Is it possible to catch the event when a view is maximized?

I am trying to trigger another event when this occurs.
Re: View Maximize Event [message #483652 is a reply to message #483636] Wed, 02 September 2009 13:28 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

I don't see a way. I would open a bug at https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform &component=UI

Maybe the IPerspectiveListener should add some noew CHANGE_* IDs to handle view maximized/minimized events.

PW


Re: View Maximize Event [message #483673 is a reply to message #483652] Wed, 02 September 2009 14:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Yo.gi.com

So I guess there is no other way. Is there an event to capture view
restore from being maximized?
Re: View Maximize Event [message #483733 is a reply to message #483673] Wed, 02 September 2009 18:30 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

No, that would have to be part of the enhancement request.
PW


Re: View Maximize Event [message #485808 is a reply to message #483733] Tue, 15 September 2009 07:13 Go to previous message
vikash kumar is currently offline vikash kumarFriend
Messages: 7
Registered: July 2009
Junior Member
the only way is two capture those events by implementing own presentation
layout extending StackPresentation. I implemented own presentation layer
and listened to to these event by applying a dependency.
/**
* Represents the main interface between a StackPresentation and the
workbench.
*
* Not intended to be implemented by clients.
*
* @since 3.0
*/
public interface IStackPresentationSite {
public static int STATE_MINIMIZED = 0;

public static int STATE_MAXIMIZED = 1;

public static int STATE_RESTORED = 2;
Previous Topic:[jface.viewers] How do discriminate active and non-active links in ColumnViewer?
Next Topic:Console view in RCP hangs for many messages
Goto Forum:
  


Current Time: Thu Apr 25 07:37:33 GMT 2024

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

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

Back to the top