Patch https://git.eclipse.org/r/75736 changed the dialog box for
deletion of trace folders to use JFace dialog. The change uses an
API that didn't exist in 4.5. This patch will change it to use the
4.5 APIs.
Change-Id: I71ec510eaedefb790b296264bda6cac857ebc89c
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/76037
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
// Confirm the operation
Shell shell = window.getShell();
- MessageDialog dialog = new MessageDialog(shell, getTitle(deleteType), null, getMessage(deleteType), MessageDialog.QUESTION, 1, new String[] { IDialogConstants.YES_LABEL,
- IDialogConstants.NO_LABEL }) {
+ MessageDialog dialog = new MessageDialog(shell, getTitle(deleteType), null, getMessage(deleteType), MessageDialog.QUESTION, new String[] { IDialogConstants.YES_LABEL,
+ IDialogConstants.NO_LABEL }, 1) {
{
setShellStyle(SWT.SHEET);
}