Bug 218882 [Markers] markers views fail to refresh on working set changes with 3.4M5
I use working sets (via Mylyn) to ensure that I only see the markers I need to see in views like Problems. I do this by ensuring that the view is configured to show only the Window Working Set. In Eclipse 3.4M4 and 3.4M5 it appears that the markers views don't refresh when working sets change. In order to get them to refresh I have to invoke "Configure Contents...", and after pressing OK the view is updated. To reproduce create two resource working sets, make sure different markers are in each, set the Markers views to show only the Window Working Set, and toggle between working sets.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/ExtendedMarkersView.java
import org.eclipse.ui.views.markers.MarkerField;
import org.eclipse.ui.views.markers.MarkerItem;
import org.eclipse.ui.views.markers.internal.MarkerGroup;
import org.eclipse.ui.views.markers.internal.MarkerMessages;
import org.eclipse.ui.views.markers.internal.MarkerSupportRegistry;
import org.eclipse.ui.views.tasklist.ITaskListResourceAdapter;
import com.ibm.icu.text.MessageFormat;
/**
 * The ExtendedMarkersView is the internal implementation of the view that shows
 * markers using the markerGenerators extension point.
 * 
 * The ExtendedMarkersView fully supports the markerSupport extension point and
 * is meant to be used as a view to complement them.
 * 
 * The markerContentGenerators to be used by the view can be specified by
 * appending a comma separated list of them after a colon in the class
 * specification of the view. If this list is left out the problems
 * markerContentProvider will be used.
 * 
 * @since 3.4
 * 
 */
public class ExtendedMarkersView extends ViewPart {
	/**
	 * MarkerSelectionEntry is a cache of the values for a marker entry.
	 * 
	 * @since 3.4
	 * 
	 */
	final class MarkerSelectionEntry {