Bug 242208 [Markers] Filtering problems by working set doesn't take into account new files
Build ID: I20080617-2000 Steps To Reproduce: 1.Create a Java project 2.Create a working set that contains only a subset of source files 3.Create a filter in the problems view, whose scope is set to the working set 4.The filter works ok 5.Create a new source file that is included inside the working set 6.No errors are shown for this file 7.Deactivate the filter and activate it again 8.The errors are now shown. More information: I expect to get the step 8 result without doing the 7th step.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
/**
	 * Add the extensions to the receiver.
	 * 
	 * @param extensions
	 *            Collection of {@link IConfigurationElement}
	 */
	public void addExtensions(Collection extensions) {
		generatorExtensions = extensions;
	}
	/**
	 * Add all of the markerGroups defined in element.
	 * 
	 * @param groups
	 */
	private void addGroupsFrom(IConfigurationElement element, Collection groups) {
		IConfigurationElement[] groupings = element
				.getChildren(MarkerSupportRegistry.MARKER_GROUPING);
		for (int i = 0; i < groupings.length; i++) {
			groups.add(MarkerGroup.createMarkerGroup(groupings[i]));
		}
	}
	/**
	 * Return whether or not all of {@link MarkerTypesModel} arein
	 * the selectedTypes.
	 * @param selectedTypes
	 * @return boolean
	 */
	boolean allTypesSelected(Collection selectedTypes) {
		return selectedTypes.containsAll(markerTypes);
	}