Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-12-10 12:47:31 -0500
committerHenrik Rentz-Reichert2012-12-10 12:47:31 -0500
commitc05dac7e5abe8b1c6ccd7397d0cb2807a64cecd8 (patch)
tree853655bc653f317860013705ad2a2c168ac01aaa /plugins/org.eclipse.etrice.generator.launch.c
parent35222929e316b6dab71f531f0d225fa44b4795c4 (diff)
downloadorg.eclipse.etrice-c05dac7e5abe8b1c6ccd7397d0cb2807a64cecd8.tar.gz
org.eclipse.etrice-c05dac7e5abe8b1c6ccd7397d0cb2807a64cecd8.tar.xz
org.eclipse.etrice-c05dac7e5abe8b1c6ccd7397d0cb2807a64cecd8.zip
[generator.launch.*] added possibility to add further controls
cpp with etUnit flag
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.launch.c')
-rw-r--r--plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorMainTab.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorMainTab.java b/plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorMainTab.java
index 9d39aef9d..b67abc2d8 100644
--- a/plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorMainTab.java
+++ b/plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorMainTab.java
@@ -26,7 +26,10 @@ public class CGeneratorMainTab extends GeneratorMainTab {
*/
@Override
protected boolean isValidModelFile(IResource resource) {
- return resource.getName().endsWith(".room");
+ return resource.getName().endsWith(".room")
+ || resource.getName().endsWith(".config")
+ || resource.getName().endsWith(".etphys")
+ || resource.getName().endsWith(".etmap");
}
}

Back to the top