diff options
author | Henrik Rentz-Reichert | 2012-11-23 10:03:08 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2012-11-23 10:03:08 +0000 |
commit | c3a077700afda0406bb5745a6f9a30e75d48905f (patch) | |
tree | 88512338aca16cf3f1f89f6ec7c489f6ad53d51a | |
parent | b59f63a280e48cc2bf4e749cf9079b52340cc3f5 (diff) | |
download | org.eclipse.etrice-c3a077700afda0406bb5745a6f9a30e75d48905f.tar.gz org.eclipse.etrice-c3a077700afda0406bb5745a6f9a30e75d48905f.tar.xz org.eclipse.etrice-c3a077700afda0406bb5745a6f9a30e75d48905f.zip |
[generator.launch.c] removed warning
-rw-r--r-- | plugins/org.eclipse.etrice.generator.launch.c/src/org/eclipse/etrice/generator/launch/c/CGeneratorLaunchConfigurationDelegate.java | 4 |
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);
}
|