1 /*******************************************************************************
2 * Copyright (c) 2012 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
.linuxtools
.tmf
.ui
.widgets
.timegraph
;
15 import java
.util
.EventObject
;
18 * Notifier for the time graph that the time range has been updated.
21 * @author Patrick Tasse
23 public class TimeGraphRangeUpdateEvent
extends EventObject
{
26 * Default serial version UID for this class.
29 private static final long serialVersionUID
= 1L;
34 private final long fStartTime
;
39 private final long fEndTime
;
42 * Standard constructor
45 * The source of this event
51 public TimeGraphRangeUpdateEvent(Object source
, long startTime
, long endTime
) {
53 fStartTime
= startTime
;
58 * @return the start time
60 public long getStartTime() {
65 * @return the end time
67 public long getEndTime() {