tmf: Use tabs in statistics view for each traces
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui / src / org / eclipse / linuxtools / internal / lttng / ui / views / controlflow / model / FlowModelFactory.java
CommitLineData
6e512b93
ASL
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 (alvsan09@gmail.com) - Initial API and implementation
860cadcf 11 * Michel Dagenais (michel.dagenais@polymtl.ca) - Reference C implementation, used with permission
6e512b93 12 *******************************************************************************/
638eac44 13package org.eclipse.linuxtools.internal.lttng.ui.views.controlflow.model;
6e512b93 14
638eac44 15import org.eclipse.linuxtools.internal.lttng.ui.views.common.ParamsUpdater;
6e512b93
ASL
16
17/**
18 * Instantiates the entry point classes to build the data model for this view
19 *
20 * @author alvaro
21 *
22 */
23public class FlowModelFactory {
24 // ========================================================================
25 // Data
26 // ========================================================================
27 private static FlowProcessContainer procContainer = null;
28 private static ParamsUpdater updater = null;
29
30
31 // ========================================================================
32 // Methods
33 // ========================================================================
34 /**
35 * Get Process data container
36 * @return
37 */
38 public static FlowProcessContainer getProcContainer() {
39 if (procContainer == null) {
40 procContainer = new FlowProcessContainer();
41 }
42 return procContainer;
43 }
44
45 public static ParamsUpdater getParamsUpdater() {
46 if (updater == null) {
47 updater = new ParamsUpdater();
48 }
49 return updater;
50 }
51
52}
This page took 0.036296 seconds and 5 git commands to generate.