рефакторинг. переносил текущие объекты в другое место
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user