blob: 670f67b9fc0fb5a57e9952d507ec48dbadf76064 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012, 2014 Willink Transformations and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.qvtd.pivot.qvttemplate.scoping;
import java.util.Map;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.ocl.pivot.internal.scoping.Attribution;
import org.eclipse.qvtd.pivot.qvttemplate.QVTtemplatePackage;
import org.eclipse.qvtd.pivot.qvttemplate.attributes.CollectionTemplateExpAttribution;
import org.eclipse.qvtd.pivot.qvttemplate.attributes.ObjectTemplateExpAttribution;
public class QVTtemplatePivotScoping
{
public static void init() {
Map<EClassifier, Attribution> registry = Attribution.REGISTRY;
registry.put(QVTtemplatePackage.Literals.COLLECTION_TEMPLATE_EXP, CollectionTemplateExpAttribution.INSTANCE);
registry.put(QVTtemplatePackage.Literals.OBJECT_TEMPLATE_EXP, ObjectTemplateExpAttribution.INSTANCE);
}
}