Bug 163274 [JFace] Provide customizable ToolTip at JFace level
More and more elements in JFace and UI request Customizable TooltipSupport. We should think about providing a common class providing a solid base for Tooltip implementations.
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ToolTipSupport.java
viewer.getControl().setToolTipText(""); 
                if (row != null)
                {
                  
                  popupTooltip(row, new Point(event.x, event.y));
                }
                break;
			}
		}
		
		/**
		 * Popup a tooltip for the row at Point p.
		 * @param row
		 * @param p
		 */
		private void popupTooltip(ViewerRow row, Point p) {
			Object element = row.getItem().getData();
			disposeTooltip(tip);
			ViewerColumn viewPart = viewer.getViewerColumn(row.getColumnIndex(p));
			
			if( viewPart == null ) {
				return;
			}
			
			CellLabelProvider labelProvider = viewPart.getLabelProvider();
			
			String text = labelProvider.getToolTipText(element);
			
			if( text != null ) {