рефакторинг хранения окон

This commit is contained in:
2024-10-15 02:32:52 +03:00
parent 1f6cc4a579
commit 2999390b91
105 changed files with 421 additions and 318 deletions

View File

@@ -24,7 +24,7 @@ public class DownloadDVMPackage extends DownloadDVMPackages {
return false;
}
if (new File(dvmPackage.getLocalWorkspace(), Constants.LOADED).exists()) {
UI.getMainWindow().getTestingWindow().ShowDVMPackage(dvmPackage);
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowDVMPackage(dvmPackage);
Global.testingServer.db.dvmRunTasks.ShowDVMPackage(dvmPackage);
return false;
}
@@ -36,7 +36,7 @@ public class DownloadDVMPackage extends DownloadDVMPackages {
}
@Override
protected void showDone() throws Exception {
UI.getMainWindow().getTestingWindow().ShowDVMPackage(dvmPackage);
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowDVMPackage(dvmPackage);
Global.testingServer.db.dvmRunTasks.ShowDVMPackage(dvmPackage);
}
}