Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » View maximized/restored?
View maximized/restored? [message #459715] Wed, 06 December 2006 14:32 Go to next message
Eclipse UserFriend
Originally posted by: arnold.cota.sas.com

Hi,
I need to change the layout of a view depending on if its maximized or
restored (non maximized). Is there an event I can listen to tell when this
happens?

Thanks
Re: View maximized/restored? [message #459743 is a reply to message #459715] Thu, 07 December 2006 00:43 Go to previous message
Eclipse UserFriend
You can try to attach:

shell.addListener(SWT.Resize, listener)

And then, in your listener check shell.getMaximized() status.

Arnold Cota wrote:
> Hi,
> I need to change the layout of a view depending on if its maximized or
> restored (non maximized). Is there an event I can listen to tell when
> this happens?
>

--
With best regards, Michael Spector
Previous Topic:Error Log plugin
Next Topic:n00b qn: RCP runtime classpath?
Goto Forum:
  


Current Time: Sun Mar 16 18:43:39 EDT 2025

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

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

Back to the top