1 /*****************************************************************************
2 * Copyright (c) 2013 École Polytechnique de Montréal, Ericsson.
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
9 * Geneviève Bastien - Added methods to save a time range selection
10 * Patrick Tasse - Support for range selection
11 *****************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.widgets
.timegraph
.widgets
;
17 * Extension of the ITimeDateProvider interface to avoid API breakage
20 * @TODO: Move these to the ITimeDateProvider interface when API 3.0 is reached
23 public interface ITimeDataProvider2
extends ITimeDataProvider
{
26 * Updates the selection begin and end time and notifies any registered
27 * listeners about the new time range (if necessary)
29 * @param beginTime the selection begin time
30 * @param endTime the selection end time
32 void setSelectionRangeNotify(long beginTime
, long endTime
);
35 * Updates the selection begin and end time
37 * @param beginTime the selection begin time
38 * @param endTime the selection end time
40 void setSelectionRange(long beginTime
, long endTime
);
43 * @return The begin time of the current selection
45 long getSelectionBegin();
48 * @return The end time of the current selection
50 long getSelectionEnd();
This page took 0.037455 seconds and 6 git commands to generate.