Class TooltipTableViewer

All Implemented Interfaces:
IViewerToolTip, IInputProvider, IInputSelectionProvider, IPostSelectionProvider, ISelectionProvider

public class TooltipTableViewer extends TableViewer implements IViewerToolTip
The table viewer with the interface for tooltip implemented.
Author:
Christopher Mindus
  • Constructor Details

    • TooltipTableViewer

      public TooltipTableViewer(Composite parent, int style)
      Constructor.
  • Method Details

    • getViewerRow

      public ViewerRow getViewerRow(Point point)
      Returns the viewer row at the given widget-relative coordinates. Overridden to make public. As it's for tooltip support this will work just fine.
      Specified by:
      getViewerRow in interface IViewerToolTip
      Overrides:
      getViewerRow in class ColumnViewer
      Parameters:
      point - The widget-relative coordinates of the viewer row.
      Returns:
      ViewerRow the row or null if no row is found at the given coordinates.
    • getViewerRowFromItem

      public ViewerRow getViewerRowFromItem(Widget item)
      Returns the viewer row for the given widget.
      Overrides:
      getViewerRowFromItem in class TableViewer
      Returns:
      ViewerRow the row or null if no row is found for the given widget.