2024-10-14 12:14:01 +03:00
|
|
|
package _VisualDVM.Passes.All;
|
2024-10-15 02:32:52 +03:00
|
|
|
import _VisualDVM.Global;
|
2024-10-14 12:14:01 +03:00
|
|
|
import _VisualDVM.Passes.PassCode;
|
|
|
|
|
import _VisualDVM.Passes.Sapfor.VariantsMassPass;
|
2024-10-14 15:19:13 +03:00
|
|
|
import _VisualDVM.ProjectData.Project.db_project_info;
|
2023-09-17 22:13:42 +03:00
|
|
|
public class CreateParallelVariants extends VariantsMassPass {
|
|
|
|
|
@Override
|
|
|
|
|
public String getIconPath() {
|
|
|
|
|
return "/icons/Create.png";
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public String getButtonText() {
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
@Override
|
2024-10-09 23:37:58 +03:00
|
|
|
public PassCode getSubPassCode() {
|
|
|
|
|
return PassCode.SPF_CreateParallelVariant;
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
protected void FocusResult() {
|
2024-10-15 02:32:52 +03:00
|
|
|
Global.mainModule.getUI().getMainWindow().getProjectWindow().FocusVersions();
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
protected void performPreparation() throws Exception {
|
|
|
|
|
db_project_info.ResetNewVersions();
|
|
|
|
|
super.performPreparation();
|
|
|
|
|
}
|
|
|
|
|
}
|