Fix for Linux display bugs in TimeGraphCombo.
[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
3 * \r
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
8 * \r
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
17public class TimeGraphTimeEvent extends EventObject {\r
18\r
19 /**\r
20 * Default serial version UID for this class.\r
21 * @since 1.0\r
22 */\r
23 private static final long serialVersionUID = 1L;\r
24\r
25 /**\r
26 * The selected time.\r
27 */\r
28 private long fTime;\r
29\r
30 public TimeGraphTimeEvent(Object source, long time) {\r
31 super(source);\r
32 fTime = time;\r
33 }\r
34\r
35 /**\r
36 * @return the selected time\r
37 */\r
38 public long getTime() {\r
39 return fTime;\r
40 }\r
41\r
42}\r
This page took 0.025184 seconds and 5 git commands to generate.