Bug 110998 [Problems] Remove the working set selection and switch to using global working sets
M2 We need to remove the working sets option in the filter and switch to using the current list of working sets. We should move this to a preference that says only "Use Working Sets"
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
/**
	 * Return the projects for the elements.
	 * @param elements collection of IResource or IResourceMapping
	 * @return Collection of IProject
	 */
	static Collection getProjectsAsCollection(Object[] elements) {
		HashSet projects = new HashSet();
		for (int idx = 0; idx < elements.length; idx++) {
			if(elements[idx] instanceof IResource)
				projects.add(((IResource)elements[idx]).getProject());
			else{
				IProject[] mappingProjects = (((ResourceMapping)elements[idx]).getProjects());
				for (int i = 0; i < mappingProjects.length; i++) {
					projects.add(mappingProjects[i]);					
				}
			}
				
		}
		return projects;
	}
	public boolean select(ConcreteMarker marker) {
		if (!isEnabled()) {
			return true;
		}
		return selectByType(marker) && selectBySelection(marker)
				&& selectMarker(marker);
	}
	private boolean selectByType(ConcreteMarker marker) {
		return selectedTypes.contains(typesModel.getType(marker.getType()));
	}