Bug 213040 [Markers] Selected filters not being kept on restart
When I select "Warnings on Selection" and then restart it is not selected when I come back in. We need to retain these selections. Note this is only a problem when selecting from the menu - from the dialog works fine.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/MarkerContentGenerator.java
Iterator existing = returnMarkers.iterator();
		while (existing.hasNext()) {
			Object next = existing.next();
			if (matching.contains(next))
				continue;
			removeMarkers.add(next);
		}
		returnMarkers.removeAll(removeMarkers);
	}
	/**
	 * Adds all markers in the given set of resources to the given list
	 * 
	 * @param results
	 *            The Collection to add new entries to
	 * @param resources
	 * @param group
	 *            the group to filter on. May be <code>null</code>.
	 * @param depth
	 * @param monitor
	 */
	private void findMarkers(Collection results, IResource[] resources,
			MarkerFieldFilterGroup group, int depth, IProgressMonitor monitor) {
		if (resources == null) {
			return;
		}
		
		
		Collection selectedTypes = getMarkerTypes();
		
		HashSet typesToSearch = new HashSet(selectedTypes.size());