diff options
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/setup/GeneratorModule.java')
-rw-r--r-- | plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/setup/GeneratorModule.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/setup/GeneratorModule.java b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/setup/GeneratorModule.java index f6a9ec701..8bee75795 100644 --- a/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/setup/GeneratorModule.java +++ b/plugins/org.eclipse.etrice.generator.c/src/org/eclipse/etrice/generator/c/setup/GeneratorModule.java @@ -4,10 +4,10 @@ * 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: * Henrik Rentz-Reichert (initial contribution) - * + * *******************************************************************************/ package org.eclipse.etrice.generator.c.setup; @@ -17,9 +17,13 @@ import org.eclipse.etrice.generator.base.AbstractGeneratorBaseModule; import org.eclipse.etrice.generator.base.IDataConfiguration; import org.eclipse.etrice.generator.base.ITranslationProvider; import org.eclipse.etrice.generator.c.Main; +import org.eclipse.etrice.generator.c.gen.ActorClassGen; import org.eclipse.etrice.generator.c.gen.CExtensions; import org.eclipse.etrice.generator.c.gen.CTranslationProvider; +import org.eclipse.etrice.generator.c.gen.ProtocolClassGen; import org.eclipse.etrice.generator.config.DataConfiguration; +import org.eclipse.etrice.generator.generic.GenericActorClassGenerator; +import org.eclipse.etrice.generator.generic.GenericProtocolClassGenerator; import org.eclipse.etrice.generator.generic.ILanguageExtension; import com.google.inject.Binder; @@ -29,8 +33,10 @@ public class GeneratorModule extends AbstractGeneratorBaseModule { // @Override public void configure(Binder binder) { super.configure(binder); - + binder.bind(AbstractGenerator.class).to(Main.class); + binder.bind(GenericProtocolClassGenerator.class).to(ProtocolClassGen.class); + binder.bind(GenericActorClassGenerator.class).to(ActorClassGen.class); } @Override |