client/src/Iri.Modernisation.BaseMVVM/Commands/Commands.cs
changeset 38 bd33267300aa
parent 35 43bb1b8ed555
child 41 b51a10574e7f
equal deleted inserted replaced
37:beb938b4fb76 38:bd33267300aa
   105                 OkClick = new Command("OkClick");
   105                 OkClick = new Command("OkClick");
   106                 Play = new Command("Play");
   106                 Play = new Command("Play");
   107                 Pause = new Command("Pause");
   107                 Pause = new Command("Pause");
   108                 LeftTrim = new Command("LeftTrim");
   108                 LeftTrim = new Command("LeftTrim");
   109                 RightTrim = new Command("RightTrim");
   109                 RightTrim = new Command("RightTrim");
       
   110                 NewAnnotationFinished = new Command("NewAnnotationFinished");
       
   111             }
       
   112 
       
   113             public static Command NewAnnotationFinished
       
   114             {
       
   115                 get;
       
   116                 private set;
   110             }
   117             }
   111             public static Command OkClick
   118             public static Command OkClick
   112             {
   119             {
   113                 get;
   120                 get;
   114                 private set;
   121                 private set;
   295             {
   302             {
   296               
   303               
   297 
   304 
   298                 PublishClick = new Command("PublishClick");
   305                 PublishClick = new Command("PublishClick");
   299                 SaveClick = new Command("SaveClick");
   306                 SaveClick = new Command("SaveClick");
   300 
   307                 EditFinishedOk = new Command("EditFinishedOk");
   301             }
   308                 IndexFinishedOk = new Command("IndexFinishedOk");
   302             
   309                 
       
   310 
       
   311             }
       
   312             public static Command EditFinishedOk
       
   313             {
       
   314                 get;
       
   315                 private set;
       
   316             }
       
   317             public static Command IndexFinishedOk
       
   318             {
       
   319                 get;
       
   320                 private set;
       
   321             }
       
   322 
   303             public static Command PublishClick
   323             public static Command PublishClick
   304             {
   324             {
   305                 get;
   325                 get;
   306                 private set;
   326                 private set;
   307             }
   327             }
   410             TimeChange = new Command("TimeChange");
   430             TimeChange = new Command("TimeChange");
   411             FlipView = new Command("FlipView");
   431             FlipView = new Command("FlipView");
   412             GoToTime = new Command("GoToTime");
   432             GoToTime = new Command("GoToTime");
   413             ActivePart = new Command("ActivePart");
   433             ActivePart = new Command("ActivePart");
   414             EscapeKeyPressed = new Command("EscapeKeyPressed");
   434             EscapeKeyPressed = new Command("EscapeKeyPressed");
       
   435             HttpSenderResponse = new Command("HttpSenderResponse");
   415            // VideoPositionTimer.Tick += new EventHandler(Each_Tick);
   436            // VideoPositionTimer.Tick += new EventHandler(Each_Tick);
   416            
   437            
   417            
   438            
       
   439         }
       
   440 
       
   441         public static Command HttpSenderResponse
       
   442         {
       
   443             get;
       
   444             private set;
   418         }
   445         }
   419         public static Command EscapeKeyPressed
   446         public static Command EscapeKeyPressed
   420         {
   447         {
   421             get;
   448             get;
   422             private set;
   449             private set;
   517             }
   544             }
   518             public static void Initialize()
   545             public static void Initialize()
   519             {
   546             {
   520             }
   547             }
   521         }
   548         }
       
   549 
       
   550         public static class BookTimeLine
       
   551         {
       
   552 
       
   553             static BookTimeLine()
       
   554             {
       
   555                 SaveAnnotations = new Command("SaveAnnotations");
       
   556         
       
   557             }
       
   558             public static Command SaveAnnotations
       
   559             {
       
   560                 get;
       
   561                 private set;
       
   562             }
       
   563             
       
   564             public static void Initialize()
       
   565             {
       
   566             }
       
   567         }
       
   568 
   522         /// <summary>
   569         /// <summary>
   523         /// Ensure static fields are initialized
   570         /// Ensure static fields are initialized
   524         /// </summary>
   571         /// </summary>
   525         public static void Initialize()
   572         public static void Initialize()
   526         {
   573         {
   534             HeaderProduction.Initialize();
   581             HeaderProduction.Initialize();
   535             ProductionTimeLine.Initialize();
   582             ProductionTimeLine.Initialize();
   536             VideoViewer.Initialize();
   583             VideoViewer.Initialize();
   537             ProductionView.Initialize();
   584             ProductionView.Initialize();
   538             Commands.WebCamControl.Initialize();
   585             Commands.WebCamControl.Initialize();
       
   586             BookTimeLine.Initialize();
   539             
   587             
   540         }
   588         }
   541     }
   589     }
   542 }
   590 }