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
* @return Array of {@link IMarker}
	 */
	public IMarker[] getSelectedMarkers() {
		ISelection selection = viewer.getSelection();
		if (selection instanceof IStructuredSelection) {
			IStructuredSelection structured = (IStructuredSelection) selection;
			Iterator elements = structured.iterator();
			Collection result = new ArrayList();
			while (elements.hasNext()) {
				MarkerSupportItem next = (MarkerSupportItem) elements.next();
				if (next.isConcrete())
					result.add(((MarkerEntry) next).getMarker());
			}
			if (result.isEmpty())
				return MarkerSupportInternalUtilities.EMPTY_MARKER_ARRAY;
			IMarker[] markers = new IMarker[result.size()];
			result.toArray(markers);
			return markers;
		}
		return MarkerSupportInternalUtilities.EMPTY_MARKER_ARRAY;
	}
	/**
	 * Return the sort direction.
	 * 
	 * @return boolean
	 */
	public boolean getSortAscending() {
		return viewer.getTree().getSortDirection() == SWT.TOP;
	}
	/**