|
Re: [how to] set "save and restore" in WorkbenchConfigurer? (so that EditorHistory will be [message #294954 is a reply to message #294948] |
Sun, 20 November 2005 09:51 |
Eclipse User |
|
|
|
Originally posted by: daniel.rohe.stud.tu-ilmenau.de
From your question I think you are working on an RCP application. In
your WorkbenchAdvisor class you can enable save and restore with
setSaveAndRestore(true) on the IWorkbenchConfigurer you get in the
initialize method.
Kind regards,
Daniel
Paul Keyser schrieb:
> R3.1.1
>
> I discover by spelunking that when Workbench.close() is called, the
> internal.WorkbenchConfigurer controls whether EditorHistory is saved.
> However, I do not discover anywhere how to set
> internal.WorkbenchConfigurer "saveAndRestore". There seems to be no way
> to get a pointer to internal.WorkbenchConfigurer (in fact the javadocs
> suggest effort was expended to prevent that), and I do not find anywhere
> a call to the relevant settor method of internal.WorkbenchConfigurer.
>
> The Help docs have precisely nothing ("no hits found") on the topic;
> this newsgroup likewise has almost nothing.
>
> Yet clearly in many cases the EditorHistory is saved -- but in my app,
> it is not.
>
> any ideas?
>
> thanks,
> Paul
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02915 seconds