/**
 * generated by Xtext 2.9.2
 */
package com.justeat.mickeydb;

import com.google.inject.Binder;
import com.google.inject.binder.AnnotatedBindingBuilder;
import com.justeat.mickeydb.AbstractMickeyLangRuntimeModule;
import com.justeat.mickeydb.MickeyEnvironment;
import com.justeat.mickeydb.MickeyNameProvider;
import com.justeat.mickeydb.generator.MickeyOutputConfigurationProvider;
import com.justeat.mickeydb.scoping.MickeyLangScopeProvider;
import org.eclipse.xtext.generator.IOutputConfigurationProvider;
import org.eclipse.xtext.naming.IQualifiedNameProvider;
import org.eclipse.xtext.scoping.IScopeProvider;

/**
 * Use this class to register components to be used at runtime / without the Equinox extension registry.
 */
@SuppressWarnings("all")
public class MickeyLangRuntimeModule extends AbstractMickeyLangRuntimeModule {
  @Override
  public void configure(final Binder binder) {
    super.configure(binder);
    AnnotatedBindingBuilder<IOutputConfigurationProvider> _bind = binder.<IOutputConfigurationProvider>bind(IOutputConfigurationProvider.class);
    _bind.to(MickeyOutputConfigurationProvider.class);
    binder.<MickeyEnvironment>bind(MickeyEnvironment.class);
  }
  
  @Override
  public Class<? extends IQualifiedNameProvider> bindIQualifiedNameProvider() {
    return MickeyNameProvider.class;
  }
  
  @Override
  public Class<? extends IScopeProvider> bindIScopeProvider() {
    return MickeyLangScopeProvider.class;
  }
}
