Commit | Line | Data |
---|---|---|
b0d3496e | 1 | /******************************************************************************* |
79a3a76e | 2 | * Copyright (c) 2009 Ericsson |
b0d3496e ASL |
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; | |
b0d3496e ASL |
16 | import org.eclipse.linuxtools.tmf.signal.TmfSignalManager; |
17 | import org.eclipse.swt.widgets.Composite; | |
18 | import org.eclipse.ui.part.ViewPart; | |
19 | ||
20 | /** | |
79a3a76e | 21 | * <b><u>TmfViewer</u></b> |
b0d3496e ASL |
22 | * <p> |
23 | * TODO: Implement me. Please. | |
24 | */ | |
25 | public abstract class TmfView extends ViewPart implements ITmfComponent { | |
26 | ||
79a3a76e FC |
27 | /** |
28 | * Constructor | |
29 | */ | |
30 | public TmfView() { | |
31 | TmfSignalManager.addListener(this); | |
b0d3496e ASL |
32 | } |
33 | ||
79a3a76e FC |
34 | /** |
35 | * Destructor | |
36 | */ | |
b0d3496e ASL |
37 | @Override |
38 | public void dispose() { | |
79a3a76e | 39 | TmfSignalManager.removeListener(this); |
b0d3496e ASL |
40 | } |
41 | ||
79a3a76e FC |
42 | /* (non-Javadoc) |
43 | * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite) | |
44 | */ | |
b0d3496e ASL |
45 | @Override |
46 | public void createPartControl(Composite parent) { | |
47 | // TODO Auto-generated method stub | |
48 | } | |
49 | ||
79a3a76e FC |
50 | /* (non-Javadoc) |
51 | * @see org.eclipse.ui.part.WorkbenchPart#setFocus() | |
52 | */ | |
b0d3496e ASL |
53 | @Override |
54 | public void setFocus() { | |
55 | // TODO Auto-generated method stub | |
56 | } | |
57 | ||
79a3a76e | 58 | } |