/// <summary>
 ///		Inicializa las librerías
 /// </summary>
 public override void InitLibraries(Plugins.Views.Host.IHostPluginsController hostPluginsController)
 {
     HostPluginsController = hostPluginsController;
     ViewsController       = new Controllers.ViewsController(hostPluginsController);
     ViewModelManager      = new MainViewModel("DataBaseStudio", HostPluginsController.HostViewModelController,
                                               HostPluginsController.ControllerWindow, hostPluginsController.DialogsController,
                                               ViewsController);
     ViewModelManager.InitModule();
 }
Ejemplo n.º 2
0
 /// <summary>
 ///		Inicializa las librerías
 /// </summary>
 public override void InitLibraries(Plugins.Views.Host.IHostPluginsController hostPluginsController)
 {
     MainInstance          = this;
     HostPluginsController = hostPluginsController;
     Name             = "SourceEditor";
     ViewModelManager = new SourceEditorViewModel("SourceEditor", HostPluginsController.HostViewModelController,
                                                  HostPluginsController.ControllerWindow, hostPluginsController.DialogsController,
                                                  ViewsController, GetRouteImages());
     ViewModelManager.InitModule();
 }
Ejemplo n.º 3
0
 /// <summary>
 ///		Inicializa las librerías
 /// </summary>
 public override void InitLibraries(Plugins.Views.Host.IHostPluginsController hostPluginsController)
 {
     MainInstance          = this;
     HostPluginsController = hostPluginsController;
     Name             = "BookLibrary";
     ViewModelManager = new ViewModel.BookLibraryViewModel("BookLibrary", HostPluginsController.HostViewModelController,
                                                           HostPluginsController.ControllerWindow, hostPluginsController.DialogsController,
                                                           ViewsController);
     ViewModelManager.InitModule();
 }