Bug 58085

Summary: [WorkingSets] Option: Keep open only projects of current working set (close other projects automatically)
Product: [Eclipse Project] Platform Reporter: Nobody - feel free to take it <nobody>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: mn, nikolaymetchev
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=519771
Whiteboard:
Attachments:
Description Flags
Proposed implementation
mn: review?
Adds commands mn: review?

Description Nobody - feel free to take it CLA 2004-04-10 18:46:37 EDT
There should be an option allowing to keep open only those projects that are 
part of the currently selected working set.

When selecting a working set to be used
  - projects included in the working set should be opened
  - projects not included in the working set should be closed

For example, I work on different "project groups" that are completely 
disjoint. I use a working set for each group. Every time I switch from group A 
to group B, I need to close all projects of group A manually, then switch to 
the working set for group B and finally open all projects of group B manually.

Eclipse should provide an option doing all that in one step.
Comment 1 Tod Creasey CLA 2004-04-19 12:34:16 EDT
Not for 3.0
Comment 2 Tod Creasey CLA 2004-06-28 11:27:28 EDT
Reopening now that 3.0 has shipped
Comment 3 Kim Horne CLA 2007-06-20 15:09:27 EDT
Might be a good tweak for the incubator.
Comment 4 Kim Horne CLA 2007-06-21 16:10:37 EDT
*** Bug 84320 has been marked as a duplicate of this bug. ***
Comment 5 Kim Horne CLA 2008-05-02 15:06:04 EDT
Sorry, there was no time in 3.4
Comment 6 Mykola Nikishov CLA 2009-11-18 12:47:37 EST
Created attachment 152491 [details]
Proposed implementation

against git://dev.eclipse.org/org.eclipse.ui/org.eclipse.ui.workbench.git, revision f825f64 (CVS tag I20091026-1300)
Comment 7 Mykola Nikishov CLA 2009-11-18 12:50:24 EST
Created attachment 152492 [details]
Adds commands

against git://dev.eclipse.org/org.eclipse.ui/org.eclipse.ui.git, revision 751ff569ea4d (CVS tag I20091029-1100)
Comment 8 Mykola Nikishov CLA 2009-11-18 12:52:49 EST
(In reply to comment #5)
> Sorry, there was no time in 3.4

Sorry, Kim, but I've found time for implementing this ;-)
Comment 9 Mykola Nikishov CLA 2009-11-18 13:11:04 EST
These patches introduce 'Open Working Set' and 'Close Working Set' commands (available using the Quick Access feature) and will open/close all closed/opened projects in a given working set. This slightly differs from an original request but works quite well for me for the same use case.