Project: Eclipse_Platform_UI
Bug 166577 [WorkingSets] Add To working sets actions need to be filtered
Reported: 2006-12-01 19:04:44 | Status: verified fixed

M3 It's possible to add any adaptable element to any working set via the new working set actions in the toolbar. Previously you could only add things to working sets via the working set dialogs which had domain knowledge to filter the possibilities to those that were applicable. The actions, however, are generic and new API is needed on IWorkingSet to ask it whether or not a given IAdaptable is applicable.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/IWorkingSet.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/AggregateWorkingSet.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkingSet.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/registry/WorkingSetDescriptor.java tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/IWorkingSetTest.java