public class ColumnBrowserTip extends BrowserColumnViewerTip
Constructor and Description |
---|
ColumnBrowserTip(org.eclipse.jface.viewers.ColumnViewer viewer,
int width,
int height,
boolean plainText,
int column,
TipProvider tipProvider)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected String |
getToolTip(Object element,
int col,
String text)
Get the tool tip for a viewer cell
|
showToolTip
public ColumnBrowserTip(org.eclipse.jface.viewers.ColumnViewer viewer, int width, int height, boolean plainText, int column, TipProvider tipProvider)
viewer
- the column viewerwidth
- the tip widthheight
- the tip heightplainText
- if plain text or HTML shall be displayedcolumn
- the column indextipProvider
- the tool tip provider, if a null
tip
provider is used, the cell's text will be used for the tool
tipprotected String getToolTip(Object element, int col, String text)
BrowserColumnViewerTip
getToolTip
in class BrowserColumnViewerTip
element
- the element defining the viewer rowcol
- the column indextext
- the cell textnull
if no tool tip shall be shownBrowserColumnViewerTip.getToolTip(Object, int, String)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a