Bug 175117 [StatusHandling] Cannot generally plug status support into ErrorDialogs
M5 Currently we have several ways to get ErrorDialogs that do not go through the status handling - we can either call the constructor or use our own class (there are 10 in the SDK alone). Our strategy of overriding the static method hits many cases but there are many quite common ones we will miss (like CVS errors for instance). I think we want to look at a way to extend the current error dialog rather than override the static method.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/IconAndMessageDialog.java
/**
     * Add an accessible listener to the label if it can be 
     * inferred from the image.
     * @param label
     * @param image
     */
	private void addAccessibleListeners(Label label, final Image image) {
		label.getAccessible().addAccessibleListener(
				new AccessibleAdapter(){
    				public void getName(AccessibleEvent event) {
    					final String accessibleMessage = getAccessibleMessageFor(image);
    					if(accessibleMessage == null) {
							return;
						}    					
    					event.result = accessibleMessage;
    				}
    			}
		);
	}
	/**
     * Returns the style for the message label.
     * 
     * @return the style for the message label
     * 
     * @since 3.0
     */
    protected int getMessageLabelStyle() {
        return SWT.WRAP;
    }