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/ProblemView.java
return Messages.format("problem.statusSummaryBreakdown", 
                new Object[] { new Integer(visibleMarkers.getErrors()),
                        new Integer(visibleMarkers.getWarnings()),
                        new Integer(visibleMarkers.getInfos()) });
    }
    private String getSummary(MarkerList markers, String messageKey) {
        String message = Messages.format(messageKey, new Object[] {
                new Integer(markers.getItemCount()),
                formatSummaryBreakDown(markers) });
        return message;
    }
    /**
     * Retrieves statistical information (the total number of markers with each
     * severity type) for the markers contained in the selection passed in.
     * This information is then massaged into a string which may be displayed
     * by the caller.
     * 
     * @param selection a valid selection or <code>null</code>
     * @return a message ready for display
     */
    protected String updateSummarySelected(IStructuredSelection selection) {
        return getSummary(new MarkerList(selection.toList()),
                "problem.statusSummarySelected"); 
    }
    /* (non-Javadoc)
     * @see org.eclipse.ui.views.markers.internal.MarkerView#getMarkerTypes()
     */
    protected String[] getMarkerTypes() {
        return new String[] { IMarker.PROBLEM };
    }