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