Bug 82743 [Markers] improved problem filter needed (OR clauses)
when working with large workspaces I find the current problems filter not powerful enough. If I were able to AND and OR the conditions available from the UI then I would solve all my use cases. my most needed one is : I would like to see ERRORS anywhere in the workspace OR WARNINGS in the current selected project
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerFilter.java
}
            case ON_ANY_RESOURCE_OF_SAME_PROJECT: {
                unfiltered = findMarkers(getProjects(focusResource),
                        IResource.DEPTH_INFINITE, limit, mon, ignoreExceptions);
                break;
            }
            case ON_WORKING_SET: {
                unfiltered = findMarkers(getResourcesInWorkingSet(),
                        IResource.DEPTH_INFINITE, limit, mon, ignoreExceptions);
            }
            }
        }
        if (unfiltered == null) {
            unfiltered = Collections.EMPTY_LIST;
        }
        return (ConcreteMarker[]) unfiltered
                .toArray(new ConcreteMarker[unfiltered.size()]);
    }
    IResource[] getResourcesInWorkingSet() {
        if (workingSet == null) {
            return new IResource[0];
        }
        IAdaptable[] elements = workingSet.getElements();
        List result = new ArrayList(elements.length);
        for (int idx = 0; idx < elements.length; idx++) {
            IResource next = (IResource) elements[idx]
                    .getAdapter(IResource.class);
            if (next != null) {
                result.add(next);
            }