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
}
            updateMessage(message);
            messageImageLabel.setImage(messageImage);
            setImageLabelVisible(messageImage != null);
            
            if(showingWarning)
            	setWarningMessage(warningMessage);
            
         } else {
            if (!showingError) {
                
                showingError = true;
            }
            if(showingWarning)
            	setWarningMessage(null);
            if(messageArea == null){
            	
                messageArea = new MessageArea(titleArea, SWT.NULL);
        		messageArea.setBackground(messageLabel.getBackground());
       		
        		Policy.getAnimator().setAnimationState(ControlAnimator.CLOSED);
              }
            
            messageArea.setText(errorMessage);
        	messageArea.setImage(JFaceResources.getImage(DLG_IMG_TITLE_ERROR));
            setMessageAreaVisible(true);
         }
        int verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING);
        int horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING);
        setLayoutsForNormalMessage(verticalSpacing, horizontalSpacing);