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
* Searches the workspace for markers that pass this filter.
     * 
     * @return
     */
    ConcreteMarker[] findMarkers(IProgressMonitor mon, boolean ignoreExceptions)
            throws CoreException {
        List unfiltered = Collections.EMPTY_LIST;
        if (!isEnabled()) {
            unfiltered = findMarkers(new IResource[] { ResourcesPlugin
                    .getWorkspace().getRoot() }, IResource.DEPTH_INFINITE, -1,
                    mon, ignoreExceptions);
        } else {
            
            int limit = -1;
            switch (getOnResource()) {
            case ON_ANY_RESOURCE: {
                unfiltered = findMarkers(new IResource[] { ResourcesPlugin
                        .getWorkspace().getRoot() }, IResource.DEPTH_INFINITE,
                        limit, mon, ignoreExceptions);
                break;
            }
            case ON_SELECTED_RESOURCE_ONLY: {
                unfiltered = findMarkers(focusResource, IResource.DEPTH_ZERO,
                        limit, mon, ignoreExceptions);
                break;
            }
            case ON_SELECTED_RESOURCE_AND_CHILDREN: {
                unfiltered = findMarkers(focusResource,
                        IResource.DEPTH_INFINITE, limit, mon, ignoreExceptions);
                break;