blob: 18b59fd24e7f15de35c4677e5b242ac32dde0099 [file] [log] [blame]
/**
* Copyright (c) 2011, 2019 Mia-Software and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Gregoire Dupe (Mia-Software) - Bug 361794 - [Restructuring] New customization meta-model
* Gregoire Dupe (Mia-Software) - Bug 373078 - API Cleaning
*/
package org.eclipse.modisco.facet.custom.core.internal;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.modisco.facet.custom.core.ICustomizationManager;
import org.eclipse.modisco.facet.custom.core.ICustomizationManagerFactory;
import org.eclipse.modisco.facet.efacet.core.IFacetManager;
public class CustomizationManagerFactory implements
ICustomizationManagerFactory {
public ICustomizationManager getOrCreateICustomizationManager(final ResourceSet resourceSet) {
return new CustomizationManager(resourceSet);
}
public ICustomizationManager createICustomizationManager(
final IFacetManager facetManager) {
return new CustomizationManager(facetManager);
}
}