private void ShowConfluenceListToolWindow(object sender, EventArgs e) { ConfluenceToolWindow toolWindow = (ConfluenceToolWindow)this.FindToolWindow(typeof(ConfluenceToolWindow), 0, true); IVsWindowFrame windowFrame = (IVsWindowFrame)toolWindow.Frame; ErrorHandler.ThrowOnFailure(windowFrame.Show()); }
public ConfluenceToolWindowNavigatorViewModel(ConfluenceToolWindow parent) { this._parent = parent; this._historyNavigator = new HistoryNavigator(); _service = ConfluencePackage.Mcs; this._oAuthService = new OAuthService(); SettingsManager settingsManager = new ShellSettingsManager(ServiceProvider.GlobalProvider); this._userSettingsStore = settingsManager.GetWritableSettingsStore(SettingsScope.UserSettings); InitializeCommands(_service); }