1 /*******************************************************************************
2 * Copyright (c) 2016 EfficiOS Inc., Alexandre Montplaisir
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 *******************************************************************************/
10 package org
.eclipse
.tracecompass
.internal
.provisional
.tmf
.core
.views
.timegraph2
;
12 import java
.util
.List
;
14 import com
.google
.common
.base
.Objects
;
15 import com
.google
.common
.collect
.ImmutableList
;
17 public class TimeGraphTreeElement
{
19 private final String fName
;
20 private final List
<TimeGraphTreeElement
> fChildElements
;
22 public TimeGraphTreeElement(String name
, List
<TimeGraphTreeElement
> children
) {
24 fChildElements
= ImmutableList
.copyOf(children
);
27 public String
getName() {
31 public List
<TimeGraphTreeElement
> getChildElements() {
32 return fChildElements
;
36 public String
toString() {
37 return Objects
.toStringHelper(this)
38 .add("fName", fName
) //$NON-NLS-1$
39 .add("fChildElements", fChildElements
.toString()) //$NON-NLS-1$
This page took 0.044652 seconds and 5 git commands to generate.