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
boolean updateNeeded(Object[] newElements) {
		Iterator filters = getEnabledFilters().iterator();
		while (filters.hasNext()) {
			MarkerFieldFilterGroup filter = (MarkerFieldFilterGroup) filters
					.next();
			int scope = filter.getScope();
			if (scope == MarkerFieldFilterGroup.ON_ANY
					|| scope == MarkerFieldFilterGroup.ON_WORKING_SET)
				continue;
			if (newElements == null || newElements.length < 1)
				continue;
			if (focusResources.length == 0)
				return true; 
			if (Arrays.equals(focusResources, newElements))
				continue;
			if (scope == MarkerFieldFilterGroup.ON_ANY_IN_SAME_CONTAINER) {
				Collection oldProjects = MarkerFieldFilterGroup
						.getProjectsAsCollection(focusResources);
				Collection newProjects = MarkerFieldFilterGroup
						.getProjectsAsCollection(newElements);
				if (oldProjects.size() == newProjects.size()
						&& newProjects.containsAll(oldProjects))
					continue;
				return true;
			}
			return true;
		}
		return false;
	}
	/**