Bug 159930 [Dialogs] Remove the ControlAnimator from the Preferences and TitleArea dialog
M2 We have decided to remove the control animations. We are also going to remove the background colors from the error message and keep them as the same as the plain message background.
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceMessageArea.java
}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.dialogs.DialogMessageArea#createContents(org.eclipse.swt.widgets.Composite)
	 */
	public void createContents(Composite parent) {
	       
        
        titleLabel = new CLabel(parent, SWT.NONE);
        titleLabel.setFont(JFaceResources.getBannerFont());
        
        messageArea = new ImageAndMessageArea(preferenceDialog.formTitleComposite, SWT.WRAP);
        messageArea.setFont(JFaceResources.getDialogFont());
   		messageArea.setVisible(false);
   		
   		animator = Policy.getAnimatorFactory().createAnimator(messageArea);
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.dialogs.DialogMessageArea#setMessageLayoutData(java.lang.Object)
	 */
	public void setMessageLayoutData(Object layoutData) {
		((FormData) layoutData).top = null;
		((FormData) layoutData).right = new FormAttachment(100,-getTitleLabelOffset());
	     messageArea.setLayoutData(layoutData);
	}
	/**
	 * Calculates the width difference between the title label and the parent composite
	 * of the message area. Required for when the workbench adds a toolbar to the
	 * preference dialog.
	 * 
	 * @return the width difference if the calculation yields a value > 0, otherwise it