private void DisplayWorkspace(WorkspaceNameEnum workspace)
        {
            IRegion mainRegion = regionManager.Regions[RegionNames.WorkspaceRegion];

            object view = mainRegion.GetView(workspace.ToString());

            if (view != null && !IsActiveView(mainRegion, view))
            {
                mainRegion.Activate(view);

                eventAggregator.GetEvent <WorkspaceActivatedEvent>().Publish(workspace);
            }
        }
 private void OnChangeWorkspaceViewEventHandler(WorkspaceNameEnum workspace)
 {
     DisplayWorkspace(workspace);
 }