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

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

@@ -30,7 +30,7 @@ public class CloseCurrentFile extends Pass<DBProjectFile> {
target.form.SaveSplitters();
target.UpdateLastLine(target.form.getEditor().getCurrentLine());
Global.mainModule.getPass(PassCode.Save).Do();
UI.getSearchReplaceWindow().ClearMarkers();
Global.mainModule.getUI().getSearchReplaceWindow().ClearMarkers();
target.form = null;
}
@Override
@@ -40,6 +40,6 @@ public class CloseCurrentFile extends Pass<DBProjectFile> {
@Override
protected void showDone() throws Exception {
//отобразить отсутствие файла.
UI.getMainWindow().getProjectWindow().ShowNoFile();
Global.mainModule.getUI().getMainWindow().getProjectWindow().ShowNoFile();
}
}