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
* the selected resource within the workbench.</li>
     * <li><code>MarkerFilter.ON_SELECTED_RESOURCE_AND_CHILDREN</code> if showing items associated with
     * the selected resource within the workbench and its children.</li>
     * <li><code>MarkerFilter.ON_ANY_RESOURCE_OF_SAME_PROJECT</code> if showing items in the same project
     * as the selected resource within the workbench.</li>
     * <li><code>MarkerFilter.ON_WORKING_SET</code> if showing items in some working set.</li>
     * </ul>
     */
    int getOnResource() {
        return onResource;
    }
    /**
     * Sets the type of filtering by selection.
     * 
     * @param onResource must be one of:
     * <ul>
     * <li><code>MarkerFilter.ON_ANY_RESOURCE</code></li>
     * <li><code>MarkerFilter.ON_SELECTED_RESOURCE_ONLY</code></li>
     * <li><code>MarkerFilter.ON_SELECTED_RESOURCE_AND_CHILDREN</code></li>
     * <li><code>MarkerFilter.ON_ANY_RESOURCE_OF_SAME_PROJECT</code></li>
     * <li><code>MarkerFilter.ON_WORKING_SET</code></li>
     * </ul>
     */
    void setOnResource(int onResource) {
        if (onResource >= ON_ANY_RESOURCE && onResource <= ON_WORKING_SET)
            this.onResource = onResource;
    }
    /**
     * @return the selected resource(s) withing the workbench.
     */