/** * Copyright (c) 2015 committers of YAKINDU 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: * committers of YAKINDU - initial API and implementation * */ package org.yakindu.sct.model.sgraph.test; import org.eclipse.emf.ecore.EValidator; import org.eclipse.xtext.Constants; import com.google.inject.Binder; import com.google.inject.Module; import com.google.inject.name.Names; /** * * @author andreas muelder - Initial contribution and API * */ public class SGraphTestModule implements Module { public void configure(Binder binder) { binder.bind(String.class).annotatedWith(Names.named(Constants.LANGUAGE_NAME)) .toInstance("org.yakindu.sct.model.sgraph"); binder.bind(EValidator.Registry.class).toInstance(EValidator.Registry.INSTANCE); } }