Bug 114496 [working sets] working sets: counter-intuitive hiding of resource sets
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/WorkingSetConfigurationDialog.java
icon= imageDescriptor.createImage();
				fIcons.put(imageDescriptor, icon);
			}
			return icon;
		}
		public String getText(Object object) {
			Assert.isTrue(object instanceof IWorkingSet);
			IWorkingSet workingSet= (IWorkingSet)object;
			return workingSet.getName();
		}
	}
	
	private static class Filter extends ViewerFilter {
		public boolean select(Viewer viewer, Object parentElement, Object element) {
			IWorkingSet ws= (IWorkingSet)element;
			String id= ws.getId();
			return HistoryWorkingSetUpdater.ID.equals(id) ||
				OthersWorkingSetUpdater.ID.equals(id) ||
				JavaWorkingSetUpdater.ID.equals(id) || isCompatible(ws);
		}
		private boolean isCompatible(IWorkingSet set) {
			if (!set.isSelfUpdating() || set.isAggregateWorkingSet())
				return false;
			IAdaptable[] elements= set.getElements();
			if (elements.length == 0)
				return false;
			for (int i= 0; i < elements.length; i++) {
				IAdaptable element= elements[i];
				IProject p= (IProject)element.getAdapter(IProject.class);
				if (p == null || !p.exists())