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
/**
	 * Reserve room for this many list items.
	 */
	private static final int LIST_ITEM_COUNT = 7;
	/**
	 * The Details button.
	 */
	private Button detailsButton;
	/**
	 * The title of the dialog.
	 */
	private String title;
	/**
	 * The SWT list control that displays the error details.
	 */
	private List list;
	/**
	 * Indicates whether the error details viewer is currently created.
	 */
	private boolean listCreated = false;
	/**
	 * Filter mask for determining which status items to display.
	 */
	private int displayMask = 0xFFFF;
	/** 
	 * The main status object.
	 */
	private IStatus status;
	/**
	 * List of the main error object's detailed errors