Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Wahlbrink2015-07-03 15:46:04 -0400
committerSarika Sinha2015-07-09 00:58:36 -0400
commit1dd094cb48d7d41a887d1133999fd9afa0c6148b (patch)
tree5d70b5be81591caa118fe17a26e9999ab34f3ff0 /org.eclipse.debug.ui/ui/org/eclipse/debug/ui
parentfaadf75c0874bcb32dbf1784370eae151e5603ed (diff)
downloadeclipse.platform.debug-1dd094cb48d7d41a887d1133999fd9afa0c6148b.tar.gz
eclipse.platform.debug-1dd094cb48d7d41a887d1133999fd9afa0c6148b.tar.xz
eclipse.platform.debug-1dd094cb48d7d41a887d1133999fd9afa0c6148b.zip
Bug 471829 - Changing "Allocate console" in Common tab doesn't mark it
dirty Added missing selection listener updating the launch config dialog. Change-Id: Ic3729457a44e04ad00d4b4eaa47bb1c851639915 Signed-off-by: Stephan Wahlbrink <sw@wahlbrink.eu>
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java
index 23c2ef16b..c0316cad2 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2014 IBM Corporation and others.
+ * Copyright (c) 2000, 2015 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
*
* Contributors:
* IBM Corporation - initial API and implementation
+ * Stephan Wahlbrink <sw@wahlbrink.eu> - Bug 471829
*******************************************************************************/
package org.eclipse.debug.ui;
@@ -350,6 +351,12 @@ public class CommonTab extends AbstractLaunchConfigurationTab {
private void createInputCaptureComponent(Composite parent){
Composite comp1 = SWTFactory.createComposite(parent, parent.getFont(), 5, 5, GridData.FILL_BOTH, 0, 0);
fConsoleOutput = createCheckButton(comp1, LaunchConfigurationsMessages.CommonTab_5);
+ fConsoleOutput.addSelectionListener(new SelectionAdapter() {
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ updateLaunchConfigurationDialog();
+ }
+ });
Composite comp = SWTFactory.createComposite(comp1, comp1.getFont(), 5, 5, GridData.FILL_BOTH, 0, 0);
fInputFileCheckButton = createCheckButton(comp, LaunchConfigurationsMessages.CommonTab_17);

Back to the top