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
IMemento elementMem = selectionMem.createChild(TAG_MARKER);
            elementMem.putString(TAG_RESOURCE, marker.getMarker().getResource()
                    .getFullPath().toString());
            elementMem.putString(TAG_ID, String.valueOf(marker.getMarker()
                    .getId()));
        }
    }
    /* (non-Javadoc)
     * @see org.eclipse.ui.views.internal.tableview.TableView#restoreSelection(org.eclipse.ui.IMemento)
     */
    protected IStructuredSelection restoreSelection(IMemento memento) {
        if (memento == null) {
            return new StructuredSelection();
        }
        IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
        IMemento selectionMemento = memento.getChild(TAG_SELECTION);
        if (selectionMemento == null) {
            return new StructuredSelection();
        }
        ArrayList selectionList = new ArrayList();
        IMemento[] markerMems = selectionMemento.getChildren(TAG_MARKER);
        for (int i = 0; i < markerMems.length; i++) {
            try {
                long id = new Long(markerMems[i].getString(TAG_ID)).longValue();
                IResource resource = root.findMember(markerMems[i]
                        .getString(TAG_RESOURCE));
                if (resource != null) {
                    IMarker marker = resource.findMarker(id);
                    if (marker != null)
                        selectionList.add(currentMarkers.getMarker(marker));