()
| 1083 | |
| 1084 | /// <inheritdoc /> |
| 1085 | public override void OnEndInit() |
| 1086 | { |
| 1087 | UpdateWindowTitle(); |
| 1088 | |
| 1089 | // Initialize windows |
| 1090 | for (int i = 0; i < Windows.Count; i++) |
| 1091 | { |
| 1092 | try |
| 1093 | { |
| 1094 | Windows[i].OnInit(); |
| 1095 | } |
| 1096 | catch (Exception ex) |
| 1097 | { |
| 1098 | Editor.LogWarning(ex); |
| 1099 | Editor.LogError("Failed to init window " + Windows[i]); |
| 1100 | } |
| 1101 | } |
| 1102 | |
| 1103 | // Load current workspace layout |
| 1104 | if (!LoadLayout(_windowsLayoutPath)) |
| 1105 | LoadDefaultLayout(); |
| 1106 | |
| 1107 | // Clear timer flag |
| 1108 | _lastLayoutSaveTime = DateTime.UtcNow; |
| 1109 | } |
| 1110 | |
| 1111 | /// <inheritdoc /> |
| 1112 | public override void OnUpdate() |
nothing calls this directly
no test coverage detected