Example #1
0
		ModulesContent(IWpfCommandService wpfCommandService, IModulesVM modulesVM, IDocumentTabService documentTabService, Lazy<IModuleLoader> moduleLoader, Lazy<IInMemoryModuleService> inMemoryModuleService) {
			modulesControl = new ModulesControl();
			vmModules = modulesVM;
			this.documentTabService = documentTabService;
			this.moduleLoader = moduleLoader;
			this.inMemoryModuleService = inMemoryModuleService;
			modulesControl.DataContext = vmModules;
			modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick;

			wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl);
			wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView);
		}
Example #2
0
        ModulesContent(IWpfCommandService wpfCommandService, IModulesVM modulesVM, IDocumentTabService documentTabService, Lazy <IModuleLoader> moduleLoader, Lazy <IInMemoryModuleService> inMemoryModuleService)
        {
            this.modulesControl             = new ModulesControl();
            this.vmModules                  = modulesVM;
            this.documentTabService         = documentTabService;
            this.moduleLoader               = moduleLoader;
            this.inMemoryModuleService      = inMemoryModuleService;
            this.modulesControl.DataContext = this.vmModules;
            this.modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick;

            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl);
            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView);
        }
Example #3
0
		ModulesContent(IWpfCommandManager wpfCommandManager, IThemeManager themeManager, IModulesVM modulesVM, IFileTabManager fileTabManager, Lazy<ModuleLoader> moduleLoader, Lazy<IInMemoryModuleManager> inMemoryModuleManager) {
			this.modulesControl = new ModulesControl();
			this.vmModules = modulesVM;
			this.fileTabManager = fileTabManager;
			this.moduleLoader = moduleLoader;
			this.inMemoryModuleManager = inMemoryModuleManager;
			this.modulesControl.DataContext = this.vmModules;
			this.modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick;
			themeManager.ThemeChanged += ThemeManager_ThemeChanged;

			wpfCommandManager.Add(CommandConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl);
			wpfCommandManager.Add(CommandConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView);
		}
Example #4
0
        ModulesContent(IWpfCommandManager wpfCommandManager, IThemeManager themeManager, IModulesVM modulesVM, IFileTabManager fileTabManager, Lazy <ModuleLoader> moduleLoader, Lazy <IInMemoryModuleManager> inMemoryModuleManager)
        {
            this.modulesControl             = new ModulesControl();
            this.vmModules                  = modulesVM;
            this.fileTabManager             = fileTabManager;
            this.moduleLoader               = moduleLoader;
            this.inMemoryModuleManager      = inMemoryModuleManager;
            this.modulesControl.DataContext = this.vmModules;
            this.modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick;
            themeManager.ThemeChanged += ThemeManager_ThemeChanged;

            wpfCommandManager.Add(CommandConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl);
            wpfCommandManager.Add(CommandConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView);
        }