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
for (int resourceIdx = 0; resourceIdx < resources.length; resourceIdx++) {
			iter = typesToSearch.iterator();
			IResource resource = resources[resourceIdx];
			
			if (!resource.isAccessible()) {
				continue;
			}
			if (depth == IResource.DEPTH_INFINITE) {
				
				
				IResource parent = resource.getParent();
				boolean found = false;
				while (parent != null) {
					if (resourcesToSearch.contains(parent)) {
						found = true;
					}
					parent = parent.getParent();
				}
				
				
				
				if (found) {
					continue;
				}
			}
			
			while (iter.hasNext()) {
				MarkerType markerType = (MarkerType) iter.next();
				try {