Bug 72489 [Dialogs] ErrorDialog resize behaviour should be improved
The resize behaviour of the ErrorDialog lacks a few constraints: - You can resize the dialog arbitrarily. A minimum size should be calculated dynamically to make sure that all components are visible. - If visisble - the details field upper left position should be fixed and the field itself should resizes only.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/ErrorDialog.java
* @param displayMask
	 *            the mask to use to filter the displaying of child items, as
	 *            per <code>IStatus.matches</code>
	 * @return the code of the button that was pressed that resulted in this
	 *         dialog closing. This will be <code>Dialog.OK</code> if the OK
	 *         button was pressed, or <code>Dialog.CANCEL</code> if this
	 *         dialog's close window decoration or the ESC key was used.
	 * @see org.eclipse.core.runtime.IStatus#matches(int)
	 */
	public static int openError(Shell parentShell, String title,
			String message, IStatus status, int displayMask) {
		ErrorDialog dialog = new ErrorDialog(parentShell, title, message,
				status, displayMask);
		return dialog.open();
	}
	/**
	 * Populates the list using this error dialog's status object. This walks
	 * the child static of the status object and displays them in a list. The
	 * format for each entry is status_path : status_message If the status's
	 * path was null then it (and the colon) are omitted.
	 * 
	 * @param listToPopulate
	 *            The list to fill.
	 */
	private void populateList(List listToPopulate) {
		populateList(listToPopulate, status, 0,
				shouldIncludeTopLevelErrorInDetails);
	}
	/**
	 * Populate the list with the messages from the given status. Traverse the