no message
This commit is contained in:
@@ -5,6 +5,7 @@ import Common.Utils.Utils_;
|
||||
import _VisualDVM.Constants;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
import _VisualDVM.Repository.Component.ComponentsSet;
|
||||
import _VisualDVM.Visual.Windows.FileNameForm;
|
||||
|
||||
import java.io.File;
|
||||
@@ -26,7 +27,7 @@ public class CreateEmptyProject extends Pass<File> {
|
||||
target = null;
|
||||
if (ff.ShowDialog("Укажите имя создаваемого проекта", "NewProject")) {
|
||||
project_name = ff.Result;
|
||||
target = Paths.get(Global.visualiser.getWorkspace().getAbsolutePath(), project_name).toFile();
|
||||
target = Paths.get(ComponentsSet.visualiser.getWorkspace().getAbsolutePath(), project_name).toFile();
|
||||
if (target.exists())
|
||||
Log.Writeln("Файл\n" + Utils_.Brackets(target.getAbsolutePath()) + "\nуже существует");
|
||||
return Log.isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user