no message
This commit is contained in:
30
src/Visual_DVM_2021/Passes/All/DeleteSapforScenario.java
Normal file
30
src/Visual_DVM_2021/Passes/All/DeleteSapforScenario.java
Normal file
@@ -0,0 +1,30 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Database.Database;
|
||||
import Common.Global;
|
||||
import Common.Utils.Utils;
|
||||
import SapforTestingSystem.SapforScenario.SapforScenario;
|
||||
import Visual_DVM_2021.Passes.DeleteObjectPass;
|
||||
|
||||
import java.io.File;
|
||||
public class DeleteSapforScenario extends DeleteObjectPass<SapforScenario> {
|
||||
public DeleteSapforScenario() {
|
||||
super(SapforScenario.class);
|
||||
}
|
||||
@Override
|
||||
protected Database getDb() {
|
||||
return Global.db;
|
||||
}
|
||||
@Override
|
||||
protected void performPreparation() throws Exception {
|
||||
/*
|
||||
if (Current.hasUI()&&Current.HasSapforTasksPackage()) {
|
||||
UI.getMainWindow().getTestingWindow().RemoveSapforPackageFromComparison();
|
||||
}
|
||||
*/
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
super.body();
|
||||
Utils.delete_with_check(new File(target.workspace));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user