рефакторинг. переносил текущие объекты в другое место
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user