Merge branch 'master' into lttng-kepler
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / model / TimeEvent.java
index aa82194f7879048863ab9899395ba2b5038e3a5a..34988a6df5e7aa6256dab0b0faab95ecb52b4262 100644 (file)
@@ -1,56 +1,56 @@
-/*******************************************************************************\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.model;\r
-\r
-/**\r
- * Generic TimeEvent implementation\r
- *\r
- * @version 1.0\r
- * @author Patrick Tasse\r
- */\r
-public class TimeEvent implements ITimeEvent {\r
-    protected ITimeGraphEntry fEntry;\r
-    protected long fTime;\r
-    protected long fDuration;\r
-\r
-    /**\r
-     * Standard constructor\r
-     *\r
-     * @param entry\r
-     *            The entry matching this event\r
-     * @param time\r
-     *            The timestamp of this event\r
-     * @param duration\r
-     *            The duration of the event\r
-     */\r
-    public TimeEvent(ITimeGraphEntry entry, long time, long duration) {\r
-        fEntry = entry;\r
-        fTime = time;\r
-        fDuration = duration;\r
-    }\r
-\r
-    @Override\r
-    public ITimeGraphEntry getEntry() {\r
-        return fEntry;\r
-    }\r
-\r
-    @Override\r
-    public long getTime() {\r
-        return fTime;\r
-    }\r
-\r
-    @Override\r
-    public long getDuration() {\r
-        return fDuration;\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.model;
+
+/**
+ * Generic TimeEvent implementation
+ *
+ * @version 1.0
+ * @author Patrick Tasse
+ */
+public class TimeEvent implements ITimeEvent {
+    protected ITimeGraphEntry fEntry;
+    protected long fTime;
+    protected long fDuration;
+
+    /**
+     * Standard constructor
+     *
+     * @param entry
+     *            The entry matching this event
+     * @param time
+     *            The timestamp of this event
+     * @param duration
+     *            The duration of the event
+     */
+    public TimeEvent(ITimeGraphEntry entry, long time, long duration) {
+        fEntry = entry;
+        fTime = time;
+        fDuration = duration;
+    }
+
+    @Override
+    public ITimeGraphEntry getEntry() {
+        return fEntry;
+    }
+
+    @Override
+    public long getTime() {
+        return fTime;
+    }
+
+    @Override
+    public long getDuration() {
+        return fDuration;
+    }
+}
This page took 0.041382 seconds and 5 git commands to generate.