Bug 2801 - [Dialogs] DCR: ErrorDialog should not always show the error icon (1GJU7TK)
Summary: [Dialogs] DCR: ErrorDialog should not always show the error icon (1GJU7TK)
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All Windows NT
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2001-10-10 22:43 EDT by Dani Megert CLA
Modified: 2005-05-10 14:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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