Bug 6064 Open on selection shouldn't require selection
Build 20011116 - move the text insertion point into the middle of a type name in a Java editor - press F3 - it has no effect It would be better if it opened on the current word. (I notice that it currently works for a partial selection, if the selection includes the start of the type name, as if it's doing code-assist or something.) This is an issue for keyboard accessibility. It currently requires you to move the cursor to the start of the word, hit CTRL+SHIFT+RIGHT to select the word, then F3. It would be better if you could just move to the word and hit F3.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/OpenOnSelectionAction.java
setText(JavaEditorMessages.getString("OpenOnSelection.label")); 
		setToolTipText(JavaEditorMessages.getString("OpenOnSelection.tooltip")); 
		setDescription(JavaEditorMessages.getString("OpenOnSelection.description")); 
		setDialogTitle(JavaEditorMessages.getString("OpenOnSelection.dialog.title")); 
		setDialogMessage(JavaEditorMessages.getString("OpenOnSelection.dialog.message")); 
	}
	
	/**
	 * Creates a new action with the given image.
	 */
	public OpenOnSelectionAction(ImageDescriptor image) {
		this();
		setImageDescriptor(image);
	}
	
	protected void setDialogTitle(String title) {
		fDialogTitle= title;
	}
	
	protected void setDialogMessage(String message) {
		fDialogMessage= message;
	}
	
	public void setContentEditor(ITextEditor editor) {
		
		if (fEditor != null) {
			ISelectionProvider p= fEditor.getSelectionProvider();
			if (p != null) p.removeSelectionChangedListener(fListener);
		}