Bug 26133 [Dialogs] TitleAreaDialog status line blinks when newMessage == currentMessage
Build id: 200211051258 The current implementation for TitleAreaDialog#showMessage(String,int) method has a guard against updates to the message with the same content (to avoid needlessly blinking). The problem is that after that the message may be concatenated with a space character: ==================== //If there is an image then add in a space to the message //for layout purposes if(newImage != null) message = " " + message; //$NON-NLS-1$ ==================== So the guard will fail in the next call even if the same string is provided by the client.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java
*/
	public final static String INFO_MESSAGE = "INFO_MESSAGE"; 
	
	/**
	 * Message type constant used to display a warning icon with the message.
	 * @since 2.0
	 * @deprecated
	 */
	public final static String WARNING_MESSAGE = "WARNING_MESSAGE"; 
		
	private static final int H_GAP_IMAGE = 5;
	
	private static final int MIN_DIALOG_WIDTH = 350;
	
	private static final int MIN_DIALOG_HEIGHT = 150;
	
	static {
		ImageRegistry reg = JFaceResources.getImageRegistry();
		reg.put(DLG_IMG_TITLE_BANNER, ImageDescriptor.createFromFile(TitleAreaDialog.class, "images/title_banner.gif"));
	}
	private Label titleLabel;
	private Label titleImage;
	private Label bottomFillerLabel;
	private Label leftFillerLabel;
	private Color titleAreaColor;
	private RGB titleAreaRGB;
	private String message = ""; 
	private String errorMessage;
	private Label messageLabel;
	private Label messageImageLabel;