Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-11-23 05:03:08 -0500
committerHenrik Rentz-Reichert2012-11-23 05:03:08 -0500
commitc3a077700afda0406bb5745a6f9a30e75d48905f (patch)
tree88512338aca16cf3f1f89f6ec7c489f6ad53d51a /plugins/org.eclipse.etrice.generator.launch.c
parentb59f63a280e48cc2bf4e749cf9079b52340cc3f5 (diff)
downloadorg.eclipse.etrice-c3a077700afda0406bb5745a6f9a30e75d48905f.tar.gz
org.eclipse.etrice-c3a077700afda0406bb5745a6f9a30e75d48905f.tar.xz
org.eclipse.etrice-c3a077700afda0406bb5745a6f9a30e75d48905f.zip
[generator.launch.c] removed warning
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/CGeneratorLaunchConfigurationDelegate.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorLaunchConfigurationDelegate.java b/plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorLaunchConfigurationDelegate.java
index 9176e8a96..49f76c448 100644
--- a/plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorLaunchConfigurationDelegate.java
+++ b/plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorLaunchConfigurationDelegate.java
@@ -27,6 +27,7 @@ public class CGeneratorLaunchConfigurationDelegate extends GeneratorLaunchConfig
/* (non-Javadoc)
* @see org.eclipse.etrice.generator.launch.GeneratorLaunchConfigurationDelegate#addArguments(org.eclipse.debug.core.ILaunchConfiguration, java.lang.StringBuffer)
*/
+ @SuppressWarnings("deprecation") // need this for backwar compatibility
@Override
protected void addArguments(ILaunchConfiguration configuration, StringBuffer argString) throws CoreException {
if (configuration.getAttribute(CGeneratorConfigTab.LIB, false)) {
@@ -36,7 +37,8 @@ public class CGeneratorLaunchConfigurationDelegate extends GeneratorLaunchConfig
argString.append(" "+Main.OPTION_SAVE_GEN_MODEL);
argString.append(" "+configuration.getAttribute(CGeneratorConfigTab.GEN_MODEL_PATH, "?"));
}
- if (configuration.getAttribute(CGeneratorConfigTab.GEN_INSTANCE_DIAGRAM, false))
+ if (configuration.getAttribute(CGeneratorConfigTab.GEN_DOCUMENTATION, false)
+ || configuration.getAttribute(CGeneratorConfigTab.GEN_INSTANCE_DIAGRAM, false))
argString.append(" "+Main.OPTION_GEN_INST_DIAG);
}

Back to the top