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
.component
.ITmfComponent
;
16 import org
.eclipse
.linuxtools
.tmf
.signal
.TmfSignal
;
17 import org
.eclipse
.linuxtools
.tmf
.signal
.TmfSignalManager
;
18 import org
.eclipse
.ui
.part
.EditorPart
;
20 public abstract class TmfEditor
extends EditorPart
implements ITmfComponent
{
22 private final String fName
;
24 // ------------------------------------------------------------------------
26 // ------------------------------------------------------------------------
30 fName
= "TmfEditor"; //$NON-NLS-1$
31 TmfSignalManager
.register(this);
35 public void dispose() {
36 TmfSignalManager
.deregister(this);
40 // ------------------------------------------------------------------------
42 // ------------------------------------------------------------------------
45 public String
getName() {
50 public void broadcast(TmfSignal signal
) {
51 TmfSignalManager
.dispatchSignal(signal
);
This page took 0.031906 seconds and 5 git commands to generate.