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
* this dialog's return code to <code>Window.CANCEL</code> and closes the
	 * dialog. Subclasses may override if desired.
	 * </p>
	 */
	protected void cancelPressed() {
		setReturnCode(CANCEL);
		close();
	}
	/**
	 * Returns the number of pixels corresponding to the height of the given
	 * number of characters.
	 * <p>
	 * This method may only be called after <code>initializeDialogUnits</code>
	 * has been called.
	 * </p>
	 * <p>
	 * Clients may call this framework method, but should not override it.
	 * </p>
	 * 
	 * @param chars
	 *            the number of characters
	 * @return the number of pixels
	 */
	protected int convertHeightInCharsToPixels(int chars) {
		
		if (fontMetrics == null) {
			return 0;
		}
		return convertHeightInCharsToPixels(fontMetrics, chars);
	}