Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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.java46
1 files changed, 0 insertions, 46 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 8235dd966..3f1ab39b2 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
@@ -12,14 +12,9 @@
package org.eclipse.etrice.generator.launch.c;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.preferences.InstanceScope;
-import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.etrice.generator.base.ILineOutput;
import org.eclipse.etrice.generator.c.Main;
import org.eclipse.etrice.generator.launch.GeneratorLaunchConfigurationDelegate;
-import org.eclipse.etrice.generator.ui.preferences.PreferenceConstants;
-import org.eclipse.ui.preferences.ScopedPreferenceStore;
/**
* @author Henrik Rentz-Reichert
@@ -28,47 +23,6 @@ import org.eclipse.ui.preferences.ScopedPreferenceStore;
public class CGeneratorLaunchConfigurationDelegate extends GeneratorLaunchConfigurationDelegate {
/* (non-Javadoc)
- * @see org.eclipse.etrice.generator.launch.GeneratorLaunchConfigurationDelegate#addArguments(org.eclipse.debug.core.ILaunchConfiguration, java.lang.StringBuffer)
- */
- @SuppressWarnings("deprecation") // need this for backward compatibility
- @Override
- protected void addArguments(ILaunchConfiguration configuration, StringBuffer argString) throws CoreException {
- if (configuration.getAttribute(CGeneratorConfigTab.LIB, false)) {
- argString.append(" "+Main.OPTION_LIB);
- }
- if (configuration.getAttribute(CGeneratorConfigTab.SAVE_GEN_MODEL, false)) {
- argString.append(" "+Main.OPTION_SAVE_GEN_MODEL);
- argString.append(" "+configuration.getAttribute(CGeneratorConfigTab.GEN_MODEL_PATH, "?"));
- }
- if (configuration.getAttribute(CGeneratorConfigTab.GEN_DOCUMENTATION, false)
- || configuration.getAttribute(CGeneratorConfigTab.GEN_INSTANCE_DIAGRAM, false))
- argString.append(" "+Main.OPTION_GEN_INST_DIAG);
- if (configuration.getAttribute(CGeneratorConfigTab.DEBUG, false)) {
- argString.append(" "+Main.OPTION_DEBUG);
- }
- if (configuration.getAttribute(CGeneratorConfigTab.MSC, false)) {
- argString.append(" "+Main.OPTION_MSC);
- }
- if (configuration.getAttribute(CGeneratorConfigTab.VERBOSE, false)) {
- argString.append(" "+Main.OPTION_VERBOSE_RT);
- }
-
- ScopedPreferenceStore prefStore = new ScopedPreferenceStore(InstanceScope.INSTANCE, "org.eclipse.etrice.generator.ui");
- if (prefStore.getBoolean(PreferenceConstants.GEN_INCREMENTAL)) {
- argString.append(" "+Main.OPTION_GEN_INCREMENTAL);
- }
-
- argString.append(" "+Main.OPTION_GEN_DIR);
- argString.append(" "+prefStore.getString(PreferenceConstants.GEN_DIR));
-
- argString.append(" "+Main.OPTION_GEN_INFO_DIR);
- argString.append(" "+prefStore.getString(PreferenceConstants.GEN_INFO_DIR));
-
- argString.append(" "+Main.OPTION_GEN_DOC_DIR);
- argString.append(" "+prefStore.getString(PreferenceConstants.GEN_DOC_DIR));
- }
-
- /* (non-Javadoc)
* @see org.eclipse.etrice.generator.launch.GeneratorLaunchConfigurationDelegate#runGenerator(java.lang.String[], org.eclipse.etrice.generator.launch.ILineOutput)
*/
@Override

Back to the top