1 /*******************************************************************************
2 * Copyright (c) 2009, 2012 Ericsson
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 * Alvaro Sanchez-Leon - Initial API and implementation
11 * Patrick Tasse - Refactoring
12 *******************************************************************************/
14 package org
.eclipse
.linuxtools
.tmf
.ui
.widgets
.timegraph
.model
;
17 * Interface for time events, for use in the timegraph view
20 * @author Alvaro Sanchez-Leon
21 * @author Patrick Tasse
23 public interface ITimeEvent
{
26 * Get the entry matching this time event.
28 * @return The time graph entry
30 public ITimeGraphEntry
getEntry();
33 * Get the timestamp of this event.
35 * @return The event's time
37 public long getTime();
42 * <li>-1: Considers duration to be from current event till the next</li>
43 * <li>0: Duration is not relevant e.g. a Burst / no state associated</li>
44 * <li>>0: Valid duration value specified</li>
48 public long getDuration();
This page took 0.032403 seconds and 5 git commands to generate.