1 /*******************************************************************************
2 * Copyright (c) 2010, 2014 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 * Patrick Tasse - Add support for folder elements
12 *******************************************************************************/
14 package org
.eclipse
.linuxtools
.tmf
.ui
.project
.model
;
16 import org
.eclipse
.jface
.viewers
.LabelProvider
;
19 * Label provider implementation for trace folders for viewers that display
20 * the content of a trace folder.
24 * @author Francois Chouinard
26 public class TraceFolderLabelProvider
extends LabelProvider
{
29 public String
getText(Object element
) {
30 if (element
instanceof TmfTraceElement
) {
31 TmfTraceElement entry
= (TmfTraceElement
) element
;
32 return entry
.getElementPath();
This page took 0.031421 seconds and 5 git commands to generate.