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 *******************************************************************************/
12 package org
.eclipse
.linuxtools
.lttng
.ui
.views
.resources
.model
;
14 import org
.eclipse
.linuxtools
.lttng
.ui
.views
.common
.ParamsUpdater
;
17 * Instantiates the entry point classes to build the data model for this view
22 public class ResourceModelFactory
{
23 // ========================================================================
25 // ========================================================================
26 private static ResourceContainer resContainer
= null;
27 private static ParamsUpdater updater
= null;
30 // ========================================================================
32 // ========================================================================
34 * Get Process data container
37 public static ResourceContainer
getResourceContainer() {
38 if (resContainer
== null) {
39 resContainer
= new ResourceContainer();
45 public static ParamsUpdater
getParamsUpdater() {
46 if (updater
== null) {
47 updater
= new ParamsUpdater();