1 /*******************************************************************************
2 * Copyright (c) 2009 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Alvaro Sanchez-Leon - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.viewers
.timeAnalysis
;
15 import java
.util
.EventObject
;
17 public class TmfTimeTimeScaleSelectionEvent
extends EventObject
{
22 private static final long serialVersionUID
= -4177428788761351379L;
27 long selectedTime
= 0;
35 * time0 the start time
38 * pixels used to draw the width of the time space
40 * carries the selected time if available otherwise is 0
42 public TmfTimeTimeScaleSelectionEvent(Object arg0
, long time0
, long time1
,
43 int width
, long selTime
) {
48 this.selectedTime
= selTime
;
51 public long getTime0() {
55 public long getTime1() {
59 public int getWidth() {