Bug 131771 Match animated message behaviour in Preferences
An enhancement should be made to Preferences so that warnings and errors show up in a sliding message area like it they do in TitleAreaDialog.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java
newImage = JFaceResources.getImage(DLG_IMG_MESSAGE_WARNING);
                break;
            case IMessageProvider.ERROR:
                newImage = JFaceResources.getImage(DLG_IMG_MESSAGE_ERROR);
                break;
            }
        }
       
        if(newType == IMessageProvider.WARNING)
        	setWarningMessage(newMessage);
        else {
        	setWarningMessage(null);
        	showMessage(newMessage, newImage);
        }
    }
    /**
     * Show the new message and image.
     * @param newMessage 
     * @param newImage
     */
    private void showMessage(String newMessage, Image newImage) {
        
        if (message.equals(newMessage) && messageImage == newImage) {
			return;
		}
        message = newMessage;
        if (message == null) {
			message = "";
		}