tmf: Update Javadoc throughout tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / TimeGraphTimeEvent.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 * Event for the time graph view\r
19 *\r
20 * @version 1.0\r
21 * @author Patrick Tasse\r
22 */\r
fb5cad3d
PT
23public class TimeGraphTimeEvent 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 selected time.\r
33 */\r
013a5f1c 34 private final long fTime;\r
fb5cad3d
PT
35\r
36 public TimeGraphTimeEvent(Object source, long time) {\r
37 super(source);\r
38 fTime = time;\r
39 }\r
40\r
41 /**\r
42 * @return the selected time\r
43 */\r
44 public long getTime() {\r
45 return fTime;\r
46 }\r
47\r
48}\r
This page took 0.026782 seconds and 5 git commands to generate.