tmf: Update copyright headers in tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / widgets / ITimeDataProvider.java
index 260eb1b4cf3e572bb21681d2a330af594d4406de..74c33569964be9268d5c5e93257327e93950dca1 100644 (file)
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * Copyright (c) 2007 Intel Corporation, 2010, 2012 Ericsson.
+ * Copyright (c) 2007, 2013 Intel Corporation, Ericsson.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
  *   Ruslan A. Scherbakov, Intel - Initial API and implementation
  *   Alvaro Sanchez-Leon - Updated for TMF
  *   Patrick Tasse - Refactoring
- *
  *****************************************************************************/
 
 package org.eclipse.linuxtools.tmf.ui.widgets.timegraph.widgets;
 
+import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.widgets.Utils.TimeFormat;
+
 /**
  * Time data provider interface, for use in the timegraph widget.
  *
  * @version 1.0
  * @author Alvaro Sanchez-Leon
  * @author Patrick Tasse
+ * @author Xavier Raynaud
  */
 public interface ITimeDataProvider {
 
@@ -133,7 +135,13 @@ public interface ITimeDataProvider {
     int getTimeSpace();
 
     /**
-     * @return If the calendar format is absolute (true) or relative (false)
+     * @return the time format, one of:
+     * <ul>
+     *   <li>{@link TimeFormat#CALENDAR} absolute time, displayed as year/month/day/hours/minutes/seconds/ms/us/ns
+     *   <li>{@link TimeFormat#RELATIVE} relative time, displayed as seconds/ms/us/ns
+     *   <li>{@link TimeFormat#NUMBER}   number, displayed as long values.
+     * </ul>
+     * @since 2.0
      */
-    boolean isCalendarFormat();
+    TimeFormat getTimeFormat();
 }
This page took 0.024038 seconds and 5 git commands to generate.