-/*******************************************************************************\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
-/**\r
- * The main editor abstract class for use in TMF.\r
- *\r
- * @version 1.0\r
- * @author Patrick Tasse\r
- */\r
-public abstract class TmfEditor extends EditorPart implements ITmfComponent {\r
-\r
- private final String fName;\r
-\r
- // ------------------------------------------------------------------------\r
- // Constructor\r
- // ------------------------------------------------------------------------\r
-\r
- /**\r
- * Default constructor\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 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);
+ }
+}