| /**
|
| * Copyright (c) 2012, 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:
|
| * Grégoire Dupé (Mia-Software) - Bug 369987 - [Restructuring][Table] Switch to the new customization and facet
|
| * Grégoire Dupé (Mia-Software) - Bug 373078 - API Cleaning
|
| * Grégoire Dupé (Mia-Software) - Bug 477657 - The catalog manager should be able to manage workspace model
|
| */ |
| package org.eclipse.modisco.facet.efacet.core.internal;
|
|
|
| import org.eclipse.emf.ecore.resource.ResourceSet;
|
| import org.eclipse.modisco.facet.efacet.core.IFacetSetCatalogManager;
|
| import org.eclipse.modisco.facet.efacet.core.IFacetSetCatalogManagerFactory;
|
| import org.eclipse.modisco.facet.efacet.core.internal.catalog.EFacetCatalogManager2;
|
|
|
| public class FacetCatalogManagerFactory implements IFacetSetCatalogManagerFactory {
|
|
|
| public IFacetSetCatalogManager getOrCreateFacetSetCatalogManager(
|
| final ResourceSet resourceSet) {
|
| return new EFacetCatalogManager2(resourceSet);
|
| }
|
|
|
| }
|