Перенос.

This commit is contained in:
2023-09-17 22:13:42 +03:00
parent dd2e0ca7e0
commit 629d8b8477
1239 changed files with 61161 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
package Visual_DVM_2021.Passes.All;
import Common.Current;
import Common.Database.Database;
import Common.Global;
import Common.UI.UI;
import Common.Utils.Utils;
import TestingSystem.Sapfor.SapforTasksPackage.SapforTasksPackage_2023;
import Visual_DVM_2021.Passes.DeleteObjectPass;
import java.io.File;
public class DeleteSapforTasksPackage extends DeleteObjectPass<SapforTasksPackage_2023> {
public DeleteSapforTasksPackage() {
super(SapforTasksPackage_2023.class);
}
@Override
protected Database getDb() {
return Global.db;
}
@Override
protected void performPreparation() throws Exception {
if (Current.hasUI()) {
UI.getMainWindow().getTestingWindow().RemoveSapforPackageFromComparison(target);
}
}
@Override
protected void body() throws Exception {
super.body();
Utils.delete_with_check(new File(target.workspace));
}
}