/** | |
* Copyright (c)2020 CEA LIST, Committer Name, and others. | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License 2.0 | |
* which accompanies this distribution, and is available at | |
* https://www.eclipse.org/legal/epl-2.0/ | |
* | |
* SPDX-License-Identifier: EPL-2.0 | |
* | |
* Contributors: | |
* CEA LIST - Initial API and implementation | |
* Gabriel Pedroza (CEA LIST) gabriel.pedroza@cea.fr | |
* | |
*/ | |
package org.eclipse.papyrus.pdp4eng.designer.engine.api; | |
import org.eclipse.papyrus.pdp4eng.designer.engine.api.internal.StrategyCatalog; | |
/** | |
* Req003.001: the system shall have a catalog to sore all possible strategies. | |
* This class is used to create a Catalog | |
* @author PT202707 | |
* | |
*/ | |
public class CatalogFactory { | |
public CatalogFactory() { | |
} | |
/** | |
* Create a catalog | |
* @param id the id of the catalog | |
* @return a catalog | |
*/ | |
public IStrategyCatalog createCatalog(String id) { | |
return new StrategyCatalog(id); | |
} | |
} |