| /**
|
| * 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
|
| * Gregoire Dupe (Mia-Software) - Bug 372626 - Aggregates
|
| */ |
| package org.eclipse.modisco.facet.custom.core;
|
|
|
| import org.eclipse.emf.ecore.resource.ResourceSet;
|
| import org.eclipse.modisco.facet.custom.core.internal.CustomizationManagerFactory;
|
| import org.eclipse.modisco.facet.efacet.core.IFacetManager;
|
|
|
| /**
|
| * Used to instantiate a customization manager
|
| * @author Gregoire Dupe
|
| * @since 0.2
|
| * @noextend This interface is not intended to be extended by clients.
|
| * @noimplement This interface is not intended to be implemented by clients.
|
| */
|
| public interface ICustomizationManagerFactory {
|
|
|
| /**
|
| * Default factory instance.
|
| */
|
| ICustomizationManagerFactory DEFAULT = new CustomizationManagerFactory();
|
|
|
| /**
|
| * This method is used to instantiate a customization manager
|
| *
|
| * @param resourceSet
|
| * the resource set to use to manage the customization models.
|
| * @return
|
| */
|
| ICustomizationManager getOrCreateICustomizationManager(ResourceSet resourceSet);
|
|
|
| /**
|
| *
|
| * @param facetManager
|
| * @return
|
| * @since 0.2
|
| */
|
| ICustomizationManager createICustomizationManager(IFacetManager facetManager);
|
|
|
| }
|