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
19 public class TimeLinkEvent
extends TimeEvent
implements ILinkEvent
{
21 /** TimeGraphEntry matching the destination this time event */
22 private ITimeGraphEntry fDestEntry
;
25 * Standard constructor
28 * The source entry of this event
30 * The destination entry of this event
32 * The timestamp of this event
34 * The duration of the event
36 public TimeLinkEvent(ITimeGraphEntry src
, ITimeGraphEntry dst
, long time
, long duration
) {
37 super(src
, time
, duration
);
45 * The source entry of this event
47 * The destination entry of this event
49 * The timestamp of this event
51 * The duration of this event
53 * The status assigned to the event
55 public TimeLinkEvent(ITimeGraphEntry src
, ITimeGraphEntry dst
, long time
, long duration
,
57 super(src
, time
, duration
, value
);
62 public ITimeGraphEntry
getDestinationEntry() {