1 /*******************************************************************************
2 * Copyright (c) 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 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.widgets
.timegraph
.model
;
16 * Generic TimeEvent implementation
19 * @author Patrick Tasse
21 public class TimeEvent
implements ITimeEvent
{
22 protected ITimeGraphEntry fEntry
;
24 protected long fDuration
;
27 * Standard constructor
30 * The entry matching this event
32 * The timestamp of this event
34 * The duration of the event
36 public TimeEvent(ITimeGraphEntry entry
, long time
, long duration
) {
43 public ITimeGraphEntry
getEntry() {
48 public long getTime() {
53 public long getDuration() {
This page took 0.034701 seconds and 6 git commands to generate.