Commit | Line | Data |
---|---|---|
73005152 | 1 | /********************************************************************** |
df0b8ff4 BH |
2 | * Copyright (c) 2005, 2006 IBM Corporation and others. |
3 | * Copyright (c) 2011, 2012 Ericsson. | |
4 | * | |
73005152 BH |
5 | * All rights reserved. This program and the accompanying materials |
6 | * are made available under the terms of the Eclipse Public License v1.0 | |
7 | * which accompanies this distribution, and is available at | |
8 | * http://www.eclipse.org/legal/epl-v10.html | |
73005152 BH |
9 | * |
10 | * Contributors: | |
11 | * IBM - Initial API and implementation | |
12 | * Bernd Hufmann - Updated for TMF | |
13 | **********************************************************************/ | |
14 | package org.eclipse.linuxtools.tmf.ui.views.uml2sd.core; | |
15 | ||
4df4581d | 16 | import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp; |
73005152 BH |
17 | |
18 | /** | |
df0b8ff4 BH |
19 | * A interface for handling time ranges. |
20 | * | |
21 | * @version 1.0 | |
73005152 BH |
22 | * @author sveyrier |
23 | * | |
24 | */ | |
25 | public interface ITimeRange { | |
26 | ||
df0b8ff4 BH |
27 | /** |
28 | * Returns the time when the message began. | |
29 | * @return the time when the message began | |
30 | */ | |
4df4581d | 31 | public ITmfTimestamp getStartTime(); |
73005152 | 32 | |
df0b8ff4 BH |
33 | /** |
34 | * Returns the time when the message ended. | |
35 | * | |
36 | * @return the time when the message ended | |
37 | */ | |
4df4581d | 38 | public ITmfTimestamp getEndTime(); |
73005152 | 39 | |
df0b8ff4 BH |
40 | /** |
41 | * Returns flag to indicate whether time information is available or not. | |
42 | * | |
43 | * @return flag to indicate whether time information is available or not | |
44 | */ | |
73005152 BH |
45 | public boolean hasTimeInfo(); |
46 | } |