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
/*******************************************************************************
 * Copyright (c) 2007, 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.internal.views.markers;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.eclipse.core.resources.IMarker;
import org.eclipse.core.resources.IResource;