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
20 * @author Patrick Tasse
22 public class TimeGraphTimeEvent
extends EventObject
{
25 * Default serial version UID for this class.
27 private static final long serialVersionUID
= 1L;
30 * The selection begin time.
32 private final long fBeginTime
;
35 * The selection end time.
37 private final long fEndTime
;
40 * Standard constructor
43 * The source of this event
45 * The selection begin time
47 * The selection end time
49 public TimeGraphTimeEvent(Object source
, long beginTime
, long endTime
) {
51 fBeginTime
= beginTime
;
56 * @return the selection begin time
58 public long getBeginTime() {
63 * @return the selection end time
65 public long getEndTime() {
This page took 0.03262 seconds and 5 git commands to generate.