[Bug 303523] LTTng/TMF udpates:
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / TmfView.java
1 /*******************************************************************************
2 * Copyright (c) 2009, 2010 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.views;
14
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.swt.widgets.Composite;
19 import org.eclipse.ui.part.ViewPart;
20
21 /**
22 * <b><u>TmfView</u></b>
23 * <p>
24 * TODO: Implement me. Please.
25 */
26 public abstract class TmfView extends ViewPart implements ITmfComponent {
27
28 // ------------------------------------------------------------------------
29 // Constructor
30 // ------------------------------------------------------------------------
31
32 public TmfView() {
33 super();
34 register();
35 }
36
37 // ------------------------------------------------------------------------
38 // ITmfComponent
39 // ------------------------------------------------------------------------
40
41 public void register() {
42 TmfSignalManager.register(this);
43 }
44
45 public void deregister() {
46 TmfSignalManager.deregister(this);
47 }
48
49 public void broadcast(TmfSignal signal) {
50 TmfSignalManager.dispatchSignal(signal);
51 }
52
53 // ------------------------------------------------------------------------
54 // ViewPart
55 // ------------------------------------------------------------------------
56
57 @Override
58 public void createPartControl(Composite parent) {
59 // TODO Auto-generated method stub
60 }
61
62 @Override
63 public void setFocus() {
64 // TODO Auto-generated method stub
65 }
66
67 }
This page took 0.031335 seconds and 5 git commands to generate.