Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 197338

Summary: [e3.5] [context] restore context editors when no mementos are available, e.g. for context transfer or retrieve
Product: z_Archived Reporter: Willian Mitsuda <wmitsuda>
Component: MylynAssignee: Shawn Minto <shawn.minto>
Status: CLOSED MOVED QA Contact:
Severity: trivial    
Priority: P2 CC: dak2009, nepoez, steffen.pingel, tomasz.zarna
Version: devKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Willian Mitsuda CLA 2007-07-20 16:34:55 EDT
While working on bug#193849, I accidentally deleted the context, so I tried to retrieve it from the bug.

The problem is that after retrieving and activating the task, the editors were not restored.
Comment 1 Mik Kersten CLA 2007-07-23 23:55:51 EDT
This is because we now user a memento-based mechanism for restoring editors and consider editor mementos to be a workspace-specific mechanism.  However, if a Memento is lacking what we could do is fall back to our old strategy of explicitly opening editors up to some maximum (e.g. 8 as before).  For transfers local to the workspace (e.g. copy) we could explicitly copy the memento.
Comment 2 Mik Kersten CLA 2007-07-23 23:56:20 EDT
*** Bug 194615 has been marked as a duplicate of this bug. ***
Comment 3 Mik Kersten CLA 2008-02-21 00:36:42 EST
Need to postpone any restore changes to 3.0.
Comment 4 Mik Kersten CLA 2008-06-12 12:26:03 EDT
Need to postpone again.
Comment 5 Mik Kersten CLA 2009-02-26 14:27:07 EST
Can't currently prioritize this enhancement.  We could take a patch if anyone is intersted.
Comment 6 Mik Kersten CLA 2009-03-04 17:09:51 EST
Much easier now that we have API from bug 183602.
Comment 7 Lucius Yu CLA 2009-05-12 18:36:05 EDT
The fact that the files opened is not in the context export is really bad!  
Comment 8 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn