Bug 282535 [Markers] The Problem view does not update the status line
Build ID: M20090211-1700 Steps To Reproduce: 1. Set the "Build Automatically" property to true 1. Edit a JAVA file and introduce an error on purpose 2. Save the file => The error is displayed in the Problems View 3. Click on that error in the Problems view => the status line is updated to show the error description 4. Fix the problem in the JAVA file and save it => the Problems view is cleared 5. Set the focus on the Problems view = > the status line is updated to show the error description although this error was fixed More information:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/views/markers/ExtendedMarkersView.java
* 
			 * @seeorg.eclipse.ui.IPartListener2#partVisible(org.eclipse.ui.
			 * IWorkbenchPartReference)
			 */
			public void partVisible(IWorkbenchPartReference partRef) {
				if (partRef.getId().equals(
						ExtendedMarkersView.this.getSite().getId())) {
					pageSelectionListener.selectionChanged(getSite().getPage()
							.getActivePart(), getSite().getPage()
							.getSelection());
				}
			}
		};
	}
	/**
	 * Return all of the markers in the current selection
	 * 
	 * @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());
			}