public SelectInBrowserMenuItem(IShell shell, TableBrowserViewModel browser, TableServiceViewModel service) { this.shell = shell; this.browser = browser; this.service = service; this.DisplayName = Resources.MenuItem_SelectInTableBrowser; }
public TableDataFinderViewModel(Authentication authentication, TableBrowserViewModel browser, ITableItemDescriptor descriptor) { this.authentication = authentication; this.browser = browser; this.findingTarget = descriptor == null ? PathUtility.Separator : descriptor.Path; this.descriptor = browser.GetDescriptor(this.findingTarget); this.DisplayName = Resources.Title_Find; }
public MainViewModel(IWindowManager manager) { _manager = manager; _accessor = null; Connected = false; QueryTab = new QueryViewModel(_manager, this); QueryTab.RequireUpdate += UpdateHandler; Browser = new TableBrowserViewModel(_manager, this); Browser.RequireUpdate += UpdateHandler; }
public TableServiceViewModel(Authenticator authenticator, ICremaAppHost cremaAppHost, IBrowserService browserService, TableDocumentServiceViewModel contentsService, IPropertyService propertyService, IAppConfiguration configs, Lazy <IShell> shell, TableBrowserViewModel browser) { this.authenticator = authenticator; this.cremaAppHost = cremaAppHost; this.cremaAppHost.Opened += CremaAppHost_Opened; this.cremaAppHost.Closed += CremaAppHost_Closed; this.cremaAppHost.Loaded += CremaAppHost_Loaded; this.cremaAppHost.Unloaded += CremaAppHost_Unloaded; this.cremaAppHost.Reset += CremaAppHost_Reset; this.BrowserService = browserService; this.DocumentService = contentsService; this.PropertyService = propertyService; this.configs = configs; this.shell = shell; this.DisplayName = Resources.Title_Tables; this.browser = browser; }
public void UpdateHandler( ) { Browser = new TableBrowserViewModel(_manager, this); Accessor.ResetAllLists( ); }