*******************************************************************************/
package org.eclipse.linuxtools.lttng.ui.views.common;
-import org.eclipse.linuxtools.lttng.event.LttngTimestamp;
+import org.eclipse.linuxtools.lttng.core.event.LttngTimestamp;
import org.eclipse.linuxtools.lttng.ui.TraceDebug;
-import org.eclipse.linuxtools.tmf.event.TmfTimeRange;
-import org.eclipse.linuxtools.tmf.event.TmfTimestamp;
+import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange;
+import org.eclipse.linuxtools.tmf.core.event.TmfTimestamp;
import org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.TmfTimeScaleSelectionEvent;
/**
* @param selTime
*/
public void setSelectedTime(long selTime) {
- TraceDebug.debug("Selected time changed from: \n\t" + selectedTime
- + " to: \n\t" + selTime);
+ TraceDebug.debug("Selected time changed from: \n\t" + selectedTime //$NON-NLS-1$
+ + " to: \n\t" + selTime); //$NON-NLS-1$
selectedTime = selTime;
}
// update succeeded
updated = true;
- TraceDebug.debug("Configuration updated to: StartTime: " /* */
+ TraceDebug.debug("Configuration updated to: StartTime: " /* */ //$NON-NLS-1$
+ fTimeStart /* */
- + "-" /* */
+ + "-" /* */ //$NON-NLS-1$
+ fTimeEnd /* */
- + " width: " /* */
- + width + " k: " + pixelsPerNs); /* */
+ + " width: " /* */ //$NON-NLS-1$
+ + width + " k: " + pixelsPerNs); /* */ //$NON-NLS-1$
} else {
TraceDebug
- .debug("End time is not greater than start time, start time: "
- + time0 + " end time: " + time1);
+ .debug("End time is not greater than start time, start time: " //$NON-NLS-1$
+ + time0 + " end time: " + time1); //$NON-NLS-1$
}
return updated;
public int getWidth() {
if (width == 0) {
TraceDebug
- .debug("Unexpected width value of 0 pixels, returning default");
+ .debug("Unexpected width value of 0 pixels, returning default"); //$NON-NLS-1$
return DEFAULT_WIDTH;
}