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
}
            }
        }
    }
    /**
     * Returns the set of projects that contain the given set of resources.
     * 
     * @param resources
     * @return
     */
    static IProject[] getProjects(IResource[] resources) {
        if (resources == null) {
            return new IProject[0];
        }
        Collection projects = getProjectsAsCollection(resources);
        return (IProject[]) projects.toArray(new IProject[projects.size()]);
    }
    static Collection getProjectsAsCollection(IResource[] resources) {
        HashSet projects = new HashSet();
        for (int idx = 0; idx < resources.length; idx++) {
            projects.add(resources[idx].getProject());
        }
        return projects;
    }
    public boolean select(ConcreteMarker marker) {
        if (!isEnabled()) {
            return true;
        }
        return selectByType(marker) && selectBySelection(marker)