shell.getDisplay().asyncExec(new Runnable() {
@Override
public void run() {
SingleInput textInput = LiveEditResultDialog.createTextInput(message, plan,
failure);
LiveEditResultDialog dialog =
new LiveEditResultDialog(shell, textInput, positionHighlighter);
dialog.open();
}
});
}
};