Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Save the current status of my Views
Save the current status of my Views [message #533093] Wed, 12 May 2010 08:32 Go to next message
moley harey is currently offline moley harey
Messages: 23
Registered: July 2009
Junior Member
Hi folks,

I have a simple RCP App with a single perspective that contains several views.

I would like to know if once the user has been playing with the views, changing its size and location and then closing the App, is possible to "save" those changes so when the user open again the App the Views appear located and sized in the same way the user left them the last time he executed the App.

Does RCP allow to do this?
Re: Save the current status of my Views [message #533170 is a reply to message #533093] Wed, 12 May 2010 13:24 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

In your WorkbenchAdvisor initialize(*) you can set
configurer.setSaveAndRestore(true);

PW

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


Previous Topic:Own Navigator and closed projects
Next Topic:How to Hide import/export function in context menu
Goto Forum:
  


Current Time: Fri Oct 24 18:54:00 GMT 2014

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

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