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/preference/PreferenceMessageArea.java
* 		will return 0.Subsequent calls will immediately return the width difference 
	 * 		if it has already been calculated and is > 0.
	 */
	private int getTitleLabelOffset() {
		if (titleLabelOffset == -1) {
			int offsetCalc = preferenceDialog.formTitleComposite.getBounds().width - 
							 titleLabel.getBounds().width;
			if (offsetCalc > 0)
				return titleLabelOffset = offsetCalc;
			
			return 0;
		}
		return titleLabelOffset;
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.dialogs.DialogMessageArea#updateText(java.lang.String, int)
	 */
	public void updateText(String newMessage, int newType) {
        Image newImage = null;
        switch (newType) {
        case IMessageProvider.NONE:
            if (newMessage == null) {
				restoreTitle();
			} else {
				showTitle(newMessage, null);
			}
            return;
        case IMessageProvider.INFORMATION:
            newImage = JFaceResources.getImage(Dialog.DLG_IMG_MESSAGE_INFO);
            break;