(no commit message)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / viewers / TmfViewerFactory.java
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 * Alvaro Sanchez-Leon - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.ui.viewers;
14
15 import org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.ITimeAnalysisViewer;
16 import org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.TmfTimeAnalysisProvider;
17 import org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.TmfTimeAnalysisViewer;
18 import org.eclipse.swt.widgets.Composite;
19
20 /**
21 * <b><u>TmfWidgetFactory</u></b>
22 * <p>
23 *
24 * TODO: Generalize when extension points are introduced
25 * TODO: Today, it is specific for the TimeAnalysis widget
26 */
27 public class TmfViewerFactory {
28
29 // public static ITmfWidget createWidget(String id, Composite parent) {
30 // return null;
31 // }
32
33 public static ITimeAnalysisViewer createViewer(Composite parent,
34 TmfTimeAnalysisProvider provider) {
35 return new TmfTimeAnalysisViewer(parent, provider);
36 }
37
38 }
This page took 0.031287 seconds and 5 git commands to generate.