internal QueryTab(IApplicationService applicationService, ServerList serverList, ConnectionInfo connectionInfo, SubscriptionManager subscriptionManager) : this() { ApplicationService = applicationService; ServerList = serverList; ConnectionInfo = connectionInfo; SubscriptionManager = subscriptionManager; }
internal TabsFactory(QueriesDockPanel dockPanel, IApplicationService applicationService, ServerList serverList, ConnectionsManager connectionsManager) { this.dockPanel = dockPanel; this.applicationService = applicationService; this.serverList = serverList; this.connectionsManager = connectionsManager; }
private void SetMetadataProvider() { IMetadataProvider provider; if (ServerList != null && ConnectionInfo != null && ServerList.TryGetProvider(ConnectionInfo, out provider)) { sciTextEditorControl1.SetMetadata(provider); } }
private void InitializeDockPanel() { this.serverList = new ServerList(); this.serverList.ConnectionAdded += ServerListOnConnectionAdded; this.serverList.ConnectionRemoved += ServerListOnConnectionRemoved; this.connectionsManager = new ConnectionsManager(this, this.serverList); var tabsFactory = new TabsFactory(this.filesDock, this, this.serverList, this.connectionsManager); this.filesDock.SetAplicationService(tabsFactory); this.filesDock.ActiveContentChanged += FilesDock_ActiveContentChanged; }
public ConnectionsManager(IApplicationService applicationService, ServerList serverList) { this.applicationService = applicationService; this.serverList = serverList; }