| /**
|
| * 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);
|
| }
|
|
|
| }
|