Remove bookmarks file on drag&drop trace copy.
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / widgets / timegraph / 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.widgets.timegraph;
14
15 import org.eclipse.swt.widgets.Composite;
16
17 /**
18 * <b><u>TmfWidgetFactory</u></b>
19 * <p>
20 *
21 * TODO: Generalize when extension points are introduced
22 * TODO: Today, it is specific for the TimeAnalysis widget
23 */
24 public class TmfViewerFactory {
25
26 // public static ITmfWidget createWidget(String id, Composite parent) {
27 // return null;
28 // }
29
30 public static ITimeAnalysisViewer createViewer(Composite parent,
31 TmfTimeAnalysisProvider provider) {
32 return new TmfTimeAnalysisViewer(parent, provider);
33 }
34
35 }
This page took 0.032288 seconds and 5 git commands to generate.