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/DialogMarkerFilter.java
* Updates the given filter from the UI state.
     */
    protected void updateFilterFromUI() {
        filter.setEnabled(filterEnabledButton.getSelection());
        filter.setSelectedTypes(getSelectedTypes());
        if (selectedResourceButton.getSelection())
            filter.setOnResource(MarkerFilter.ON_SELECTED_RESOURCE_ONLY);
        else if (selectedResourceAndChildrenButton.getSelection())
            filter
                    .setOnResource(MarkerFilter.ON_SELECTED_RESOURCE_AND_CHILDREN);
        else if (anyResourceInSameProjectButton.getSelection())
            filter.setOnResource(MarkerFilter.ON_ANY_RESOURCE_OF_SAME_PROJECT);
        else if (workingSetGroup.getSelection())
            filter.setOnResource(MarkerFilter.ON_WORKING_SET);
        else
            filter.setOnResource(MarkerFilter.ON_ANY_RESOURCE);
        filter.setWorkingSet(workingSetGroup.getWorkingSet());
        int markerLimit = MarkerFilter.DEFAULT_MARKER_LIMIT;
        try {
            markerLimit = Integer.parseInt(this.markerLimit.getText());
        } catch (NumberFormatException e) {
        }
        filter.setMarkerLimit(markerLimit);
        filter.setFilterOnMarkerLimit(filterOnMarkerLimit.getSelection());
    }
    /**
     * Updates the UI state from the given filter.
     */
    protected void updateUIFromFilter() {
        filterEnabledButton.setSelection(filter.isEnabled());