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
void resetState() {
        enabled = DEFAULT_ACTIVATION_STATUS;
        filterOnMarkerLimit = DEFAULT_FILTER_ON_MARKER_LIMIT;
        markerLimit = DEFAULT_MARKER_LIMIT;
        onResource = DEFAULT_ON_RESOURCE;
        selectedTypes.clear();
        addAllSubTypes(selectedTypes);
        setWorkingSet(null);
    }
    public void restoreState(IDialogSettings dialogSettings) {
        resetState();
        IDialogSettings settings = dialogSettings
                .getSection(TAG_DIALOG_SECTION);
        if (settings != null) {
            String setting = settings.get(TAG_ENABLED);
            if (setting != null)
                enabled = Boolean.valueOf(setting).booleanValue();
            setting = settings.get(TAG_FILTER_ON_MARKER_LIMIT);
            if (setting != null)
                filterOnMarkerLimit = Boolean.valueOf(setting).booleanValue();
            setting = settings.get(TAG_MARKER_LIMIT);
            if (setting != null)
                try {
                    markerLimit = Integer.parseInt(setting);
                } catch (NumberFormatException eNumberFormat) {
                }
            setting = settings.get(TAG_ON_RESOURCE);
            if (setting != null) {
                try {
                    onResource = Integer.parseInt(setting);