Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Wright2006-03-17 04:19:11 +0000
committerDarin Wright2006-03-17 04:19:11 +0000
commit70cfb0e202ee260b1feb1a3547556689fc0fba7a (patch)
tree0f0bfcab4f83e8768cc646ddbfb2920d6df3fd58 /org.eclipse.debug.ui
parentf9e31c21190c9596833b899df8bb9995e3d0d4dd (diff)
downloadeclipse.platform.debug-70cfb0e202ee260b1feb1a3547556689fc0fba7a.tar.gz
eclipse.platform.debug-70cfb0e202ee260b1feb1a3547556689fc0fba7a.tar.xz
eclipse.platform.debug-70cfb0e202ee260b1feb1a3547556689fc0fba7a.zip
Bug 127658 - [Dialogs] help icon beween status and buttons
Diffstat (limited to 'org.eclipse.debug.ui')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java21
1 files changed, 8 insertions, 13 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
index 7613d5b89..7815881aa 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchConfigurationsDialog.java
@@ -436,19 +436,14 @@ public class LaunchConfigurationsDialog extends TitleAreaDialog implements ILaun
fProgressMonitorCancelButton.setFont(font);
monitorComposite.setVisible(false);
- Composite buttonComposite = new Composite(composite, SWT.NONE);
- layout = new GridLayout();
- layout.numColumns = 0;
- layout.makeColumnsEqualWidth = true;
- layout.marginWidth = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN);
- layout.marginHeight = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN);
- layout.horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING);
- layout.verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING);
- buttonComposite.setLayout(layout);
- GridData data = new GridData(GridData.HORIZONTAL_ALIGN_END | GridData.VERTICAL_ALIGN_CENTER);
- buttonComposite.setLayoutData(data);
- buttonComposite.setFont(composite.getFont());
- createButtonsForButtonBar(buttonComposite);
+ /*
+ * Create the rest of the button bar, but tell it not to
+ * create a help button (we've already created it).
+ */
+ boolean helpAvailable = isHelpAvailable();
+ setHelpAvailable(false);
+ super.createButtonBar(composite);
+ setHelpAvailable(helpAvailable);
return composite;
}

Back to the top