1 /*******************************************************************************
2 * Copyright (c) 2009 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 * Alvaro Sanchez-Leon - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.widgets
.timegraph
;
15 import org
.eclipse
.swt
.widgets
.Composite
;
18 * <b><u>TmfWidgetFactory</u></b>
21 * TODO: Generalize when extension points are introduced
22 * TODO: Today, it is specific for the TimeAnalysis widget
24 public class TmfViewerFactory
{
26 // public static ITmfWidget createWidget(String id, Composite parent) {
30 public static ITimeAnalysisViewer
createViewer(Composite parent
,
31 TmfTimeAnalysisProvider provider
) {
32 return new TmfTimeAnalysisViewer(parent
, provider
);