/*-
* Copyright 2017 Diamond Light Source Ltd.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.eclipse.dawnsci.hdf5.editor;
import org.eclipse.dawnsci.analysis.api.io.ILoaderService;
import org.eclipse.dawnsci.nexus.INexusFileFactory;
/**
*
*/
public class ServiceHolder {
private static ILoaderService loaderService;
private static INexusFileFactory nexusFileFactory;
public ServiceHolder() {
}
public static ILoaderService getLoaderService() {
return loaderService;
}
public static void setLoaderService(ILoaderService loaderService) {
ServiceHolder.loaderService = loaderService;
}
public static INexusFileFactory getNexusFileFactory() {
return nexusFileFactory;
}
public static void setNexusFileFactory(INexusFileFactory nexusFileFactory) {
ServiceHolder.nexusFileFactory = nexusFileFactory;
}
}