diff options
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/model/ITimeEvent.java')
-rw-r--r-- | lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/model/ITimeEvent.java | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/model/ITimeEvent.java b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/model/ITimeEvent.java index 73a10e3bb6..9326eb84be 100644 --- a/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/model/ITimeEvent.java +++ b/lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/model/ITimeEvent.java @@ -1,50 +1,50 @@ -/*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
- *
- * All rights reserved. This program and the accompanying materials are
- * made available under the terms of the Eclipse Public License v1.0 which
- * accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Alvaro Sanchez-Leon - Initial API and implementation
- * Patrick Tasse - Refactoring
- *******************************************************************************/
-
-package org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model;
-
-/**
- * Interface for time events, for use in the timegraph view
- *
- * @version 1.0
- * @author Alvaro Sanchez-Leon
- * @author Patrick Tasse
- */
-public interface ITimeEvent {
-
- /**
- * Get the entry matching this time event.
- *
- * @return The time graph entry
- */
- public ITimeGraphEntry getEntry();
-
- /**
- * Get the timestamp of this event.
- *
- * @return The event's time
- */
- public long getTime();
-
- /**
- * @return
- * <list>
- * <li>-1: Considers duration to be from current event till the next</li>
- * <li>0: Duration is not relevant e.g. a Burst / no state associated</li>
- * <li>>0: Valid duration value specified</li>
- * </list>
- * <p>
- */
- public long getDuration();
-
+/******************************************************************************* + * Copyright (c) 2009, 2012 Ericsson + * + * All rights reserved. This program and the accompanying materials are + * made available under the terms of the Eclipse Public License v1.0 which + * accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Alvaro Sanchez-Leon - Initial API and implementation + * Patrick Tasse - Refactoring + *******************************************************************************/ + +package org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model; + +/** + * Interface for time events, for use in the timegraph view + * + * @version 1.0 + * @author Alvaro Sanchez-Leon + * @author Patrick Tasse + */ +public interface ITimeEvent { + + /** + * Get the entry matching this time event. + * + * @return The time graph entry + */ + public ITimeGraphEntry getEntry(); + + /** + * Get the timestamp of this event. + * + * @return The event's time + */ + public long getTime(); + + /** + * @return + * <list> + * <li>-1: Considers duration to be from current event till the next</li> + * <li>0: Duration is not relevant e.g. a Burst / no state associated</li> + * <li>>0: Valid duration value specified</li> + * </list> + * <p> + */ + public long getDuration(); + }
\ No newline at end of file |