Project: Eclipse_Platform_UI
Bug 154398 [Dialogs] Javadoc - IconAndMessageDialog.createMessageArea assumes parent composite is using GridLayout
Reported: 2006-08-18 15:37:44 | Status: verified fixed

IconAndMessageDialog.createMessageArea assigns GridData objects as the layout data for the children of the parent composite. This mandates that the parent's layout is a GridLayout - which is unspecified in the Javadoc. This affects all callers of IconAndMessageDialog.createMessageArea as well, for example: ErrorDialog.createDialogArea MessageDialog.createDialogArea ProgressDialog.createDialogArea

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/IconAndMessageDialog.java