no message
This commit is contained in:
@@ -8,8 +8,6 @@ import Common.Visual.Controls.PassControl;
|
||||
import Common.Visual.Controls.StablePassMenuItem;
|
||||
import Common.Visual.UI;
|
||||
import Common.Visual.Windows.PassForm;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.GlobalData.Settings.SettingName;
|
||||
|
||||
import javax.swing.*;
|
||||
import java.awt.event.ActionEvent;
|
||||
@@ -202,22 +200,23 @@ public class Pass<T> {
|
||||
next.createStack_r(ToDo, ToPrint);
|
||||
}
|
||||
}
|
||||
//todo обращение к пропертиес как то пофиксить
|
||||
public boolean Do(Object... args) {
|
||||
Stack<Pass> ToDo = new Stack<>();
|
||||
Vector<String> ToPrint = new Vector<>();
|
||||
createStack_r(ToDo, ToPrint);
|
||||
if (Global.properties.ConfirmPassesStart && !ToPrint.isEmpty() &&
|
||||
|
||||
if (
|
||||
MainModule_.instance.confirmPassesStart() && !ToPrint.isEmpty() &&
|
||||
!UI.Question("Выполнить проход(ы):\n" + String.join("\n", ToPrint))
|
||||
) return false;
|
||||
while (ToDo.size() > 1) {
|
||||
if (!ToDo.pop().start()) return false;
|
||||
}
|
||||
if (start(args)) {
|
||||
if (Global.properties.FocusPassesResult)
|
||||
if (MainModule_.instance.focusPassesResult())
|
||||
FocusResult();
|
||||
//-
|
||||
if (Global.properties.ShowPassesDone && !ToPrint.isEmpty()
|
||||
if (MainModule_.instance.confirmPassesDone() && !ToPrint.isEmpty()
|
||||
) {
|
||||
UI.Info("Проход(ы)\n\n" + String.join("\n", ToPrint) +
|
||||
"\nуспешно выполнен(ы)!");
|
||||
|
||||
Reference in New Issue
Block a user