Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » IWorkbenchConfigurer->setSaveAndRestore and perspectives.
IWorkbenchConfigurer->setSaveAndRestore and perspectives. [message #632797] Thu, 14 October 2010 10:23 Go to next message
Jan Kohnert is currently offline Jan KohnertFriend
Messages: 192
Registered: July 2009
Senior Member
Hello.

I'm setting the IWorkbenchConfigurer's option "saveAndRestore" to true in my Applications ApplikationWorkbenchAdvisers initialize method. How can I make it possible for my application, to open allways one specific perspective despite this setting? I want to use the save and restore functionality but without its perspective restoring abilitys.

Thanks,
Jan
Re: IWorkbenchConfigurer->setSaveAndRestore and perspectives. [message #632814 is a reply to message #632797] Thu, 14 October 2010 10:32 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 5467
Registered: July 2009
Senior Member
You need to switch back to the default one before shutting down.

Tom

Am 14.10.10 12:23, schrieb Jan Kohnert:
> Hello.
>
> I'm setting the IWorkbenchConfigurer's option "saveAndRestore" to true
> in my Applications ApplikationWorkbenchAdvisers initialize method. How
> can I make it possible for my application, to open allways one specific
> perspective despite this setting? I want to use the save and restore
> functionality but without its perspective restoring abilitys.
>
> Thanks,
> Jan
>
Previous Topic:More than one Handler for a command
Next Topic:help on status manager and (a)syncExec
Goto Forum:
  


Current Time: Wed Nov 26 00:55:59 GMT 2014

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

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