Commit | Line | Data |
---|---|---|
739b9fec AM |
1 | /******************************************************************************* |
2 | * Copyright (c) 2016 EfficiOS Inc., Alexandre Montplaisir | |
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 | ||
10 | package org.eclipse.tracecompass.internal.provisional.tmf.core.views.timegraph2; | |
11 | ||
12 | import java.util.List; | |
13 | ||
14 | import com.google.common.collect.ImmutableList; | |
15 | ||
16 | public class TimeGraphTreeRender { | |
17 | ||
18 | private final List<TimeGraphTreeElement> fTreeElements; | |
19 | ||
20 | public TimeGraphTreeRender(List<TimeGraphTreeElement> elements) { | |
21 | fTreeElements = ImmutableList.copyOf(elements); | |
22 | } | |
23 | ||
24 | public List<TimeGraphTreeElement> getAllTreeElements() { | |
25 | return fTreeElements; | |
26 | } | |
27 | } |