рефакторинг. переносил текущие объекты в другое место

This commit is contained in:
2024-10-13 22:08:13 +03:00
parent 09b64218bd
commit 6afa2dc892
240 changed files with 1472 additions and 1518 deletions

View File

@@ -4,6 +4,7 @@ import Common.Database.Objects.DBObject;
import Common.Database.Tables.DBTable;
import Common.Database.Database;
import Common.Visual.UI_;
import _VisualDVM.Global;
import _VisualDVM.ServerObjectsCache.VisualCaches;
import _VisualDVM.Repository.RepositoryServer;
import _VisualDVM.Repository.Server.ServerCode;
@@ -40,7 +41,7 @@ public class DeleteServerObjects <S extends RepositoryServer, D extends DBObject
return UI_.Warning(table.getCheckedCount()+" объектов будет удален(о).");
}
else {
if (Current_.Check(Log, table.CurrentName())){
if (Global.mainModule.Check(Log, table.CurrentName())){
target = new Vector<>();
target.add(table.getCurrent().getPK());
return getDb().tables.get(d).CheckCurrent(Log) && getDb().tables.get(d).ShowDeleteObjectDialog(table.getCurrent());