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/MarkerView.java
List newSelection = new ArrayList(structuredSelection.size());
        for (Iterator i = structuredSelection.iterator(); i.hasNext();) {
            Object next = i.next();
            if (next instanceof IMarker) {
                ConcreteMarker marker = currentMarkers
                        .getMarker((IMarker) next);
                if (marker != null) {
                    newSelection.add(marker);
                }
            }
        }
        if (viewer != null)
            viewer.setSelection(new StructuredSelection(newSelection), reveal);
    }
    /* (non-Javadoc)
     * @see org.eclipse.ui.views.markers.internal.TableView#setContents(java.util.Collection)
     */
    void setContents(Collection contents, IProgressMonitor mon) {
        if (withinMarkerLimit(contents.size())) {
            super.setContents(contents, mon);
        } else {
            super.setContents(Collections.EMPTY_LIST, mon);
        }
    }
    protected MarkerList getVisibleMarkers() {
        return currentMarkers;
    }
    /**
     * Returns the total number of markers. Should not be called while the marker
     * list is still updating.