Bug 20144 Enter key not working in packages view
Build 20020612 (F3) Linux-GTK Selecting a file in the packages view and hitting the ENTER key does not open the file. Unless there's another way to open a file without the mouse, the is a serious accessibility problem.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaSelectMarkerRulerAction.java
}
		super.run();
	}
	
	public void update() {
		fPosition= getProblemPosition();
		if (fPosition != null)
			setEnabled(true);
		else
			super.update();
	}
	
	private Position getProblemPosition() {
		AbstractMarkerAnnotationModel model= getAnnotationModel();
		IDocument document= getDocument();
		if (model == null)
			return null;
		Iterator iter= model.getAnnotationIterator();
		while (iter.hasNext()) {
			Annotation annotation= (Annotation)iter.next();
			if (annotation instanceof IProblemAnnotation) {
				Position position= model.getPosition(annotation);
				if (includesRulerLine(position, document) && JavaCorrectionProcessor.hasCorrections(((IProblemAnnotation)annotation).getId()))
					return position;
			}
		}
		return null;
	}
}