tmf: Update Javadoc throughout tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / TimeGraphRangeUpdateEvent.java
1 /*******************************************************************************
2 * Copyright (c) 2012 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 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.widgets.timegraph;
14
15 import java.util.EventObject;
16
17 /**
18 * Notifier for the time graph that the time range has been updated.
19 *
20 * @version 1.0
21 * @author Patrick Tasse
22 */
23 public class TimeGraphRangeUpdateEvent extends EventObject {
24
25 /**
26 * Default serial version UID for this class.
27 * @since 1.0
28 */
29 private static final long serialVersionUID = 1L;
30
31 /**
32 * The start time.
33 */
34 private final long fStartTime;
35
36 /**
37 * The end time.
38 */
39 private final long fEndTime;
40
41 public TimeGraphRangeUpdateEvent(Object source, long startTime, long endTime) {
42 super(source);
43 fStartTime = startTime;
44 fEndTime = endTime;
45 }
46
47 /**
48 * @return the start time
49 */
50 public long getStartTime() {
51 return fStartTime;
52 }
53
54 /**
55 * @return the end time
56 */
57 public long getEndTime() {
58 return fEndTime;
59 }
60
61 }
This page took 0.032449 seconds and 6 git commands to generate.