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
/**
	 * Note:As opposed to the previous scheme, the reason we gather markers only
	 * for the "effective"(ored/anded) resource collection is because collecting
	 * for individual filters and then adding them to a Set to remove duplicates
	 * is a lot more time-consuming than collecting only once,filtering once and
	 * adding to a list once.As a pre-filtering step, the
	 * MarkerFieldFilterGroup#selectByScope uses IPath comparison for selection,
	 * which happens real quickly.Also when filters are Anded we get a chance to
	 * gather only on resources that actually matter.And we get a tool to check
	 * at various places.
	 * 
	 * @return list of resource we want to collect markers for taking various
	 *         enabled filters into account.
	 * 
	 */
	Collection getResourcesForBuild() {
		currentResources = MarkerResourceUtil.computeResources(
				getSelectedResources(), getEnabledFilters(), andFilters());
		return currentResources;
	}
	/**
	 * Change in markers itself is taken care of by the IResourceChangeListener,
	 * We can think about change in the resource content when filters have
	 * changed or selections have changed and the particular update we perform
	 * manually is not required at all since nothing had changed.This is
	 * particularly useful when a filter is set to 'On Selected element scope'.A
	 * change in a filter is a combination of both its scope and other settings.
	 * 
	 * 
	 * @return true if the resource-content has changed due to change in filter