tmf: Update Javadoc throughout tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / TimeGraphRangeUpdateEvent.java
CommitLineData
fb5cad3d
PT
1/*******************************************************************************\r
2 * Copyright (c) 2012 Ericsson\r
013a5f1c 3 *\r
fb5cad3d
PT
4 * All rights reserved. This program and the accompanying materials are\r
5 * made available under the terms of the Eclipse Public License v1.0 which\r
6 * accompanies this distribution, and is available at\r
7 * http://www.eclipse.org/legal/epl-v10.html\r
013a5f1c 8 *\r
fb5cad3d
PT
9 * Contributors:\r
10 * Patrick Tasse - Initial API and implementation\r
11 *******************************************************************************/\r
12\r
13package org.eclipse.linuxtools.tmf.ui.widgets.timegraph;\r
14\r
15import java.util.EventObject;\r
16\r
013a5f1c
AM
17/**\r
18 * Notifier for the time graph that the time range has been updated.\r
19 *\r
20 * @version 1.0\r
21 * @author Patrick Tasse\r
22 */\r
fb5cad3d
PT
23public class TimeGraphRangeUpdateEvent extends EventObject {\r
24\r
25 /**\r
26 * Default serial version UID for this class.\r
27 * @since 1.0\r
28 */\r
29 private static final long serialVersionUID = 1L;\r
30\r
31 /**\r
32 * The start time.\r
33 */\r
013a5f1c 34 private final long fStartTime;\r
fb5cad3d
PT
35\r
36 /**\r
37 * The end time.\r
38 */\r
013a5f1c 39 private final long fEndTime;\r
fb5cad3d
PT
40\r
41 public TimeGraphRangeUpdateEvent(Object source, long startTime, long endTime) {\r
42 super(source);\r
43 fStartTime = startTime;\r
44 fEndTime = endTime;\r
45 }\r
46\r
47 /**\r
48 * @return the start time\r
49 */\r
50 public long getStartTime() {\r
51 return fStartTime;\r
52 }\r
53\r
54 /**\r
55 * @return the end time\r
56 */\r
57 public long getEndTime() {\r
58 return fEndTime;\r
59 }\r
60\r
61}\r
This page took 0.029064 seconds and 5 git commands to generate.