How do I save editor state? [message #464891] |
Sun, 18 March 2007 23:34 |
Eclipse User |
|
|
|
Originally posted by: bdberry.us.ibm.com
I have already created EditorInput that implements IPersistableElement
which lets the editor input itself get returned from the EditorInput
getPersistable() method. I also have an ElementFactory extension that
should be able to rebuild my EditorInput from the memento. the problem
is - at no point is the saveState() method being called from my editor
input. Any ideas?
This used to work in my previous Eclipse 3.2.1 env - now seems like it
does not function the same in 3.2.2 - am I forgetting something simple here?
|
|
|
|
Re: How do I save editor state? [message #464904 is a reply to message #464892] |
Mon, 19 March 2007 21:06 |
Eclipse User |
|
|
|
Originally posted by: bdberry.us.ibm.com
Daniel Megert wrote:
> Brian Berry wrote:
>
>> I have already created EditorInput that implements IPersistableElement
>> which lets the editor input itself get returned from the EditorInput
>> getPersistable() method. I also have an ElementFactory extension that
>> should be able to rebuild my EditorInput from the memento. the
>> problem is - at no point is the saveState() method being called from
>> my editor input. Any ideas?
>
> I suggest you debug into EditorManager.saveEditorState
>
> Dani
>
>>
>> This used to work in my previous Eclipse 3.2.1 env - now seems like it
>> does not function the same in 3.2.2 - am I forgetting something simple
>> here?
that method never gets called. Am I supposed to be forcing the editor
state save?
|
|
|
|
Powered by
FUDForum. Page generated in 0.05661 seconds