Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Remember perspective layout
Remember perspective layout [message #327420] Fri, 18 April 2008 09:40 Go to next message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Hi,

I have made an RCP app with its own perspective. It isn't fixed, so the
end user can freely change the layout.

How can I make the perspective layout to be restored when the app starts
again?
I have already searched for this info in the docs, but seen nothing. :-(

Thanks in advance for any hint.
Re: Remember perspective layout [message #327421 is a reply to message #327420] Fri, 18 April 2008 10:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: valere.fedronic.ext.streamezzo.com

Hi,
I think this should do the trick ;)

WorkbenchAdvisor#initialize(IWorkbenchConfigurer configurer)
{
...
configurer.setSaveAndRestore(true);
...
}

valere.

David Perez a écrit :
> Hi,
>
> I have made an RCP app with its own perspective. It isn't fixed, so the
> end user can freely change the layout.
>
> How can I make the perspective layout to be restored when the app starts
> again?
> I have already searched for this info in the docs, but seen nothing. :-(
>
> Thanks in advance for any hint.
>
Re: Remember perspective layout [message #327422 is a reply to message #327421] Fri, 18 April 2008 10:54 Go to previous message
David  Pérez is currently offline David PérezFriend
Messages: 228
Registered: July 2009
Senior Member
Thanks Valere, it does the trick :)
I like more and more Eclipse RCP as time goes by.

valere fedronic wrote:

> Hi,
> I think this should do the trick ;)

> WorkbenchAdvisor#initialize(IWorkbenchConfigurer configurer)
> {
> ...
> configurer.setSaveAndRestore(true);
> ...
> }

> valere.
Previous Topic:Getting the default modifier key for hyperlinks from the preference store
Next Topic:[PDE] Public API to modify MANIFEST.MF
Goto Forum:
  


Current Time: Thu Dec 26 13:08:16 GMT 2024

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

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

Back to the top