/*
 * generated by Xtext
 */
package cz.cuni.mff.d3s.jdeeco.edl;

import org.eclipse.xtext.conversion.IValueConverterService;
import org.eclipse.xtext.generator.IOutputConfigurationProvider;

import com.google.inject.Binder;

import cz.cuni.mff.d3s.jdeeco.edl.functions.DefaultFunctionRegistry;
import cz.cuni.mff.d3s.jdeeco.edl.functions.IFunctionRegistry;

/**
 * Use this class to register components to be used at runtime / without the Equinox extension registry.
 */
public class EDLRuntimeModule extends cz.cuni.mff.d3s.jdeeco.edl.AbstractEDLRuntimeModule {
	@Override
    public Class<? extends IValueConverterService> bindIValueConverterService() {		
        return EDLValueConverter.class;
    }	
	
	@Override
	public void configure(Binder binder) {	
		super.configure(binder);
		binder.bind(IFunctionRegistry.class).to(DefaultFunctionRegistry.class);
		binder.bind(IOutputConfigurationProvider.class).to(EDLConfigurationProvider.class);
	}
	
	
}
