Bug 63096 - [Misc] All outgoing changes WorkingSet or Filter
Summary: [Misc] All outgoing changes WorkingSet or Filter
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2004-05-19 16:02 EDT by Randy Hudson CLA
Modified: 2019-09-06 15:35 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 Randy Hudson CLA 2004-05-19 16:02:38 EDT
Once I have some feature started that I am working on, it would be great to be 
able to navigate around and see only the changed files which I am working on. 
How about a working set which contains all outgoing resources?

This could also be a filter on top of whatever working set is currently 
selected.  That way I could quickly toggle it, and it could be used in 
conjunction with other working sets.  Or, it could be a working set which is a 
sub-type of the resource working set.

Another type of unrelated mix-in which might be useful would be anything with a 
compile error.  That way, if you touch a file and introduce a compile error, 
you could see both the outgoing change and the problems it would cause if 
released.
Comment 1 Jean-Michel Lemieux CLA 2004-05-19 16:32:40 EDT
How about the following:
1. Create a synchronization for your entire workspace and switch it to outgoing
mode. 
2. The synchronize view shows error/warning markers now so you can see if you
are releasing compile errors.

But as far as using the existing working set mechanism to filter the
packages/navigator view, that would be more involved. One problem with filtering
existing views is that they don't support non-existing resources. We won't be
able to show outgoing deletions.
Comment 2 Randy Hudson CLA 2004-05-19 16:59:14 EDT
I don't want to see outgoing deletions.  I just want to see what I am currently 
working on (and any problems, in the case of errors), and outgoing changes is a 
rough approximation of this.  Using the synchronize view is similar, but it's 
not quite the same.
Comment 3 Michael Valenta CLA 2004-05-20 09:22:00 EDT
I agree that this feature would be useful but this is not the intended use of 
working sets. To use working sets for this would be clunky at best (i.e. 
working sets are not intended to be dynamic). Therefore, it would be better as 
a filter. Unfortunately, at the current time, their is no mechanism for 
defining general filters that apply to all views. To do this, we would need a 
mechanism similar to the popupMenu objectContribution for registering filters 
with the workbench. This may have been included as part of the generic 
resource navigaotr work. We should investigate post 3.0.
Comment 4 Randy Hudson CLA 2004-09-13 14:31:25 EDT
I have created a Package Explorer filter which does exactly what I want.  It 
works great.  In addition to outgoing changes, the filter also shows anything 
with Errors in it (so that you know if your changes affected other classes).  
The main problem is that this is a single "filter" which must recognize both 
compiler errors and outgoing changes.  You cannot create two filters and 
combine them additively.

Also, workbench does not expect Filters to dynamically change, so there is no 
dispose() method on filter. I hooked the Control's dispose event to remove 
listeners added by the filter.  Also, the filter doesn't know when it becomes 
disabled, so when any events are received it has to first check to see if it is 
enabled, and if not remove its listeners.

Filters are a "glass half empty" approach.  We need the opposite which I would 
call "providers".  I'm using "provider" as a UI term and not an implmentation 
term such as Label/ContentProvider.  When the packages view is populated, it 
would start with nothing, and allow providers to additively decide what should 
be viewed, and for filters to then decide what should get screened.  Then, I 
would enable the following providers separately:

1) Outoing CVS changes
2) Compile Errors
3) Unshared projects/resource (local stuff).
Comment 5 Eclipse Webmaster CLA 2019-09-06 15:35:05 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.