рефакторинг. переносил текущие объекты в другое место

This commit is contained in:
2024-10-13 22:08:13 +03:00
parent 09b64218bd
commit 6afa2dc892
240 changed files with 1472 additions and 1518 deletions

View File

@@ -37,26 +37,26 @@ public class UpdateProperty extends Pass<Object> {
UI.getMainWindow().getTestingWindow().ExpandCredentials();
break;
case "collapseProjectTrees":
if (Current.HasProject()) {
if (Global.mainModule.HasProject()) {
if ((boolean) newValue)
UI.getMainWindow().getProjectWindow().CollapseProjectTrees();
else UI.getMainWindow().getProjectWindow().ExpandProjectTrees();
}
break;
case "collapseFileGraphs":
if (Current.HasFile()) {
if (Global.mainModule.HasFile()) {
if ((boolean) newValue)
Current.getFile().form.CollapseGraphs();
Global.mainModule.getFile().form.CollapseGraphs();
else
Current.getFile().form.ExpandGraphs();
Global.mainModule.getFile().form.ExpandGraphs();
}
break;
case "collapseFileMessages":
if (Current.HasFile()) {
if (Global.mainModule.HasFile()) {
if ((boolean) newValue)
Current.getFile().form.CollapseMessages();
Global.mainModule.getFile().form.CollapseMessages();
else
Current.getFile().form.ExpandMessages();
Global.mainModule.getFile().form.ExpandMessages();
}
break;
}