diff options
author | Sarika Sinha | 2014-12-02 12:41:12 +0000 |
---|---|---|
committer | Dani Megert | 2014-12-02 12:41:12 +0000 |
commit | a2987c28f40afd8b6ece3131b95b6fc945068812 (patch) | |
tree | c82b5124650268b799a7bf4113ba1d85b7f7b57a /org.eclipse.debug.ui/ui/org | |
parent | e8a891c520ddd5530177d4b5120726896c4c53f2 (diff) | |
download | eclipse.platform.debug-a2987c28f40afd8b6ece3131b95b6fc945068812.tar.gz eclipse.platform.debug-a2987c28f40afd8b6ece3131b95b6fc945068812.tar.xz eclipse.platform.debug-a2987c28f40afd8b6ece3131b95b6fc945068812.zip |
Fixed bug 155411: [launch] Need a way to assign stdin to a file from Run DialogI20141202-0800
Signed-off-by: Sarika Sinha <sarika.sinha@in.ibm.com>
Diffstat (limited to 'org.eclipse.debug.ui/ui/org')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties | 2 | ||||
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/CommonTab.java | 10 |
2 files changed, 5 insertions, 7 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties index ce25f1b6f..963d46826 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsMessages.properties @@ -28,7 +28,7 @@ CommonTab_0=Save as CommonTab_1=Encoding CommonTab_15=The selected encoding is not supported. CommonTab_16=Input W&orkspace... -CommonTab_17=Input File +CommonTab_17=Inpu&t File CommonTab_18=Select a resource to redirect input from: CommonTab_19=Input File Sys&tem... CommonTab_2=Defa&ult - inherited ({0}) 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 94e333365..23c2ef16b 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 @@ -265,9 +265,7 @@ public class CommonTab extends AbstractLaunchConfigurationTab { private void createOutputCaptureComponent(Composite parent) { Group group = SWTFactory.createGroup(parent, LaunchConfigurationsMessages.CommonTab_4, 5, 2, GridData.FILL_HORIZONTAL); createInputCaptureComponent(group); - Composite comp = SWTFactory.createComposite(group, 5, 5, GridData.FILL_BOTH); - - + Composite comp = SWTFactory.createComposite(group, group.getFont(), 5, 5, GridData.FILL_BOTH, 0, 0); fFileOutput = createCheckButton(comp, LaunchConfigurationsMessages.CommonTab_6); fFileOutput.setLayoutData(new GridData(SWT.BEGINNING, SWT.NORMAL, false, false)); fFileOutput.addSelectionListener(new SelectionAdapter() { @@ -350,10 +348,10 @@ public class CommonTab extends AbstractLaunchConfigurationTab { } private void createInputCaptureComponent(Composite parent){ - Composite comp1 = SWTFactory.createComposite(parent, parent.getFont(), 3, 3, GridData.FILL_BOTH, 0, 0); + Composite comp1 = SWTFactory.createComposite(parent, parent.getFont(), 5, 5, GridData.FILL_BOTH, 0, 0); fConsoleOutput = createCheckButton(comp1, LaunchConfigurationsMessages.CommonTab_5); - Composite comp = SWTFactory.createComposite(comp1, 5, 5, GridData.FILL_BOTH); + Composite comp = SWTFactory.createComposite(comp1, comp1.getFont(), 5, 5, GridData.FILL_BOTH, 0, 0); fInputFileCheckButton = createCheckButton(comp, LaunchConfigurationsMessages.CommonTab_17); GridData gd = new GridData(SWT.BEGINNING, SWT.NORMAL, false, false); gd.horizontalSpan = 3; @@ -367,7 +365,7 @@ public class CommonTab extends AbstractLaunchConfigurationTab { } }); - fInputFileLocationText = SWTFactory.createSingleText(comp, 1); + fInputFileLocationText = SWTFactory.createSingleText(comp, 2); fInputFileLocationText.getAccessible().addAccessibleListener(new AccessibleAdapter() { @Override public void getName(AccessibleEvent e) { |