Bug 113104 [hovering] Consider adapting AbstractInformationControl to new PopupDialog
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/AbstractInformationControl.java
}
				}
			}
		});
		tree.addMouseListener(new MouseAdapter() {
			public void mouseUp(MouseEvent e) {
				if (tree.getSelectionCount() < 1)
					return;
				if (e.button != 1)
					return;
				if (tree.equals(e.getSource())) {
					Object o= tree.getItem(new Point(e.x, e.y));
					TreeItem selection= tree.getSelection()[0];
					if (selection.equals(o))
						gotoSelectedElement();
				}
			}
		});
		int border= ((shellStyle & SWT.NO_TRIM) == 0) ? 0 : BORDER;
		fShell.setLayout(new BorderFillLayout(border));
		if (hasHeader()) {
			fComposite.setTabList(new Control[] {fFilterText, fTreeViewer.getTree()});
		} else {
			fViewMenuButtonComposite.setTabList(new Control[] {fFilterText});
			fComposite.setTabList(new Control[] {fViewMenuButtonComposite, fTreeViewer.getTree()});
		}
		setInfoSystemColor();
		installFilter();
		addDisposeListener(this);
		fDeactivateListener= new Listener() {