Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Saving workbench layout on program exit(So that it remembers the layout next time it is run)
icon5.gif  Saving workbench layout on program exit [message #696843] Thu, 14 July 2011 23:37 Go to next message
SBS  is currently offline SBS Friend
Messages: 57
Registered: January 2011
Member
I would like my RCP application to "remember" the layout of views between executions of the program. I am sure this must be possible because the Eclipse IDE itself does this but I do not know how to do it. Can someone point me in the right direction?

Thanks,

-sbs
Re: Saving workbench layout on program exit [message #696982 is a reply to message #696843] Fri, 15 July 2011 08:53 Go to previous message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

In your ApplicationWorkbenchAdvisor class, override method public void initialize(IWorkbenchConfigurer configurer) and add this:

configurer.setSaveAndRestore(true);

HTH, bye

Giovanni
Previous Topic:how to set the color of text in state line
Next Topic:Help content in Eclipse RCP application
Goto Forum:
  


Current Time: Sat Apr 20 01:03:17 GMT 2024

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

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

Back to the top