Community
Participate
Working Groups
I'm searching for a way to get project order according to working sets. I have a single-containment for my projects over all working sets. IWorkingSetManager wsm = PlatformUI.getWorkbench().getWorkingSetManager(); IWorkingSet[] wss = wsm.getWorkingSets(); wss contains all WorkingSets in alphabetical order losing the custom defined order. I also tried to access package explorer as the order may be defined in there. But it's access restricted. Is this really a bug? Or can I access the order in a different way?
Do you need more info for this bug?
I'm sorry to insist here. Is it even supposed to work this way? Is there another way to access the working set order?
There is no order defined by IWorkingSetManager. Even if there seems to be an order, the UI components decide how to present the contents of working sets (e.g., using the working set name, or via working set type). The working set infrastructure has no control over how the UI chooses to represent them.
I can see how this would be useful though. I'll re-open and perhaps it something we can look at for Oxygen. At worst, the IWorkingSetManager could offer the WS in an order, and honouring that order or not can be left to the consumers.
The package explorer seems to define an order over the working sets. And the manager looks pretty "integrated". Is there a programmatic way to read this order from a plugin? Apart from that I agree, with comment #4. Thanks.
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. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. 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. -- The automated Eclipse Genie.
This extension is still pending and desired.