Bug 30380 Show outline doesn't get focus
I2003-01-22 Assuming this is an SWT issue. Using the newly "Show Outline" feature brings up the outline popup. However, on MacOS X, the input area doesn't have the focus, so performing some keyboard input results in changes to the editor instead ....
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
}
		IJavaElement je= (IJavaElement)information;
		IJavaElement sel= null;
		ICompilationUnit cu= (ICompilationUnit)je.getAncestor(IJavaElement.COMPILATION_UNIT);
		if (cu != null)
			sel= cu;
		else
			sel= je.getAncestor(IJavaElement.CLASS_FILE);
		fTreeViewer.setInput(sel);
		fTreeViewer.setSelection(new StructuredSelection(information));
	}
	/*
	 * @see IInformationControl#setVisible(boolean)
	 */
	public void setVisible(boolean visible) {
			fShell.setVisible(visible);
	}
	/*
	 * @see IInformationControl#dispose()
	 */
	public void dispose() {
		if (fShell != null) {
			if (!fShell.isDisposed())
				fShell.dispose();
			fShell= null;
			fTreeViewer= null;
			fComposite= null;
			fFilterText= null;
		}
	}