Bug 195137 [Viewers] Tooltip for multiline comment in History view hinders selection
N20070702-0010 The tooltip for multiline comments in the History view hinders selection of the row behind, e.g.: - open CVS History for /org.eclipse.core.expressions/.classpath - move mouse to column "Comment" of rev. 1.7 - click -> clicks "through" the tooltip and selects the row - move mouse down to rev. 1.6 - Shift+click to select both items -> mouse click does nothing -> expected: should select rev. 1.6 and dismiss the tooltip If you now press Alt+Tab to file a bug, the tooltip even stays up, although the workbench window has lost focus.
bundles/org.eclipse.jface/src/org/eclipse/jface/window/ToolTip.java
* Contributors:
 *     Tom Schindl <tom.schindl@bestsolution.at> - initial API and implementation
 *******************************************************************************/
package org.eclipse.jface.window;
import java.util.HashMap;
import org.eclipse.jface.viewers.ColumnViewer;
import org.eclipse.jface.viewers.ViewerCell;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Monitor;
import org.eclipse.swt.widgets.Shell;
/**
 * This class gives implementors to provide customized tooltips for any control.
 * 
 * @since 3.3
 */
public abstract class ToolTip {
	private Control control;
	private int xShift = 3;
	private int yShift = 0;
	private int popupDelay = 0;
	private int hideDelay = 0;