Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 2801

Summary: [Dialogs] DCR: ErrorDialog should not always show the error icon (1GJU7TK)
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P4 Keywords: investigate
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows NT   
Whiteboard:

Description Dani Megert CLA 2001-10-10 22:43:49 EDT
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:
Comment 1 DJ Houghton CLA 2001-10-29 19:17:39 EST
PRODUCT VERSION:
	0.135


Comment 2 Randy Giffen CLA 2002-05-27 21:48:17 EDT
Defer
Comment 3 Randy Giffen CLA 2002-08-08 15:46:50 EDT
Reopen for investigation
Comment 4 Tod Creasey CLA 2002-08-26 11:38:15 EDT
MessageDialog should add static API to take a status and open an Error Dialog 
if it is an error status.
Comment 5 Tod Creasey CLA 2002-10-23 11:11:02 EDT
Went with the originalk idea - the ErrorDialog now shows Warning and Info 
icons based on the severity of the status. Redesigning the MessageDialog to 
handle status etc. did not make sense to do and may have broken users of it.
Comment 6 Tod Creasey CLA 2005-05-10 14:56:30 EDT
Marking closed