Commit | Line | Data |
---|---|---|
c0188b25 GB |
1 | /******************************************************************************* |
2 | * Copyright (c) 2011, 2014 Ericsson, École Polytechnique de Montréal | |
3 | * | |
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 | |
8 | * | |
9 | * Contributors: | |
10 | * Mathieu Denis - Initial API and Implementation | |
11 | * Geneviève Bastien - Moved class and adapted it to abstract tree viewer | |
12 | *******************************************************************************/ | |
13 | ||
2bdf0193 | 14 | package org.eclipse.tracecompass.tmf.ui.viewers.tree; |
c0188b25 GB |
15 | |
16 | import java.util.List; | |
17 | ||
4c4e2816 AM |
18 | import org.eclipse.jdt.annotation.NonNull; |
19 | ||
c0188b25 GB |
20 | /** |
21 | * Basic methods that must be implemented in a column data provider. Tree | |
22 | * viewers will use class implementing this to populate the columns. | |
23 | * | |
24 | * @author Mathieu Denis | |
c0188b25 GB |
25 | */ |
26 | public interface ITmfTreeColumnDataProvider { | |
27 | ||
28 | /** | |
29 | * Return a list of the column created for the view | |
30 | * | |
31 | * @return columns list | |
32 | */ | |
4c4e2816 | 33 | @NonNull List<TmfTreeColumnData> getColumnData(); |
c0188b25 | 34 | } |