Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 44296 - [EditorMgmt] Open/Close Project: Saving/Restoring Open Editors and Cursor Positions
Summary: [EditorMgmt] Open/Close Project: Saving/Restoring Open Editors and Cursor Pos...
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 44295
Blocks:
  Show dependency tree
 
Reported: 2003-10-07 09:18 EDT by Karl-Heinz Damm CLA
Modified: 2009-08-30 02:32 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Heinz Damm CLA 2003-10-07 09:18:30 EDT
Saving open editors list and cursor positions when closing a project 
with "Close Project".

Restoring formerly open editors and cursor positions in texteditor windows when 
re-opening a project with "Open Project".
Comment 1 Dani Megert CLA 2003-10-07 09:33:32 EDT
Platform UI would have to do the restoring of the IEditorPart(s).
Comment 2 Nick Edgar CLA 2003-10-07 23:17:57 EDT
Editors should be able to save/restore their state in the same way that views 
do (see IViewPart.saveState(IMemento)).

However, I'm not sure I agree that editors should be saved/restored when a 
project is closed/reopened.

I'd like to understand how you're using project open/close at a higher level.
Using project open/close to manage editor clutter seems pretty heavyweight.
Comment 3 Dani Megert CLA 2003-10-08 03:58:41 EDT
>Editors should be able to save/restore their state in the same way that views 
>do (see IViewPart.saveState(IMemento)).

This would allow to implement feature  44295.
Comment 4 Nick Edgar CLA 2004-05-05 00:26:55 EDT
Sorry, not for 3.0.  Will consider post-3.0.
Comment 5 Eclipse Webmaster CLA 2009-08-30 02:32:45 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.