Bug 293787 Markers view not filtering by workingsets
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
return selectedResources;
	}
	/**
	 * @return list of resource we want to collect markers for taking various
	 *         enabled filters into account.
	 */
	Collection getResourcesForBuild() {
		IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
		Collection resourceSet = getResourcesFor(getEnabledFilters(), andFilters());
		
		if (andFilters()) {
			
			
			
			
			IResource longPathRes = null;
			Iterator iterator = resourceSet.iterator();
			while (iterator.hasNext()) {
				IResource resource = (IResource) iterator.next();
				if (longPathRes == null) {
					longPathRes = resource;
				} else if (resource.getFullPath().segmentCount() > longPathRes
						.getFullPath().segmentCount()) {
					longPathRes = resource;
				}
			}
			iterator = resourceSet.iterator();
			while (iterator.hasNext()) {
				IResource resource = (IResource) iterator.next();
				if (!resource.equals(longPathRes)) {