try {
return Utils.runSWTSync(new Callable<Boolean>() {
public Boolean call() {
Dialog dialog = new FeedbackDialog(EditorAPI.getShell(),
saros, FeedbackManager.this, message);
return dialog.open() == Window.OK;
}
});
} catch (Exception e) {
log.error("Exception when trying to open FeedbackDialog.", e);