April 26th, 2010
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / viewers / timeAnalysis / widgets / ITimeDataProvider.java
CommitLineData
b0d3496e 1/*****************************************************************************\r
a5823d5f 2 * Copyright (c) 2007, 2010 Intel Corporation.\r
b0d3496e
ASL
3 * All rights reserved. This program and the accompanying materials\r
4 * are made available under the terms of the Eclipse Public License v1.0\r
5 * which accompanies this distribution, and is available at\r
6 * http://www.eclipse.org/legal/epl-v10.html\r
7 *\r
8 * Contributors:\r
9 * Intel Corporation - Initial API and implementation\r
10 * Ruslan A. Scherbakov, Intel - Initial API and implementation\r
a5823d5f 11 * Alvaro Sanchex-Leon - Updated for TMF\r
b0d3496e
ASL
12 *\r
13 * $Id: ITimeDataProvider.java,v 1.2 2007/02/27 18:37:36 ewchan Exp $ \r
14 *****************************************************************************/\r
15\r
16package org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.widgets;\r
17\r
18public interface ITimeDataProvider {\r
19\r
20 long getSelectedTime();\r
21\r
22 long getBeginTime();\r
23\r
24 long getEndTime();\r
25\r
26 long getMinTime();\r
27\r
28 long getMaxTime();\r
29\r
30 long getTime0();\r
31\r
32 long getTime1();\r
33\r
34 long getMinTimeInterval();\r
35\r
71c964eb
ASL
36 /**\r
37 * Updates the time range and notify registered listeners\r
38 * \r
39 * @param time0\r
40 * @param time1\r
41 */\r
42 void setStartFinishTimeNotify(long time0, long time1);\r
43\r
44 /**\r
45 * Update the time range but do not trigger event notification\r
46 * \r
47 * @param time0\r
48 * @param time1\r
49 */\r
b0d3496e
ASL
50 void setStartFinishTime(long time0, long time1);\r
51\r
b0d3496e
ASL
52 void setSelectedTimeInt(long time, boolean ensureVisible);\r
53\r
54 void resetStartFinishTime();\r
55\r
56 int getNameSpace();\r
57\r
58 void setNameSpace(int width);\r
59\r
60 int getTimeSpace();\r
61 \r
62 boolean isCalendarFormat();\r
63}\r
This page took 0.027868 seconds and 5 git commands to generate.