Bug 58085 - [WorkingSets] Option: Keep open only projects of current working set (close other projects automatically)
Summary: [WorkingSets] Option: Keep open only projects of current working set (close o...
Status: NEW
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 Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 84320 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-10 18:46 EDT by Nobody - feel free to take it CLA
Modified: 2017-09-10 10:32 EDT (History)
2 users (show)

See Also:


Attachments
Proposed implementation (9.46 KB, patch)
2009-11-18 12:47 EST, Mykola Nikishov CLA
mn: review?
Details | Diff
Adds commands (2.78 KB, patch)
2009-11-18 12:50 EST, Mykola Nikishov CLA
mn: review?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.