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
public void resourceChanged(IResourceChangeEvent event) {
            String[] markerTypes = getMarkerTypes();
            boolean refreshNeeded = false;
            for (int idx = 0; idx < markerTypes.length; idx++) {
                IMarkerDelta[] markerDeltas = event.findMarkerDeltas(
                        markerTypes[idx], true);
                List changes = new ArrayList(markerDeltas.length);
                examineDelta(markerDeltas, changes);
                if (markerDeltas.length != changes.size()) {
                    refreshNeeded = true;
                }
                MarkerList changed = currentMarkers.findMarkers(changes);
                changed.refresh();
                change(changed.asList());
            }
            
            if (refreshNeeded) {
                markerCountDirty = true;
                refresh();
            }
        }
    };
    
    private class ContextProvider implements IContextProvider {
		public int getContextChangeMask() {
			return SELECTION;
		}
		public IContext getContext(Object target) {
            String contextId = null;