Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to restore a minimised view?(...without putting into "fast view" mode!)
icon5.gif  How to restore a minimised view? [message #662276] Wed, 30 March 2011 02:51 Go to next message
SBS  is currently offline SBS Friend
Messages: 57
Registered: January 2011
Member
I would like to be able to programmatically restore a minimised view to its prior non-minimised state and location. However, whenever I try code similar to
activePage.showView(viewId)
or
activePage.activate(viewPart)

the view is shown but it appears in the wrong place and in "fast view" mode which is not what I want.

I just want the view to go back to its previous state. How can I achieve this?
Re: How to restore a minimised view? [message #662361 is a reply to message #662276] Wed, 30 March 2011 11:34 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Use org.eclipse.ui.IWorkbenchPage.setPartState(IWorkbenchPartRef erence, int)

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Previous Topic:Exception when unlocking windows' screensaver
Next Topic:Can a JFace Dialog have a toolbar?
Goto Forum:
  


Current Time: Fri Nov 28 04:40:31 GMT 2014

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

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