Esempio n. 1
0
 public ControlVM(IModulesVM vm, ModulesOperations operations, IMessageBoxService messageBoxService, DependencyObject control)
 {
     VM                     = vm;
     Operations             = operations;
     this.messageBoxService = messageBoxService;
     this.control           = control;
 }
Esempio n. 2
0
 ModulesOperationsImpl(IModulesVM modulesVM, DebuggerSettings debuggerSettings, Lazy <ModulesSaver> modulesSaver, Lazy <MemoryWindowService> memoryWindowService, Lazy <ReferenceNavigatorService> referenceNavigatorService, Lazy <IModuleLoader> moduleLoader)
 {
     this.modulesVM                 = modulesVM;
     this.debuggerSettings          = debuggerSettings;
     this.modulesSaver              = modulesSaver;
     this.memoryWindowService       = memoryWindowService;
     this.referenceNavigatorService = referenceNavigatorService;
     this.moduleLoader              = moduleLoader;
 }
Esempio n. 3
0
        ModulesContent(IWpfCommandService wpfCommandService, IModulesVM modulesVM, ModulesOperations modulesOperations, IMessageBoxService messageBoxService)
        {
            Operations                 = modulesOperations;
            modulesControl             = new ModulesControl();
            this.modulesVM             = modulesVM;
            modulesControl.DataContext = new ControlVM(modulesVM, modulesOperations, messageBoxService, modulesControl);
            modulesControl.ModulesListViewDoubleClick += ModulesControl_ModulesListViewDoubleClick;

            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_CONTROL, modulesControl);
            wpfCommandService.Add(ControlConstants.GUID_DEBUGGER_MODULES_LISTVIEW, modulesControl.ListView);
        }
Esempio n. 4
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);
		}
Esempio n. 5
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);
        }
Esempio n. 6
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);
		}
Esempio n. 7
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);
        }
Esempio n. 8
0
 public ModulesCtxMenuContext(IModulesVM vm, ModuleVM[] selItems)
 {
     this.VM            = vm;
     this.SelectedItems = selItems;
 }