List <CommandViewModel> CreateGLobalCommands()
        {
            List <CommandViewModel> commands = new List <CommandViewModel>();

            foreach (Schema sch in _schemaRepository.GetSchemas())
            {
                var s = sch;
                commands.Add(new CommandViewModel(
                                 sch.Name,
                                 new RelayCommand(param => this.ShowSchema(s),
                                                  x => { return(true); },
                                                  s.SecurityRule
                                                  )));
            }

            commands.Add(new CommandViewModel(
                             "Графіки",
                             new RelayCommand(param => this.SetActiveWorkspace(new TrendsViewModel()))));
            commands.Add(new CommandViewModel(
                             "Події",
                             new RelayCommand(param => this.SetActiveWorkspace(new EventsViewerViewModel()))));
            commands.Add(new CommandViewModel("Сервіс", new RelayCommand(param => this.SetActiveWorkspace(new ServiceViewModel()),
                                                                         param => true,
                                                                         "Tune"
                                                                         )));
            commands.Add(new CommandViewModel(
                             "Информація",
                             new RelayCommand(param => {
                MessageBox.Show(System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString());
            })));
            return(commands);
        }