if (selectedDependencies.size() > 0) {
new BackgroundTask(project, "Compiling dependencies", false, true){
@Override
public void execute(@NotNull ProgressIndicator progressIndicator) {
initProgressIndicator(progressIndicator, true);
DatabaseCompilerManager compilerManager = DatabaseCompilerManager.getInstance(project);
for (DBSchemaObject schemaObject : selectedDependencies) {
if (!progressIndicator.isCanceled()) {
progressIndicator.setText("Compiling " + schemaObject.getQualifiedNameWithType());
compilerManager.compileObject(schemaObject, CompileType.DEBUG, true);
}
}
executionInput.getConnectionHandler().getObjectBundle().refreshObjectsStatus();
if (!progressIndicator.isCanceled()) {
performExecution(