private void AddRichtingGevoeligVerleng_Executed(object prm)
        {
            var rgv = new RichtingGevoeligVerlengModel()
            {
                FaseCyclus   = SelectedFaseVerleng,
                VanDetector  = SelectedDetectorVerleng1,
                NaarDetector = SelectedDetectorVerleng2
            };

            DefaultsProvider.Default.SetDefaultsOnModel(rgv);
            RichtingGevoeligVerlengen.Add(new RichtingGevoeligVerlengViewModel(rgv));

            _SelectedFaseVerleng      = null;
            _SelectedDetectorVerleng1 = null;
            _SelectedDetectorVerleng2 = null;
            RaisePropertyChanged("SelectedFaseVerleng");
            RaisePropertyChanged("SelectedDetectorVerleng1");
            RaisePropertyChanged("SelectedDetectorVerleng2");

            Messenger.Default.Send(new ControllerDataChangedMessage());
        }
 private void OnDetectorenChanged(DetectorenChangedMessage message)
 {
     RichtingGevoeligeAanvragen.Rebuild();
     RichtingGevoeligVerlengen.Rebuild();
 }
 private void RemoveRichtingGevoeligVerleng_Executed(object prm)
 {
     RichtingGevoeligVerlengen.Remove(SelectedRichtingGevoeligVerleng);
     SelectedRichtingGevoeligVerleng = null;
     Messenger.Default.Send(new ControllerDataChangedMessage());
 }