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
*/
    DialogMarkerFilter(Shell parentShell, MarkerFilter filter) {
        super(parentShell);
        this.filter = filter;
    }
    /* (non-Javadoc)
     * Method declared on Dialog.
     */
    protected void buttonPressed(int buttonId) {
        if (buttonId == RESET_ID) {
            resetPressed();
            markDirty();
        } else if (buttonId == SELECT_WORKING_SET_ID) {
            workingSetGroup.selectPressed();
        } else if (buttonId == SELECT_ALL_ID) {
            typesViewer.setAllChecked(true);
        } else if (buttonId == DESELECT_ALL_ID) {
            typesViewer.setAllChecked(false);
        } else {
            super.buttonPressed(buttonId);
        }
    }
    /**
     * This method is called when a button is checked or unchecked. It updates the enablement
     * state of all widgets and marks the dialog as dirty.
     * @param event
     */
    void checkStateChanged(CheckStateChangedEvent event) {
        updateEnabledState();
        markDirty();