[WIP] CFV Refactor
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / internal / provisional / tmf / core / views / timegraph2 / TimeGraphEvent.java
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 public class TimeGraphEvent {
13
14 private final long fTimestamp;
15 private final TimeGraphTreeElement fTreeElement;
16
17 public TimeGraphEvent(long timestamp, TimeGraphTreeElement treeElement) {
18 fTimestamp = timestamp;
19 fTreeElement = treeElement;
20 }
21
22 public long getTimestamp() {
23 return fTimestamp;
24 }
25
26 public TimeGraphTreeElement getTreeElement() {
27 return fTreeElement;
28 }
29 }
This page took 0.03375 seconds and 5 git commands to generate.