no message

This commit is contained in:
2024-10-11 00:00:30 +03:00
parent a11b7711f7
commit f317ab1aa1
341 changed files with 1866 additions and 1688 deletions

View File

@@ -1,6 +1,6 @@
package Visual_DVM_2021.Passes.All;
import Common.Utils.CommonUtils;
import Common.Visual.CommonUI;
import Common.Utils.Utils_;
import Common.Visual.UI_;
import _VisualDVM.Global;
import Common.Visual.Windows.Dialog.Dialog;
import _VisualDVM.Utils;
@@ -34,7 +34,7 @@ public class CopyProject extends CurrentProjectPass {
public void validateFields() {
Utils.validateFileShortNewName(fields.tfName.getText(), Log);
if (!fields.tfParent.getText().isEmpty()) {
if (CommonUtils.ContainsCyrillic(fields.tfParent.getText()))
if (Utils_.ContainsCyrillic(fields.tfParent.getText()))
Log.Writeln_("Путь к целевой папке не может содержать кириллицу!");
} else Log.Writeln_("Путь к целевой папке не может быть пустым!");
if (Log.isEmpty()) {
@@ -62,7 +62,7 @@ public class CopyProject extends CurrentProjectPass {
}
@Override
protected void performDone() throws Exception {
if (CommonUI.Question("копия текущего проекта успешно создана по адресу\n" + dstFile.getAbsolutePath() + "\nОткрыть её")) {
if (UI_.Question("копия текущего проекта успешно создана по адресу\n" + dstFile.getAbsolutePath() + "\nОткрыть её")) {
passes.get(PassCode.CloseCurrentProject).Do();
passes.get(PassCode.OpenCurrentProject).Do(dstFile);
}