Bug 30578 - [Working Sets] More flexible working sets
Summary: [Working Sets] More flexible working sets
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Knut Radloff CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 03:32 EST by Boris Pruessmann CLA
Modified: 2003-05-29 17:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Pruessmann CLA 2003-01-30 03:32:09 EST
I think it would be a very good idea to make working sets more flexible/more 
dynamic...

Scenario 1:
My workspace currently contains 70 projects, half of it being projects 
containing unit tests. Per definition, all the test projects are named 
*.tests. 

Having the possiblity for working sets to include/exclude projects named 
*.tests would be a nice enhancement to my development experience (regular 
expressions would be greatly appreciated :) )

Scenario 2:
The SCM I am using has the notion of "Changelists". I would like to write an 
extension for a workingset that dynamically includes all the files in a 
specific changelists. I don't think that is easily possible at the moment.
Comment 1 Knut Radloff CLA 2003-04-07 09:32:50 EDT
For scenario 1 you should use filters. Note that the Navigator does not support 
user defined filters at this point. Bug 1970 is requesting this feature for the 
Navigator.

You can support scenario 2 by writing an extension to the 
org.eclipse.ui.workingSets extension point. You would listen to changes to the 
changelist and update the working set accordingly. Whenever the working set is 
changed you would send the CHANGE_WORKING_SET_CONTENT_CHANGE property change 
event (in IWorkingSetManager).

Let me know if this works for you.
Comment 2 Knut Radloff CLA 2003-05-29 17:53:08 EDT
Closing, assuming you are happy with using filters for scenario 1 and that the 
path to solving scenario 2 worked.