Bug 45212 - [WorkingSets] Link the working sets for Projects, Packages, and Types views
Summary: [WorkingSets] Link the working sets for Projects, Packages, and Types views
Status: RESOLVED DUPLICATE of bug 108149
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement with 2 votes (vote)
Target Milestone: 3.2 M2   Edit
Assignee: Kim Horne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-20 10:28 EDT by Eric Rizzo CLA
Modified: 2005-09-09 12:40 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Rizzo CLA 2003-10-20 10:28:59 EDT
In the Java Browsing perspective I always have the same Working Set chosen for
the Projects, Packages, and Types views. When I want to change the working set
I'm using, I have to change each view separately.
It is desirable to be able to link the working set selection for these views so
they always are using the same working set as each other. This could be a
specific setting just for these particular views, or it could be implemented as
a more general feature as follows:
A Perspective defines the "Perspective Working Set" which the user selects. Any
Views that are open in that Perspective and that make use of a Working Set then
have the option of using the Perspective Working Set or using their own.
Comment 1 Eric Rizzo CLA 2003-10-20 10:34:03 EDT
Note that if it is decided the more general option is more desirable, this
should be re-assigned to Platform-UI.
Comment 2 Dani Megert CLA 2003-10-20 11:04:59 EDT
There are no plans to link views together since their basic intention is to work
standalone so that users can define their own perspective.

Moving to Platform UI to comment the more general request.
Comment 3 Randy Hudson CLA 2003-10-22 11:25:28 EDT
I think the working set should be tied accross all perspectives and even all 
workbench windows.  For example, the Synchronize View also displays a working 
set, and I have *every* perpective open in its own window.  So, I would want to 
change all views simultaneously, in all windows.  Also, if views are sharing 
the working set, the UI should not be on each view, but on the window's toolbar.

One way to allow this, *and* still allow the current behavior, is to add a new 
special working set setting called "Use Workspace Setting".  Then, a widget on 
the toolbar would allow choosing the active workspace working set, which would 
affect any view with this as its setting.
Comment 4 Randy Hudson CLA 2004-07-07 10:07:23 EDT
I think this bugzilla addresses the scalability issue of eclipse.  The UI 
requires too much micromanagement, especially in larger products with 
additional types of "Navigator" views.
Comment 5 John Arthorne CLA 2004-11-30 10:48:41 EST
This is a dup of bug 22328
Comment 6 Tod Creasey CLA 2004-11-30 10:58:51 EST

*** This bug has been marked as a duplicate of 22328 ***
Comment 7 Eric Rizzo CLA 2004-11-30 11:06:27 EST
No, this is not really a duplicate.
I don't agree that Bug 22328 is duplicate with this one. They are similar and
somewhat related, yes, but 22328 seems to talking about a different issue. From
one of the comments:

> This seems to be asking to 
> 1) have an option to close projects that are not in a working set (and none of 
> their children are in a working set)
> 2) support working sets in every view

Neither of those things are what this request is for. this request is smaller in
scope in that it only asks for the ability to link working set selection
(possibly by defining a "global" working set that can be chosen by any view that
supports working sets.
I think the diffrences are important enough to warrant different work. Perhaps a
dependency between the two requests would be better...
Comment 8 Tod Creasey CLA 2004-11-30 11:16:45 EST
Lets reopen then.
Comment 9 Khairul Azhar CLA 2005-04-06 04:22:28 EDT
I do believe that the case is better for having a working set setting that is
linked between views i.e. a global/perspective working set, rather than having
separate working set settings for each view. This global setting should be
changeable from the Package Explorer.

Right now, whenever I change the working set in the Package Explorer, I have to
change the working set filter in both the Problems and Tasks views, which is
somewhat inconvenient.

I'm not willing to have separate workspaces, since I would then have to
synchronise my workspace settings over all of those separate workspaces.
Comment 10 Randy Hudson CLA 2005-04-06 11:31:04 EDT
> I do believe that the case is better for having a working set setting that is
> linked between views i.e. a global/perspective working set, rather than having
> separate working set settings for each view. This global setting should be
> changeable from the Package Explorer.

You can't arbitrarily pick some view to define the "workbench" working set. 
What if that view isn't visible?
Comment 11 Khairul Azhar CLA 2005-04-06 22:07:52 EDT
Well then, the flippant answer would probably be to say that making the Package
Explorer view visible again only takes an extra step or two. But I do agree with
you that making the Package Explorer view as the guardian would make the
solution specific to only a certain class of users i.e. Java programmers.

Some other possible solutions that I could think of:

1. Use a button with a drop-down menu or a combo box (like the font selection
combo box in Word), on a toolbar.
2. Make it programmatically possible to be notified whenever the working set
selection changes in the Package Explorer, and programmatically possible to
change the filters in the Problems and Tasks views.
Comment 12 Eric Rizzo CLA 2005-04-06 22:38:30 EDT
No special attention should be paid to Package Explorer (or any other view).
(BTW, not all Java Programmer Eclipse users use Package Explorer - I never use
it, choosing instead the Java Browsing perspective).
As my initial request and Comment #3 say, there should be either a
Perspective-wide or Workbench-wide working set, and then each view can be set to
use either the Perspective Working Set, the Workbench Working Set, another
working set (current functionality), or no working set at all (current
functionality).
In essense what this enhancement should be is one or two additional choices
besides "No Working Set" and "A Particular Working Set", with those additional
choices being "pointers" to a broader choice.
Similar to how a Project can use the workspace settings for some things (eg,
compiler options) or override them if need be.

Now the real question is, when is this going to get some developer attention...?
Comment 13 Randy Hudson CLA 2005-04-06 23:18:41 EDT
The suggestion in comment 3 already covers what both of you have been saying.
Comment 14 Khairul Azhar CLA 2005-04-06 23:33:12 EDT
Yep, the suggestion in comment 3 would be great.
Comment 15 Markus Keller CLA 2005-05-30 09:44:27 EDT
Could this PR be considered for the 3.2 plan?
Together with the new working set support in the Open Type dialog, the solution
from comment 3 would provide a seamless working set support for people working
with big workspaces.
Comment 16 Kim Horne CLA 2005-05-30 10:19:36 EDT
I would love to do this for 3.2 - this is one of things that prevents me from using working sets more often.
Comment 17 Kim Horne CLA 2005-09-09 09:06:20 EDT
With the exception of the linking specified by Randy in comment #3 the platform-ui portion of this bug 
has been addressed by bug 108149.  I've opened bug 109143 to address that concern.  

*** This bug has been marked as a duplicate of 108149 ***
Comment 18 Dani Megert CLA 2005-09-09 11:19:39 EDT
Kim, I think the correct resolution of this bug would be to move it to JDT UI to
support the new APIs (or file a new bug requesting this) otherwise the linking
will not work, right?
Comment 19 Kim Horne CLA 2005-09-09 11:35:28 EDT
It happens there are components that need to roll with this other than JDT.  Perhaps you could enter a 
fresh bug for your own component? 
Comment 20 Randy Hudson CLA 2005-09-09 11:58:32 EDT
Kim, is it possible to create a new working set that offers the linked behavior 
for free to existing consumers of working sets?
Comment 21 Kim Horne CLA 2005-09-09 12:40:44 EDT
It might be possible to have an aggregate working set of some kind...