/// <summary> /// Override to specify which tool windows should be allowed. /// </summary> /// <param name="toolWindowInfo">meta data about the toolwindow in question. Generally, we just compare the GUID</param> /// <returns>true if it is allowed, false otherwise</returns> public override bool AllowToolWindow(IToolWindowTypeInfo toolWindowInfo) { if (ExamplePreferencePageController.HideEditor) { return(_allowedToolWindows.Contains(new Guid(toolWindowInfo.UniqueID))); } return(base.AllowToolWindow(toolWindowInfo)); }
public void Initialize(IToolWindowTypeInfo info) { }