| 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 TimeGraphArrow { |
| 13 | |
| 14 | private final TimeGraphEvent fStartEvent; |
| 15 | private final TimeGraphEvent fEndEvent; |
| 16 | |
| 17 | public TimeGraphArrow(TimeGraphEvent startEvent, TimeGraphEvent endEvent) { |
| 18 | fStartEvent = startEvent; |
| 19 | fEndEvent = endEvent; |
| 20 | } |
| 21 | |
| 22 | public TimeGraphEvent getStartEvent() { |
| 23 | return fStartEvent; |
| 24 | } |
| 25 | |
| 26 | public TimeGraphEvent getEndEvent() { |
| 27 | return fEndEvent; |
| 28 | } |
| 29 | |
| 30 | } |