постепенное выведение старой концепции текущих объектов, касаемо табличных лучше держать их в интерфейсе таблиц, чтобы не писать описание объекта дважды и не мучиться с типом. некоторые фиксы

This commit is contained in:
2024-10-24 23:40:24 +03:00
parent f811d9b3ac
commit 36c11ac93f
153 changed files with 765 additions and 739 deletions

View File

@@ -1,4 +1,5 @@
package _VisualDVM.Passes.All;
import Common.MainModule_;
import Common.Passes.Pass;
import _VisualDVM.Current;
import _VisualDVM.Global;
@@ -22,8 +23,8 @@ public class ApplyProfile extends Pass<SapforProfile> {
}
@Override
protected boolean canStart(Object... args) throws Exception {
if (Global.mainModule.Check(Log, Current.SapforProfile)) {
target = (SapforProfile) Global.mainModule.get(Current.SapforProfile);
if (MainModule_.instance.getDb().getTable(SapforProfile.class).getUI().Check(Log)) {
target = MainModule_.instance.getDb().getTable(SapforProfile.class).getUI().getCurrent();
return true;
}
return false;