private void LoadCourse(ICourse newCourse)
        {
            CurrentCourse  = newCourse;
            CurrentChapter = null;

            if (newCourse != null && EditorConfigurator.Instance.Validation.IsAllowedToValidate())
            {
                EditorConfigurator.Instance.Validation.Validate(newCourse.Data, newCourse);
            }

            if (courseWindow != null)
            {
                courseWindow.SetCourse(CurrentCourse);
                if (stepWindow != null)
                {
                    stepWindow.SetStep(courseWindow.GetChapter()?.ChapterMetadata.LastSelectedStep);
                }
            }
            else if (stepWindow != null)
            {
                stepWindow.SetStep(null);
            }
        }
 /// <inheritdoc/>
 public void HandleNewCourseWindow(CourseWindow window)
 {
     courseWindow = window;
     courseWindow.SetCourse(CurrentCourse);
 }