Bug 175545 [Dialogs] Dialog: impossible to turn off double-click resizing
Since 3.2. a double click in a dialog will resize the dialog to its computed size. In our RCP app we have some dialogs with tables consisting many columns, the resulting dialog width is really large. Now if you resize the dialog to be smaller our dialogs will memory that size permanently. But if you double click into the table the dialog pops up to its full size. That's really annoying ... Please provide a possibility to turn that "double click resizing" *off*.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java
/**
	 * Creates and returns the contents of this dialog's button bar.
	 * <p>
	 * The <code>Dialog</code> implementation of this framework method lays
	 * out a button bar and calls the <code>createButtonsForButtonBar</code>
	 * framework method to populate it. Subclasses may override.
	 * </p>
	 * <p>
	 * The returned control's layout data must be an instance of
	 * <code>GridData</code>.
	 * </p>
	 * 
	 * @param parent
	 *            the parent composite to contain the button bar
	 * @return the button bar control
	 */
	protected Control createButtonBar(Composite parent) {
		Composite composite = new Composite(parent, SWT.NONE);
		
		
		GridLayout 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);
		composite.setLayout(layout);
		GridData data = new GridData(GridData.HORIZONTAL_ALIGN_END
				| GridData.VERTICAL_ALIGN_CENTER);