1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 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 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.lttng
.ui
.views
.project
.model
;
15 import org
.eclipse
.core
.resources
.IFolder
;
18 * <b><u>LTTngTraceNode</u></b>
20 * TODO: Implement me. Please.
22 public class LTTngTraceNode
extends LTTngProjectTreeNode
{
24 private final IFolder fTrace
;
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
30 public LTTngTraceNode(IFolder folder
) {
34 public LTTngTraceNode(ILTTngProjectTreeNode parent
, IFolder trace
) {
39 // ------------------------------------------------------------------------
40 // LTTngProjectTreeNode
41 // ------------------------------------------------------------------------
44 public String
getName() {
45 return fTrace
.getName();
49 public void refreshChildren() {
52 // ------------------------------------------------------------------------
54 // ------------------------------------------------------------------------
59 public LTTngProjectNode
getProject() {
60 return (LTTngProjectNode
) getParent().getParent();
66 public IFolder
getFolder() {