рефакторинг хранения окон

This commit is contained in:
2024-10-15 02:32:52 +03:00
parent 1f6cc4a579
commit 2999390b91
105 changed files with 421 additions and 318 deletions

View File

@@ -5,12 +5,12 @@ public class AppendBugReportComment extends AppendBugReportField {
@Override
protected boolean canStart(Object... args) throws Exception {
return super.canStart("comment",
UI.getMainWindow().getCallbackWindow().getBugReportCommentAdditionText());
Global.mainModule.getUI().getMainWindow().getCallbackWindow().getBugReportCommentAdditionText());
}
@Override
protected void performDone() throws Exception {
super.performDone();
UI.getMainWindow().getCallbackWindow().ClearBugReportCommentAdditionText();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ClearBugReportCommentAdditionText();
}
@Override
protected boolean canUpdate() {