-/*******************************************************************************\r
- * Copyright (c) 2012 Ericsson\r
- *\r
- * All rights reserved. This program and the accompanying materials are\r
- * made available under the terms of the Eclipse Public License v1.0 which\r
- * accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- * Patrick Tasse - Initial API and implementation\r
- *******************************************************************************/\r
-\r
-package org.eclipse.linuxtools.tmf.ui.widgets.timegraph;\r
-\r
-import java.util.EventObject;\r
-\r
-import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry;\r
-\r
-/**\r
- * Notifier for the time graph that an object in the views has been selected.\r
- *\r
- * @version 1.0\r
- * @author Patrick Tasse\r
- */\r
-public class TimeGraphSelectionEvent extends EventObject {\r
-\r
- /**\r
- * Default serial version UID for this class.\r
- * @since 1.0\r
- */\r
- private static final long serialVersionUID = 1L;\r
-\r
- /**\r
- * The selected entry.\r
- */\r
- private final ITimeGraphEntry fSelection;\r
-\r
- /**\r
- * Standard constructor\r
- *\r
- * @param source\r
- * The source of this event\r
- * @param selection\r
- * The entry that was selected\r
- */\r
- public TimeGraphSelectionEvent(Object source, ITimeGraphEntry selection) {\r
- super(source);\r
- fSelection = selection;\r
- }\r
-\r
- /**\r
- * @return the selected entry or null if the selection is empty.\r
- */\r
- public ITimeGraphEntry getSelection() {\r
- return fSelection;\r
- }\r
-\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2012 Ericsson
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Patrick Tasse - Initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.linuxtools.tmf.ui.widgets.timegraph;
+
+import java.util.EventObject;
+
+import org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry;
+
+/**
+ * Notifier for the time graph that an object in the views has been selected.
+ *
+ * @version 1.0
+ * @author Patrick Tasse
+ */
+public class TimeGraphSelectionEvent extends EventObject {
+
+ /**
+ * Default serial version UID for this class.
+ * @since 1.0
+ */
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * The selected entry.
+ */
+ private final ITimeGraphEntry fSelection;
+
+ /**
+ * Standard constructor
+ *
+ * @param source
+ * The source of this event
+ * @param selection
+ * The entry that was selected
+ */
+ public TimeGraphSelectionEvent(Object source, ITimeGraphEntry selection) {
+ super(source);
+ fSelection = selection;
+ }
+
+ /**
+ * @return the selected entry or null if the selection is empty.
+ */
+ public ITimeGraphEntry getSelection() {
+ return fSelection;
+ }
+
+}