-
Notifications
You must be signed in to change notification settings - Fork 10
/
ITableColumnDescriptor.java
48 lines (42 loc) · 1.16 KB
/
ITableColumnDescriptor.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**********************************************************************
* Copyright (c) 2020 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.tracecompass.tmf.core.model;
import org.eclipse.tracecompass.tmf.core.dataprovider.DataType;
/**
* Interface to implement to describe a table column.
*
* @author Bernd Hufmann
* @since 6.1
*
*/
public interface ITableColumnDescriptor {
/**
* Gets the header text of the column.
*
* @return the text of the header
*/
String getText();
/**
* Gets the header tooltip text of the column.
*
* @return the tooltip text of the column
*/
String getTooltip();
/**
* Gets the data type of the column
*
* @return {@link DataType}.
* @since 8.3
*/
default DataType getDataType() {
return DataType.STRING;
}
}