Dialog dialog = new ExtendedMessageDialog(Display.getDefault().getActiveShell(),
Messages.LabelUpdatesAvailable, //
MessageFormat.format(Messages.MsgConfirmInstall, newVersion.getVersion()), //
newVersion);
doUpdate[0] = dialog.open() == 0;
}
});
if (doUpdate[0])
{