[WIP] CFV Refactor
[deliverable/tracecompass.git] / tmf / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / internal / provisional / tmf / core / views / timegraph2 / TimeGraphEvent.java
diff --git a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/internal/provisional/tmf/core/views/timegraph2/TimeGraphEvent.java b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/internal/provisional/tmf/core/views/timegraph2/TimeGraphEvent.java
new file mode 100644 (file)
index 0000000..0ff6e6d
--- /dev/null
@@ -0,0 +1,29 @@
+/*******************************************************************************
+ * Copyright (c) 2016 EfficiOS Inc., Alexandre Montplaisir
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
+
+package org.eclipse.tracecompass.internal.provisional.tmf.core.views.timegraph2;
+
+public class TimeGraphEvent {
+
+    private final long fTimestamp;
+    private final TimeGraphTreeElement fTreeElement;
+
+    public TimeGraphEvent(long timestamp, TimeGraphTreeElement treeElement) {
+        fTimestamp = timestamp;
+        fTreeElement = treeElement;
+    }
+
+    public long getTimestamp() {
+        return fTimestamp;
+    }
+
+    public TimeGraphTreeElement getTreeElement() {
+        return fTreeElement;
+    }
+}
This page took 0.023665 seconds and 5 git commands to generate.