tmf: Update copyright headers in tmf.ui
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / editors / TmfEditor.java
index cd1e3e9a0605109dc7483dcb960cbc037e61b19b..a243975a3a8089c9a15ddf439d0459b8ed428d99 100644 (file)
@@ -1,53 +1,62 @@
-/*******************************************************************************\r
- * Copyright (c) 2010 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.editors;\r
-\r
-import org.eclipse.linuxtools.tmf.core.component.ITmfComponent;\r
-import org.eclipse.linuxtools.tmf.core.signal.TmfSignal;\r
-import org.eclipse.linuxtools.tmf.core.signal.TmfSignalManager;\r
-import org.eclipse.ui.part.EditorPart;\r
-\r
-public abstract class TmfEditor extends EditorPart implements ITmfComponent {\r
-\r
-    private final String fName;\r
-    \r
-    // ------------------------------------------------------------------------\r
-    // Constructor\r
-    // ------------------------------------------------------------------------\r
-\r
-    public TmfEditor() {\r
-        super();\r
-        fName = "TmfEditor"; //$NON-NLS-1$\r
-        TmfSignalManager.register(this);\r
-    }\r
-\r
-    @Override\r
-    public void dispose() {\r
-        TmfSignalManager.deregister(this);\r
-        super.dispose();\r
-    }\r
-\r
-    // ------------------------------------------------------------------------\r
-    // ITmfComponent\r
-    // ------------------------------------------------------------------------\r
-\r
-    @Override\r
-       public String getName() {\r
-        return fName;\r
-    }\r
-    \r
-    @Override\r
-       public void broadcast(TmfSignal signal) {\r
-        TmfSignalManager.dispatchSignal(signal);\r
-    }\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2010, 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.editors;
+
+import org.eclipse.linuxtools.tmf.core.component.ITmfComponent;
+import org.eclipse.linuxtools.tmf.core.signal.TmfSignal;
+import org.eclipse.linuxtools.tmf.core.signal.TmfSignalManager;
+import org.eclipse.ui.part.EditorPart;
+
+/**
+ * The main editor abstract class for use in TMF.
+ *
+ * @version 1.0
+ * @author Patrick Tasse
+ */
+public abstract class TmfEditor extends EditorPart implements ITmfComponent {
+
+    private final String fName;
+
+    // ------------------------------------------------------------------------
+    // Constructor
+    // ------------------------------------------------------------------------
+
+    /**
+     * Default constructor
+     */
+    public TmfEditor() {
+        super();
+        fName = "TmfEditor"; //$NON-NLS-1$
+        TmfSignalManager.register(this);
+    }
+
+    @Override
+    public void dispose() {
+        TmfSignalManager.deregister(this);
+        super.dispose();
+    }
+
+    // ------------------------------------------------------------------------
+    // ITmfComponent
+    // ------------------------------------------------------------------------
+
+    @Override
+       public String getName() {
+        return fName;
+    }
+
+    @Override
+       public void broadcast(TmfSignal signal) {
+        TmfSignalManager.dispatchSignal(signal);
+    }
+}
This page took 0.024556 seconds and 5 git commands to generate.