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