Exemplo n.º 1
0
        private ITimelineStepViewModel ResolveStepActionViewModel(SessionStepActionSettings action)
        {
            ITimelineStepViewModel stepViewModel = null;

            if (_resolver.CanCreate(action))
            {
                stepViewModel = (ITimelineStepViewModel)_resolver.Create(action);
            }

            return(stepViewModel);
        }
Exemplo n.º 2
0
 private void RegisterTimelineSteps()
 {
     SessionStepActionSettings.Register(typeof(ShowDesktopActionSettings));
     SessionStepActionSettings.Register(typeof(LaunchProgramActionSettings));
     SessionStepActionSettings.Register(typeof(CloseProgramActionSettings));
     SessionStepActionSettings.Register(typeof(QuestionaryActionSettings));
     SessionStepActionSettings.Register(typeof(ChooseAnswerQuestionActionSettings));
     SessionStepActionSettings.Register(typeof(WriteAnswerQuestionActionSettings));
     SessionStepActionSettings.Register(typeof(InstructionsActionSettings));
     SessionStepActionSettings.Register(typeof(ImageActionSettings));
 }
Exemplo n.º 3
0
 private void RegisterTimelineSteps()
 {
     SessionStepActionSettings.Register(typeof(FixationFilterActionSettings));
 }
Exemplo n.º 4
0
 public void Execute(SessionRecording recording, SessionStepActionSettings settings)
 {
     Execute(recording, (TSettings)settings);
 }
Exemplo n.º 5
0
 public bool CanExecute(SessionStepActionSettings settings)
 {
     return(settings != null && settings.GetType().Equals(typeof(TSettings)));
 }
Exemplo n.º 6
0
 private void RegisterTimelineSteps()
 {
     SessionStepActionSettings.Register(typeof(EyeTrackerCalibrationActionSettings));
     SessionStepActionSettings.Register(typeof(EyeTrackerValidationActionSettings));
 }