Bug 52730 [Dialogs] TitleAreaDialog wrong doc for createDialogArea
/** * Creates and returns the contents of the upper part * of this dialog (above the button bar). * <p> * The <code>Dialog</code> implementation of this framework method * creates and returns a new <code>Composite</code> with * standard margins and spacing. Subclasses should override. * </p> * * @param the parent composite to contain the dialog area * @return the dialog area control */ protected Control createDialogArea(Composite parent) @@@@ The composite created by this method does _not_ have standard margings and spacing but 0-width margins and spacing.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/TitleAreaDialog.java
* Sets the title image to be shown in the title area of this dialog.
 *
 * @param newTitle the title image show 
 */
public void setTitleImage(Image newTitleImage) {
	titleImage.setImage(newTitleImage);
	titleImage.setVisible(newTitleImage != null);
	if(newTitleImage != null){
		determineTitleImageLargest();
		Control top;
		if(titleImageLargest)
			top = titleImage;
		else
			top = messageLabel;
		resetWorkAreaAttachments(top);
	}
}
/**
 * Make the label used for displaying error images visible
 * depending on boolean.
 */
private void setImageLabelVisible(boolean visible){
	messageImageLabel.setVisible(visible);
	bottomFillerLabel.setVisible(visible);
	leftFillerLabel.setVisible(visible);
	
}
/**
 * Set the message backgrounds to be the error or normal color
 * depending on whether or not showingError is true.