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
resourceCollection.toArray(selectedResources);
	}
	/**
	 * Update the receiver for a change in selection.
	 * 
	 * @param newElements
	 */
	void updateSelectedResource(Object[] newElements) {
		if (updateNeededForSelection(newElements)) {
			internalUpdateSelectedElements(newElements);
			if (contentChanged()) {
				requestMarkerUpdate();
			}
		}
	}
	/**
	 * Return whether or not the list contains a resource that will require
	 * update.
	 * 
	 * @return boolean <code>true</code> if update is required.
	 */
	boolean updateNeededForSelection(Object[] newElements) {
		Iterator filters = getEnabledFilters().iterator();
		while (filters.hasNext()) {
			MarkerFieldFilterGroup filter = (MarkerFieldFilterGroup) filters
					.next();
			int scope = filter.getScope();
			if (scope == MarkerFieldFilterGroup.ON_ANY
					|| scope == MarkerFieldFilterGroup.ON_WORKING_SET)
				continue;