SPF_InsertPrivateFromGUI

v++
This commit is contained in:
2023-12-23 21:31:56 +03:00
parent 7684966849
commit 2ad0c85331
8 changed files with 30 additions and 5 deletions

View File

@@ -91,6 +91,7 @@ public class AddSapforPackage extends AddObjectPass<SapforPackage> {
return true;
}
public boolean getConfigurationCommands(SapforConfiguration sapforConfiguration) {
int headers_count = 0;
//1. получить список всех команд.
Vector<PassCode_2021> codes = new Vector<>();
//-- счетчик завершающих команд.
@@ -120,6 +121,8 @@ public class AddSapforPackage extends AddObjectPass<SapforPackage> {
))
return false;
}
//--
return true;
}

View File

@@ -1,5 +1,6 @@
package Visual_DVM_2021.Passes.All;
import Common.Global;
import Common.UI.UI;
import Common.Utils.Utils;
import TestingSystem.SAPFOR.SapforPackage.SapforPackage;
import Visual_DVM_2021.Passes.DeleteTestingPackages;
@@ -9,6 +10,10 @@ public class DeleteSapforPackage extends DeleteTestingPackages<SapforPackage> {
public DeleteSapforPackage() {
super(SapforPackage.class);
}
protected void showPreparation() throws Exception {
super.showPreparation();
UI.getMainWindow().getTestingWindow().DropSapforComparison();
}
@Override
protected File getPackagesHome() {
return Global.SapforPackagesDirectory;

View File

@@ -0,0 +1,4 @@
package Visual_DVM_2021.Passes.All;
import Visual_DVM_2021.Passes.SapforTransformation;
public class SPF_InsertPrivateFromGUI extends SapforTransformation {
}

View File

@@ -311,11 +311,13 @@ public enum PassCode_2021 {
DownloadDVMPackages,
DownloadSapforPackage,
//->
TestPass;
TestPass, SPF_InsertPrivateFromGUI;
public String getDescription() {
switch (this) {
case Undefined:
return "?";
case SPF_InsertPrivateFromGUI:
return "Расстановка директив приватностей";
case CreateTestFromSelectedFiles:
return "Создать тест из выделенных файлов";
case DownloadSapforPackage:
@@ -915,6 +917,9 @@ public enum PassCode_2021 {
case SPF_GetMaxMinBlockDistribution:
name = "GET_MIN_MAX_BLOCK_DIST";
break;
case SPF_InsertIncludesPass:
name = "INSERT_INCLUDES"+" -includeAll";
break;
}
return p + " " + name;
}