Bug 149471

Summary: [WorkbenchParts] IWorkbench#saveAllEditors(..) does not tell which editors could not be saved
Product: [Eclipse Project] Platform Reporter: Markus Keller <markus.kell.r>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: bokowski
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 147900    

Description Markus Keller CLA 2006-07-03 11:15:51 EDT
I20060628-1135

IWorkbench#saveAllEditors(..) does not tell which editors could not be saved. We would should have a "save all" method that reports back which editors could not be saved. Currently, clients of saveAllEditors(..) only get a boolean (failed/ok), but they cannot tell the user which editors could not be saved.

This is e.g. a problem in the scenario from bug 147900, where a completely unrelated editor stopped the user from applying a refactoring.
Comment 1 Boris Bokowski CLA 2007-06-22 09:39:00 EDT
Does IWorkbench.saveAll(...) help? It's @since 3.3.
Comment 2 Markus Keller CLA 2007-06-22 13:08:57 EDT
IWorkbench.saveAll(...) would not help, but looking at bug 147900 again, I now think that bug is invalid, so I won't need this at all. The remaining open questions can be solved in bug 149469.
Comment 3 Boris Bokowski CLA 2007-06-22 13:50:32 EDT
(In reply to comment #2)
> IWorkbench.saveAll(...) would not help

Why not?  I thought you guys now implement ISaveablesSource, so there should be a way to trigger a save of just those editors that are related...?
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:15:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.