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
if (group.selectByScope(entry, resources)
							&& group.selectByFilters(entry)) {
						return true;
					}
				}
				return false;
			}
			return true;
		} finally {
			entry.clearCache();
		}
	}
	/**
	 * Update the focus resources from list. If there is an update required
	 * return <code>true</code>. This method assumes that there are filters on
	 * resources enabled.
	 * 
	 * @param elements
	 */
	void internalUpdateSelectedElements(Object[] elements) {
		Collection resourceCollection = new ArrayList();
		for (int i = 0; i < elements.length; i++) {
			if (elements[i] instanceof IResource) {
				resourceCollection.add(elements[i]);
			} else {
				MarkerResourceUtil.addResources(resourceCollection,
						((ResourceMapping) elements[i]));
			}
		}
		selectedResources = new IResource[resourceCollection.size()];