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
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')
-rw-r--r--plugins/org.eclipse.etrice.generator.launch/src/org/eclipse/etrice/generator/launch/GeneratorConfigTab.java23
1 files changed, 17 insertions, 6 deletions
diff --git a/plugins/org.eclipse.etrice.generator.launch/src/org/eclipse/etrice/generator/launch/GeneratorConfigTab.java b/plugins/org.eclipse.etrice.generator.launch/src/org/eclipse/etrice/generator/launch/GeneratorConfigTab.java
index 71b8cb415..a77348eec 100644
--- a/plugins/org.eclipse.etrice.generator.launch/src/org/eclipse/etrice/generator/launch/GeneratorConfigTab.java
+++ b/plugins/org.eclipse.etrice.generator.launch/src/org/eclipse/etrice/generator/launch/GeneratorConfigTab.java
@@ -38,6 +38,9 @@ import org.eclipse.ui.dialogs.ContainerSelectionDialog;
public abstract class GeneratorConfigTab extends AbstractLaunchConfigurationTab {
protected class UpdateConfig implements SelectionListener {
+ public UpdateConfig() {
+ }
+
@Override
public void widgetSelected(SelectionEvent e) {
validate();
@@ -63,12 +66,12 @@ public abstract class GeneratorConfigTab extends AbstractLaunchConfigurationTab
public static final String LIB = "Lib";
public static final String DEBUG = "Debug";
- protected Button libButton;
- protected Button documentationButton;
- protected Button saveGenModel;
- protected Text genModelPath;
- protected Button browsePath;
- protected Button debugButton;
+ private Button libButton;
+ private Button documentationButton;
+ private Button saveGenModel;
+ private Text genModelPath;
+ private Button browsePath;
+ private Button debugButton;
/* (non-Javadoc)
* @see org.eclipse.debug.ui.ILaunchConfigurationTab#createControl(org.eclipse.swt.widgets.Composite)
@@ -131,6 +134,14 @@ public abstract class GeneratorConfigTab extends AbstractLaunchConfigurationTab
debugButton = createCheckButton(mainComposite, "debug output");
debugButton.setLayoutData(new GridData(SWT.BEGINNING, SWT.BEGINNING, false, false, 2, 1));
debugButton.addSelectionListener(new UpdateConfig());
+
+ addFurtherControls(mainComposite);
+ }
+
+ /**
+ * @param mainComposite
+ */
+ protected void addFurtherControls(Composite mainComposite) {
}
/**

Back to the top