1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
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
10 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.widgets
.timegraph
.model
;
16 * TimeEvent implementation for events that do not involve only one entry, they
17 * have a source entry and destination entry
21 public class TimeLinkEvent
extends TimeEvent
implements ILinkEvent
{
23 /** TimeGraphEntry matching the destination this time event */
24 private ITimeGraphEntry fDestEntry
;
27 * Standard constructor
30 * The source entry of this event
32 * The destination entry of this event
34 * The timestamp of this event
36 * The duration of the event
38 public TimeLinkEvent(ITimeGraphEntry src
, ITimeGraphEntry dst
, long time
, long duration
) {
39 super(src
, time
, duration
);
47 * The source entry of this event
49 * The destination entry of this event
51 * The timestamp of this event
53 * The duration of this event
55 * The status assigned to the event
57 public TimeLinkEvent(ITimeGraphEntry src
, ITimeGraphEntry dst
, long time
, long duration
,
59 super(src
, time
, duration
, value
);
64 public ITimeGraphEntry
getDestinationEntry() {