/*******************************************************************************\r
- * Copyright (c) 2009 Ericsson\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
* \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
public interface ITimeEvent {\r
\r
- public ITmfTimeAnalysisEntry getEntry();\r
+ public ITimeGraphEntry getEntry();\r
\r
- public long getTime();\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
+ * @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
}
\ No newline at end of file