eu.esdihumboldt.hale.ui.util.viewer
Class ColumnBrowserTip
java.lang.Object
eu.esdihumboldt.hale.ui.util.viewer.BrowserColumnViewerTip
eu.esdihumboldt.hale.ui.util.viewer.ColumnBrowserTip
public class ColumnBrowserTip
- extends BrowserColumnViewerTip
Browser Tip for a certain column
- Author:
- Simon Templer
- Partner:
- 01 / Fraunhofer Institute for Computer Graphics Research
Constructor Summary |
ColumnBrowserTip(org.eclipse.jface.viewers.ColumnViewer viewer,
int width,
int height,
boolean plainText,
int column,
TipProvider tipProvider)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColumnBrowserTip
public ColumnBrowserTip(org.eclipse.jface.viewers.ColumnViewer viewer,
int width,
int height,
boolean plainText,
int column,
TipProvider tipProvider)
- Constructor
- Parameters:
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
tip
getToolTip
protected String getToolTip(Object element,
int col,
String text)
- Description copied from class:
BrowserColumnViewerTip
- Get the tool tip for a viewer cell
- Specified by:
getToolTip
in class BrowserColumnViewerTip
- Parameters:
element
- the element defining the viewer rowcol
- the column indextext
- the cell text
- Returns:
- the tool tip,
null
if no tool tip shall be shown - See Also:
BrowserColumnViewerTip.getToolTip(Object, int, String)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d