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 (alvsan09@gmail.com) - Initial API and implementation
11 * Michel Dagenais (michel.dagenais@polymtl.ca) - Reference C implementation, used with permission
12 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.internal
.lttng
.ui
.views
.controlflow
.model
;
15 import org
.eclipse
.linuxtools
.internal
.lttng
.ui
.views
.common
.ParamsUpdater
;
18 * Instantiates the entry point classes to build the data model for this view
23 public class FlowModelFactory
{
24 // ========================================================================
26 // ========================================================================
27 private static FlowProcessContainer procContainer
= null;
28 private static ParamsUpdater updater
= null;
31 // ========================================================================
33 // ========================================================================
35 * Get Process data container
38 public static FlowProcessContainer
getProcContainer() {
39 if (procContainer
== null) {
40 procContainer
= new FlowProcessContainer();
45 public static ParamsUpdater
getParamsUpdater() {
46 if (updater
== null) {
47 updater
= new ParamsUpdater();