постепенное выведение старой концепции текущих объектов, касаемо табличных лучше держать их в интерфейсе таблиц, чтобы не писать описание объекта дважды и не мучиться с типом. некоторые фиксы
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user