if (continueExecution) {
new BackgroundTask(executionResult.getProject(), "Executing statement", false, true) {
protected void execute(@NotNull ProgressIndicator progressIndicator) {
initProgressIndicator(progressIndicator, true);
StatementExecutionCursorProcessor executionProcessor = executionResult.getExecutionProcessor();
executionProcessor.execute(progressIndicator);
}
}.start();
}
}
}