Bug 293787 Markers view not filtering by workingsets
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
}
			}
		}
		return resourceSet;
	}
	/**
	 * @param enabledFilters
	 * @param andFilters
	 * @return
	 */
	private Collection getResourcesFor(Collection enabledFilters,
			boolean andFilters) {
		IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
		if (enabledFilters.size() == 0) {
			List list = new ArrayList(1);
			list.add(root);
			return list;
		}
		Set resourceSet = new HashSet();
		Iterator filtersIterator = enabledFilters.iterator();
		while (filtersIterator.hasNext()) {
			MarkerFieldFilterGroup group = (MarkerFieldFilterGroup) filtersIterator
					.next();
			switch (group.getScope()) {
			case MarkerFieldFilterGroup.ON_ANY: {
				resourceSet.add(root);
				break;
			}
			case MarkerFieldFilterGroup.ON_SELECTED_ONLY:
			case MarkerFieldFilterGroup.ON_SELECTED_AND_CHILDREN: {