Bug 45124 [plan item] Place incremental find status into separate status line item
Incremental find uses the workbench window status line. When having a post selection text listener that tries to find and display the error or warning underlying the current selection, the incremental find status and the error message are wipping out each other. Status line contribution item needs no to be editable but should support tooltips. Enable error updating on post selection event in Java editors.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
Iterator e= new JavaAnnotationIterator(model, true, true);
		while (e.hasNext()) {
			Annotation a= (Annotation) e.next();
			if (a instanceof IJavaAnnotation) {
				IJavaAnnotation annotation= (IJavaAnnotation) a;
				if (annotation.hasOverlay() || !isNavigationTargetType(annotation.getAnnotationType()))
					continue;
			} else if (!isNavigationTargetType(access.getType(a)))
				continue;
				
			Position p= model.getPosition(a);
			if (p != null && p.overlapsWith(offset, length))
				return a;
		}
		
		return null;
	}
	
	/**
	 * Returns whether the given annotation type is configured as a target type
	 * for the "Go to Next/Previous Annotation" actions
	 * 
	 * @param type the annotation type
	 * @return <code>true</code> if this is a target type, <code>false</code>
	 *            otherwise
	 * @since 3.0
	 */
	private boolean isNavigationTargetType(Object type) {
		Preferences preferences= Platform.getPlugin("org.eclipse.ui.workbench.texteditor").getPluginPreferences(); 
		Iterator i= getAnnotationPreferences().getAnnotationPreferences().iterator();