Commit | Line | Data |
---|---|---|
b0d3496e ASL |
1 | /*******************************************************************************\r |
2 | * Copyright (c) 2009 Ericsson\r | |
3 | * \r | |
4 | * All rights reserved. This program and the accompanying materials are\r | |
5 | * made available under the terms of the Eclipse Public License v1.0 which\r | |
6 | * accompanies this distribution, and is available at\r | |
7 | * http://www.eclipse.org/legal/epl-v10.html\r | |
8 | * \r | |
9 | * Contributors:\r | |
10 | * Alvaro Sanchez-Leon - Initial API and implementation\r | |
11 | *******************************************************************************/\r | |
12 | \r | |
13 | package org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.model;\r | |
14 | \r | |
15 | public abstract class TimeEvent implements ITimeEvent {\r | |
16 | /* (non-Javadoc)\r | |
17 | * @see org.eclipse.linuxtools.tlf.widgets.timeAnalysis.model.TmTaEventI#getTrace()\r | |
18 | */\r | |
d4011df2 | 19 | @Override\r |
b0d3496e ASL |
20 | public abstract ITmfTimeAnalysisEntry getEntry();\r |
21 | \r | |
22 | /* (non-Javadoc)\r | |
23 | * @see org.eclipse.linuxtools.tlf.widgets.timeAnalysis.model.TmTaEventI#getTime()\r | |
24 | */\r | |
d4011df2 | 25 | @Override\r |
b0d3496e ASL |
26 | public abstract long getTime();\r |
27 | \r | |
28 | /* (non-Javadoc)\r | |
29 | * @see org.eclipse.linuxtools.tlf.widgets.timeAnalysis.model.TmTaEventI#getDuration()\r | |
30 | */\r | |
d4011df2 | 31 | @Override\r |
b0d3496e ASL |
32 | public long getDuration() {\r |
33 | return -1;\r | |
34 | }\r | |
35 | }\r |