Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.util.viewer
Class ColumnBrowserTip

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.util.viewer.BrowserColumnViewerTip
      extended by 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
 
Method Summary
protected  String getToolTip(Object element, int col, String text)
          Get the tool tip for a viewer cell
 
Methods inherited from class eu.esdihumboldt.hale.ui.util.viewer.BrowserColumnViewerTip
showToolTip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnBrowserTip

public ColumnBrowserTip(org.eclipse.jface.viewers.ColumnViewer viewer,
                        int width,
                        int height,
                        boolean plainText,
                        int column,
                        TipProvider tipProvider)
Constructor

Parameters:
viewer - the column viewer
width - the tip width
height - the tip height
plainText - if plain text or HTML shall be displayed
column - the column index
tipProvider - the tool tip provider, if a null tip provider is used, the cell's text will be used for the tool tip
Method Detail

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 row
col - the column index
text - the cell text
Returns:
the tool tip, null if no tool tip shall be shown
See Also:
BrowserColumnViewerTip.getToolTip(Object, int, String)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d