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

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

@@ -1,6 +1,7 @@
package Visual_DVM_2021.Passes.All;
import Common.Utils.Utils_;
import _VisualDVM.Current;
import _VisualDVM.Global;
import _VisualDVM.Utils;
import _VisualDVM.GlobalData.Module.Module;
import _VisualDVM.ProjectData.Files.DBProjectFile;
@@ -50,9 +51,9 @@ public class GCOV extends Precompilation {
@Override
protected void showPreparation() throws Exception {
//super.showPreparation(); тут не надо отображать пустые анализы.
if (Current.HasFile()) {
Current.getFile().form.ShowNoRunOutput();
Current.getFile().form.ShowNoGCOVLog();
if (Global.mainModule.HasFile()) {
Global.mainModule.getFile().form.ShowNoRunOutput();
Global.mainModule.getFile().form.ShowNoGCOVLog();
}
}
@Override
@@ -108,16 +109,16 @@ public class GCOV extends Precompilation {
@Override
protected void showDone() throws Exception {
super.showDone();
if (Current.HasFile()) {
Current.getFile().form.ShowRunOutput();
Current.getFile().form.ShowGCOVLog();
if (Global.mainModule.HasFile()) {
Global.mainModule.getFile().form.ShowRunOutput();
Global.mainModule.getFile().form.ShowGCOVLog();
}
}
@Override
protected void showFail() throws Exception {
super.showFail();
if (Current.HasFile())
Current.getFile().form.FocusCompilationOut();
if (Global.mainModule.HasFile())
Global.mainModule.getFile().form.FocusCompilationOut();
}
@Override
protected void performDone() throws Exception {
@@ -125,8 +126,8 @@ public class GCOV extends Precompilation {
}
@Override
protected void FocusResult() {
if (Current.HasFile())
Current.getFile().form.FocusGCOVLog();
if (Global.mainModule.HasFile())
Global.mainModule.getFile().form.FocusGCOVLog();
}
/*
@Override