Bug 220662 [Markers] Problems view custom configuration with all types selected does not pick up new types
I20080226-1155 Some plug-ins in my workspace produced the new API problem markers. My Problems view was set to show "All Errors" (On any element, Error, all types selected), but the API problems did not get selected. There must be a way to configure the Problems view to also show all new problem types -- and this should be used in the default "All Errors" configuration.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerFieldFilterGroup.java
Collection projects = getProjectsAsCollection(resources);
		return (IProject[]) projects.toArray(new IProject[projects.size()]);
	}
	/**
	 * Return the projects for the elements.
	 * 
	 * @param elements
	 *            collection of IResource or IResourceMapping
	 * @return Collection of IProject
	 */
	static Collection getProjectsAsCollection(Object[] elements) {
		HashSet projects = new HashSet();
		for (int idx = 0; idx < elements.length; idx++) {
			if (elements[idx] instanceof IResource) {
				projects.add(((IResource) elements[idx]).getProject());
			} else {
				IProject[] mappingProjects = (((ResourceMapping) elements[idx])
						.getProjects());
				for (int i = 0; i < mappingProjects.length; i++) {
					projects.add(mappingProjects[i]);
				}
			}
		}
		return projects;
	}
	protected CachedMarkerBuilder builder;
	private IConfigurationElement element;
	private Map EMPTY_MAP = new HashMap();
	private boolean enabled = true;
	protected MarkerFieldFilter[] fieldFilters;