f7fe0fef781f89ecda4ec5927420aab9108b175d
1 /*******************************************************************************
2 * Copyright (c) 2010 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.editors
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.component
.ITmfComponent
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfSignal
;
17 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfSignalManager
;
18 import org
.eclipse
.ui
.part
.EditorPart
;
21 * The main editor abstract class for use in TMF.
24 * @author Patrick Tasse
26 public abstract class TmfEditor
extends EditorPart
implements ITmfComponent
{
28 private final String fName
;
30 // ------------------------------------------------------------------------
32 // ------------------------------------------------------------------------
39 fName
= "TmfEditor"; //$NON-NLS-1$
40 TmfSignalManager
.register(this);
44 public void dispose() {
45 TmfSignalManager
.deregister(this);
49 // ------------------------------------------------------------------------
51 // ------------------------------------------------------------------------
54 public String
getName() {
59 public void broadcast(TmfSignal signal
) {
60 TmfSignalManager
.dispatchSignal(signal
);
This page took 0.031333 seconds and 5 git commands to generate.