Commit | Line | Data |
---|---|---|
7cc11afa | 1 | /******************************************************************************* |
c8422608 | 2 | * Copyright (c) 2011, 2012 Kalray. |
02023181 | 3 | * |
7cc11afa XR |
4 | * All rights reserved. This program and the accompanying materials are |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
02023181 | 8 | * |
7cc11afa XR |
9 | * Contributors: |
10 | * Xavier Raynaud - Initial API and implementation | |
11 | ******************************************************************************/ | |
fb5cad3d | 12 | package org.eclipse.linuxtools.tmf.ui.widgets.virtualtable; |
7800a42f | 13 | |
02023181 MK |
14 | /** |
15 | * An interface to get tooltips. | |
16 | * @author Xavier Raynaud | |
17 | * @version 1.0 | |
18 | */ | |
7800a42f XR |
19 | public interface TooltipProvider { |
20 | ||
02023181 MK |
21 | /** |
22 | * get a Tooltip for a given column in a table row. (a cell if you will) | |
23 | * @param column the column | |
24 | * @param data the object being selected. (quite often a "TableItem") | |
25 | * @return the string of text to display in the tooltip. | |
26 | */ | |
7800a42f | 27 | public String getTooltip(int column, Object data); |
02023181 | 28 | |
7800a42f | 29 | } |