no message
This commit is contained in:
@@ -3,6 +3,7 @@ import Common.Utils.Utils_;
|
||||
import Common.Utils.Stopwatch;
|
||||
import Common.Utils.TextLog;
|
||||
import Common.Visual.UI_;
|
||||
import MainModule_.MainModule_;
|
||||
import Visual_DVM_2021.PassStats.PassStats;
|
||||
import Visual_DVM_2021.Passes.PassCode;
|
||||
import Visual_DVM_2021.Passes.UI.PassForm;
|
||||
@@ -94,24 +95,22 @@ public class Pass<T> {
|
||||
public void UpdateStatsIfNeed() {
|
||||
if (hasStats()) {
|
||||
try {
|
||||
Global.mainModule.getDb().passStats.IncPassStat(code());
|
||||
MainModule_.object.getDb().passStats.IncPassStat(getName());
|
||||
} catch (Exception ex) {
|
||||
Utils_.MainLog.PrintException(ex);
|
||||
}
|
||||
UI.fastAccessMenuBar.Refresh(); //todo все бары в мейн модуль. или уи.мейн модуль
|
||||
}
|
||||
}
|
||||
public PassCode code() {
|
||||
return PassCode.valueOf(getClass().getSimpleName());
|
||||
}
|
||||
public boolean isDone() {
|
||||
return state.equals(PassState.Done);
|
||||
}
|
||||
public void setDone() {
|
||||
state.equals(PassState.Done);
|
||||
}
|
||||
public String getName(){return getClass().getSimpleName();}
|
||||
public String getDescription() {
|
||||
return code().getDescription();
|
||||
return Global.mainModule.getPassDescription(getName());
|
||||
}
|
||||
public String getStartDescription() {
|
||||
return getDescription();
|
||||
|
||||
Reference in New Issue
Block a user