final boolean[] arr = new boolean[] { false };
if (null != desc.getParameter("interactive")) {
GuiController.getInstance().getDisplay().syncExec(new Runnable() {
@Override
public void run() {
OptionsDialog od = new OptionsDialog(GuiController.getInstance().getMainShell(), SWT.ICON_QUESTION);
od.setText("Question - FullSync"); //FIXME: translate
od.setMessage(message); //FIXE: translate message
od.setOptions(new String[] { "Yes", "No" }); //FIXME: translate
if ("Yes".equals(od.open())) { //FIXME: translate
arr[0] = true;
}
}
});
}