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/MarkerView.java
&& adapter instanceof ITaskListResourceAdapter) {
                            taskListResourceAdapter = (ITaskListResourceAdapter) adapter;
                        } else {
                            taskListResourceAdapter = DefaultMarkerResourceAdapter
                                    .getDefault();
                        }
                        IResource resource = taskListResourceAdapter
                                .getAffectedResource((IAdaptable) object);
                        if (resource != null) {
                            resources.add(resource);
                        }
                    }
                }
            }
        }
        IResource[] focus = new IResource[resources.size()];
        resources.toArray(focus);
        updateFocusResource(focus);
    }
    /**
     * 
     * @param resources
     */
    protected abstract void updateFilterSelection(IResource[] resources);
    
    protected abstract String getStaticContextId();
    void updateFocusResource(IResource[] resources) {
        boolean updateNeeded = updateNeeded(focusResources, resources);
        if (updateNeeded) {
            focusResources = resources;