private void EditSourceTarget()
        {
            if (Watcher.Source == null)
            {
                return;
            }
            var dbEditVm = new TargetEditViewModel(TabController, Watcher.Source);

            TabController.OpenTab(dbEditVm);
        }
        private void AddSourceTarget()
        {
            var targetData = TabController.ConfigurationService.GetEmptyObject <TargetData>(TabController.Configuration);

            targetData.Code = "New target";
            var sEditVm = new TargetEditViewModel(TabController, targetData);

            Watcher.Source = targetData;
            TabController.OpenTab(sEditVm);
        }
        private void EditDestinationTarget()
        {
            if (Watcher.Destination == null)
            {
                return;
            }
            var dbEditVm = new TargetEditViewModel(TabController, Watcher.Destination);

            TabController.OpenTab(dbEditVm);
        }