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
if( labelProvider.useNativeToolTip(element) ) {
					viewer.getControl().setToolTipText(text);
					return;
				}
				
				tip = new Shell(viewer.getControl().getShell(), SWT.ON_TOP | SWT.TOOL);
				tip.setLayout(new FillLayout());
				CLabel label = new CLabel(tip, labelProvider.getToolTipStyle(element));
				label.setText(text);
				label.addListener(SWT.MouseExit, hideListener);
				label.addListener(SWT.MouseDown, hideListener);
				
				Image img =  labelProvider.getToolTipImage(element);
				
				if( img != null) {
					label.setImage(img);
				}
				
				Color color = labelProvider.getToolTipForegroundColor(element);
				if( color == null ) {
					color = viewer.getControl().getDisplay().getSystemColor(SWT.COLOR_INFO_FOREGROUND);
				}
				label.setForeground(color);
				
				color = labelProvider.getToolTipBackgroundColor(element);
				if( color == null ) {
					color = viewer.getControl().getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND);
				}
				label.setBackground(color);