Bug 296695 [Markers] Problems view does not update on selection change
I20091201-1600 Problems view does not update any more on selection change. I have a 'Warnings on Selection' filter, but I always see the same warnings, even after I opened an editor or selected something in the Package Explorer.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/MarkerContentGenerator.java
private Collection currentResources = Collections.EMPTY_SET;
	private CachedMarkerBuilder builder;
	private String viewId;
	private IPropertyChangeListener filterPreferenceListener;
	
	/**
	 * Create a new MarkerContentGenerator
	 * 
	 * @param generatorDescriptor
	 * @param builder 
	 * @param viewId 
	 * 				needed for backward compatibility
	 */
	public MarkerContentGenerator(
			ContentGeneratorDescriptor generatorDescriptor,
			CachedMarkerBuilder builder, String viewId) {
		this.generatorDescriptor = generatorDescriptor;
		this.viewId = viewId;
		setBuilder(builder);
	}
	/**
	 * Attach the generator to a builder
	 * 
	 * @param builder
	 */
	void setBuilder(CachedMarkerBuilder builder) {
		this.builder = builder;
		initializePreferenceListener();
		this.builder.setGenerator(this);