Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2004-12-09 22:05:39 +0000
committerDarin Swanson2004-12-09 22:05:39 +0000
commite4c55db9e9a4b4e1164c2bd5749e1ab48592b38c (patch)
treed28b59fa9350604b735d8976be56f98859abdee6 /org.eclipse.ui.externaltools
parentd5e6d71ee934f2a8a5ab29ff8472d30ef72c1b81 (diff)
downloadeclipse.platform.debug-e4c55db9e9a4b4e1164c2bd5749e1ab48592b38c.tar.gz
eclipse.platform.debug-e4c55db9e9a4b4e1164c2bd5749e1ab48592b38c.tar.xz
eclipse.platform.debug-e4c55db9e9a4b4e1164c2bd5749e1ab48592b38c.zip
Bug 77330 - Ant build configuration; main tab
Diffstat (limited to 'org.eclipse.ui.externaltools')
-rw-r--r--org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java
index 0419e9e21..d6829796a 100644
--- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java
+++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsMainTab.java
@@ -140,9 +140,7 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa
String locationLabel = getLocationLabel();
group.setText(locationLabel);
GridLayout layout = new GridLayout();
- layout.numColumns = 1;
- layout.marginHeight = 0;
- layout.marginWidth = 0;
+ layout.numColumns = 1;
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
group.setLayout(layout);
group.setLayoutData(gridData);
@@ -156,6 +154,8 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa
Composite buttonComposite = new Composite(group, SWT.NONE);
layout = new GridLayout();
+ layout.marginHeight = 0;
+ layout.marginWidth = 0;
layout.numColumns = 3;
gridData = new GridData(GridData.HORIZONTAL_ALIGN_END);
buttonComposite.setLayout(layout);
@@ -193,8 +193,6 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa
String groupName = getWorkingDirectoryLabel();
group.setText(groupName);
GridLayout layout = new GridLayout();
- layout.marginWidth = 0;
- layout.marginHeight = 0;
layout.numColumns = 1;
GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
group.setLayout(layout);
@@ -209,6 +207,8 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa
Composite buttonComposite = new Composite(group, SWT.NONE);
layout = new GridLayout();
+ layout.marginWidth = 0;
+ layout.marginHeight = 0;
layout.numColumns = 3;
gridData = new GridData(GridData.HORIZONTAL_ALIGN_END);
buttonComposite.setLayout(layout);
@@ -247,12 +247,11 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa
String groupName = ExternalToolsLaunchConfigurationMessages.getString("ExternalToolsMainTab.&Arguments___1"); //$NON-NLS-1$
group.setText(groupName);
GridLayout layout = new GridLayout();
- layout.marginWidth = 0;
- layout.marginHeight = 0;
layout.numColumns = 1;
GridData gridData = new GridData(GridData.FILL_BOTH);
group.setLayout(layout);
group.setLayoutData(gridData);
+ group.setFont(parent.getFont());
argumentField = new Text(group, SWT.MULTI | SWT.WRAP | SWT.BORDER | SWT.V_SCROLL);
gridData = new GridData(GridData.FILL_BOTH);
@@ -265,6 +264,8 @@ public abstract class ExternalToolsMainTab extends AbstractLaunchConfigurationTa
Composite composite = new Composite(group, SWT.NONE);
layout = new GridLayout();
layout.numColumns= 1;
+ layout.marginHeight= 0;
+ layout.marginWidth= 0;
gridData = new GridData(GridData.HORIZONTAL_ALIGN_END);
composite.setLayout(layout);
composite.setLayoutData(gridData);

Back to the top