-/*******************************************************************************\r
- * Copyright (c) 2009, 2012 Ericsson\r
- *\r
- * All rights reserved. This program and the accompanying materials are\r
- * made available under the terms of the Eclipse Public License v1.0 which\r
- * accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * Alvaro Sanchez-Leon - Initial API and implementation\r
- * Patrick Tasse - Refactoring\r
- *******************************************************************************/\r
-\r
-package org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model;\r
-\r
-/**\r
- * Interface for time events, for use in the timegraph view\r
- *\r
- * @version 1.0\r
- * @author Alvaro Sanchez-Leon\r
- * @author Patrick Tasse\r
- */\r
-public interface ITimeEvent {\r
-\r
- /**\r
- * Get the entry matching this time event.\r
- *\r
- * @return The time graph entry\r
- */\r
- public ITimeGraphEntry getEntry();\r
-\r
- /**\r
- * Get the timestamp of this event.\r
- *\r
- * @return The event's time\r
- */\r
- public long getTime();\r
-\r
- /**\r
- * @return\r
- * <list>\r
- * <li>-1: Considers duration to be from current event till the next</li>\r
- * <li>0: Duration is not relevant e.g. a Burst / no state associated</li>\r
- * <li>>0: Valid duration value specified</li>\r
- * </list>\r
- * <p>\r
- */\r
- public long getDuration();\r
-\r
+/*******************************************************************************
+ * 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