| 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 | |
| 14 | package org.eclipse.tracecompass.tmf.ui.viewers.tree; |
| 15 | |
| 16 | import java.util.List; |
| 17 | |
| 18 | import org.eclipse.jdt.annotation.NonNull; |
| 19 | |
| 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 |
| 25 | */ |
| 26 | public interface ITmfTreeColumnDataProvider { |
| 27 | |
| 28 | /** |
| 29 | * Return a list of the column created for the view |
| 30 | * |
| 31 | * @return columns list |
| 32 | */ |
| 33 | @NonNull List<TmfTreeColumnData> getColumnData(); |
| 34 | } |