Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Belle2018-09-18 09:34:49 -0400
committerJan Belle2018-09-18 09:34:49 -0400
commit213c105164c1a1c1eae88c06a3473f07b2f3e28b (patch)
tree355873c40c17a079d0e831b9cde0bb68dae7178a /plugins/org.eclipse.etrice.generator.cpp
parent6d1c83b9cfc633e624a9fcfe2cc06f19d9d2dee7 (diff)
downloadorg.eclipse.etrice-213c105164c1a1c1eae88c06a3473f07b2f3e28b.tar.gz
org.eclipse.etrice-213c105164c1a1c1eae88c06a3473f07b2f3e28b.tar.xz
org.eclipse.etrice-213c105164c1a1c1eae88c06a3473f07b2f3e28b.zip
[generator] Add generator name
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.cpp')
-rw-r--r--plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/setup/GeneratorModule.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/setup/GeneratorModule.java b/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/setup/GeneratorModule.java
index 2d3cd24d9..defd54cbb 100644
--- a/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/setup/GeneratorModule.java
+++ b/plugins/org.eclipse.etrice.generator.cpp/src/org/eclipse/etrice/generator/cpp/setup/GeneratorModule.java
@@ -45,8 +45,6 @@ public class GeneratorModule extends AbstractGeneratorBaseModule {
binder.bind(GenericActorClassGenerator.class).to(ActorClassGen.class);
binder.bind(ImportUriResolver.class).to(ModelLocatorUriResolver.class);
-
- binder.bind(AbstractGeneratorOptions.class).to(GeneratorOptions.class);
}
@Override
@@ -68,5 +66,15 @@ public class GeneratorModule extends AbstractGeneratorBaseModule {
public Class<? extends IDataConfiguration> bindIDataConfiguration() {
return org.eclipse.etrice.generator.config.DataConfiguration.class;
}
+
+ @Override
+ public String bindGeneratorName() {
+ return "eTrice C++ Generator";
+ }
+
+ @Override
+ public Class<? extends AbstractGeneratorOptions> bindGeneratorOptions() {
+ return GeneratorOptions.class;
+ }
}

Back to the top