/** * Sets the title image to be shown in the title area of this dialog. * * @param newTitleImage * the title image to be shown */ public void setTitleImage(Image newTitleImage) { titleAreaImage = newTitleImage; if (titleImageLabel != null) { titleImageLabel.setImage(newTitleImage); determineTitleImageLargest(); Control top; if (titleImageLargest) top = titleImageLabel; else top = messageLabel; resetWorkAreaAttachments(top); } }
/** * Sets the title image to be shown in the title area of this dialog. * * @param newTitleImage * the title image to be shown */ public void setTitleImage(Image newTitleImage) { titleAreaImage = newTitleImage; if (titleImageLabel != null) { titleImageLabel.setImage(newTitleImage); determineTitleImageLargest(); Control top; if (titleImageLargest) top = titleImageLabel; else top = messageLabel; resetWorkAreaAttachments(top); } }
/** * Sets the title image to be shown in the title area of this dialog. * * @param newTitleImage * the title image to be shown */ public void setTitleImage(Image newTitleImage) { titleAreaImage = newTitleImage; if (titleImageLabel != null) { titleImageLabel.setImage(newTitleImage); determineTitleImageLargest(); Control top; if (titleImageLargest) top = titleImageLabel; else top = messageLabel; resetWorkAreaAttachments(top); } }
workArea.setLayout(childLayout); Control top = createTitleArea(contents); resetWorkAreaAttachments(top); workArea.setFont(JFaceResources.getDialogFont());
workArea.setLayout(childLayout); Control top = createTitleArea(contents); resetWorkAreaAttachments(top); workArea.setFont(JFaceResources.getDialogFont());
workArea.setLayout(childLayout); Control top = createTitleArea(contents); resetWorkAreaAttachments(top); workArea.setFont(JFaceResources.getDialogFont());