public CodeStyleSettingsViewModel( ISettingsProvider <CodeStyleSetting> data, IWpfTableControlProvider controlProvider, ITableManagerProvider tableMangerProvider ) : base(data, controlProvider, tableMangerProvider) { }
public FormattingViewModel( ISettingsProvider <FormattingSetting> data, IWpfTableControlProvider controlProvider, ITableManagerProvider tableMangerProvider ) : base(data, controlProvider, tableMangerProvider) { }
public AnalyzerSettingsViewModel( ISettingsProvider <AnalyzerSetting> data, IWpfTableControlProvider controlProvider, ITableManagerProvider tableMangerProvider ) : base(data, controlProvider, tableMangerProvider) { }
public UnusedReferencesTableProvider( ITableManagerProvider tableMangerProvider, IWpfTableControlProvider tableControlProvider) { _tableManager = tableMangerProvider.GetTableManager(UnusedReferencesDataSource.Name); _tableControlProvider = tableControlProvider; _dataSource = new UnusedReferencesDataSource(); _tableManager.AddSource(_dataSource, UnusedReferencesColumnDefinitions.ColumnNames); }
protected SettingsViewModelBase(ISettingsProvider <T> data, IWpfTableControlProvider controlProvider, ITableManagerProvider tableMangerProvider) { _data = data; _controlProvider = controlProvider; _data.RegisterViewModel(this); _tableManager = tableMangerProvider.GetTableManager(Identifier); _snapshotFactory = CreateSnapshotFactory(_data); _ = _tableManager.AddSource(this); }
public BindingPaneControl(IServiceProvider serviceProvider, BindingPaneViewModel viewModel) { IComponentModel componentModel = serviceProvider.GetService <SComponentModel, IComponentModel>(); ITableManagerProvider tableManagerProvider = componentModel.GetService <ITableManagerProvider>(); IWpfTableControlProvider tableControlProvider = componentModel.GetService <IWpfTableControlProvider>(); this.ViewModel = viewModel; this.tableDataSource = new TableDataSource(this.ViewModel.Entries); this.tableManager = tableManagerProvider.GetTableManager(Constants.TableManagerString); this.tableManager.AddSource(this.tableDataSource, ColumnNames.DefaultSet.ToArray()); this.TableControl = tableControlProvider.CreateControl(this.tableManager, true, ColumnNames.DefaultSet.Select(n => new ColumnState2(n, isVisible: true, width: 0)), ColumnNames.DefaultSet.ToArray()); this.InitializeComponent(); this.tableHolder.Child = this.TableControl.Control; }
public SettingsEditorPane(IVsEditorAdaptersFactoryService vsEditorAdaptersFactoryService, IThreadingContext threadingContext, ISettingsAggregator settingsDataProviderService, IWpfTableControlProvider controlProvider, ITableManagerProvider tableMangerProvider, string fileName, IVsTextLines textBuffer, Workspace workspace) : base(null) { _vsEditorAdaptersFactoryService = vsEditorAdaptersFactoryService; _threadingContext = threadingContext; _settingsDataProviderService = settingsDataProviderService; _controlProvider = controlProvider; _tableMangerProvider = tableMangerProvider; _fileName = fileName; _textBuffer = textBuffer; _workspace = workspace; }
public WhitespaceViewModel(ISettingsProvider <WhitespaceSetting> data, IWpfTableControlProvider controlProvider, ITableManagerProvider tableMangerProvider) : base(data, controlProvider, tableMangerProvider) { }