tmf: Use tabs in statistics view for each traces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / internal / lttng / ui / viewers / timeAnalysis / TmfTimeSelectionEvent.java
1 /*******************************************************************************
2 * Copyright (c) 2009 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Alvaro Sanchez-Leon - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.internal.lttng.ui.viewers.timeAnalysis;
14
15 import java.util.EventObject;
16
17 public class TmfTimeSelectionEvent extends EventObject {
18
19 /**
20 *
21 */
22 private static final long serialVersionUID = 1L;
23
24 public enum Type {WIDGET_DEF_SEL, WIDGET_SEL}
25 Type dType;
26 Object selection = null;
27 long selTime = 0;
28 int index = 0;
29
30 public TmfTimeSelectionEvent(Object arg0, Type rType, Object sel, long selectedTime) {
31 super(arg0);
32 dType = rType;
33 selection = sel;
34 selTime = selectedTime;
35 }
36
37 public Type getDType() {
38 return dType;
39 }
40
41 public Object getSelection() {
42 return selection;
43 }
44
45 public long getSelectedTime() {
46 return selTime;
47 }
48
49 }
This page took 0.033448 seconds and 5 git commands to generate.