Bug 2801 [Dialogs] DCR: ErrorDialog should not always show the error icon (1GJU7TK)
The class org.eclipse.jface.dialogs.ErrorDialog is used to display errors contained in an IStatus. The problem with the dialog is that it shows an error icon (red/cross) even though IStatus only has warnings or infos. The dialog would be more usable if the icon would correspond to the severity of IStatus and/or the dialog would offer to specify the image type (error, warning, info). NOTES:
bundles/org.eclipse.ui.workbench/extensions/org/eclipse/jface/dialogs/ErrorDialog.java
return status.matches(mask);
	}
	for (int i = 0; i<children.length; i++) {
		if (children[i].matches(mask))
			return true;
	}
	return false;
}
/**
 * Toggles the unfolding of the details area.  This is triggered by
 * the user pressing the details button.
 */
private void toggleDetailsArea() {
	Point windowSize = getShell().getSize();
	Point oldSize = getShell().computeSize(SWT.DEFAULT, SWT.DEFAULT);
	
	if (listCreated) {
		list.dispose();
		listCreated = false;
		detailsButton.setText(IDialogConstants.SHOW_DETAILS_LABEL);
	} else {
		list = createDropDownList((Composite)getContents());
		detailsButton.setText(IDialogConstants.HIDE_DETAILS_LABEL);
	}
	Point newSize = getShell().computeSize(SWT.DEFAULT, SWT.DEFAULT);
	getShell().setSize(new Point(windowSize.x, windowSize.y + (newSize.y - oldSize.y)));
	
	}
}