1 /*******************************************************************************
2 * Copyright (c) 2012, 2014 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 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.ui
.widgets
.timegraph
;
15 import java
.util
.EventObject
;
18 * Time selection event
21 * @author Patrick Tasse
23 public class TimeGraphTimeEvent
extends EventObject
{
26 * Default serial version UID for this class.
29 private static final long serialVersionUID
= 1L;
32 * The selection begin time.
34 private final long fBeginTime
;
37 * The selection end time.
39 private final long fEndTime
;
42 * Standard constructor
45 * The source of this event
47 * The selection begin time
49 * The selection end time
52 public TimeGraphTimeEvent(Object source
, long beginTime
, long endTime
) {
54 fBeginTime
= beginTime
;
59 * @return the selection begin time
62 public long getBeginTime() {
67 * @return the selection end time
70 public long getEndTime() {
This page took 0.055212 seconds and 5 git commands to generate.