public static void Draw(MaintainerWindow parentWindow)
        {
            if (issues == null)
            {
                LoadLastIssues();
            }

            window = parentWindow;

            GUILayout.BeginHorizontal();
            DrawSettingsSection();
            DrawSearchSection();
            GUILayout.EndHorizontal();

            if (gotoIssue != null)
            {
                ShowIssue(gotoIssue);
                gotoIssue = null;
            }

            if (startSearch)
            {
                startSearch = false;
                window.RemoveNotification();
                IssuesFinder.StartSearch();
                window.Focus();
            }
        }
Example #2
0
        public static MaintainerWindow Create()
        {
            windowInstance = GetWindow <MaintainerWindow>(false, "Maintainer", true);
            windowInstance.titleContent = new GUIContent(" Maintainer", CSIcons.Maintainer);
            windowInstance.Focus();

            return(windowInstance);
        }
        public static MaintainerWindow Create()
        {
            MaintainerWindow window = GetWindow <MaintainerWindow>("Maintainer");

            window.minSize = new Vector2(640f, 480f);
            window.Focus();
            currentTab = MaintainerSettings.Instance.selectedTabIndex;

            IssuesTab.Refresh();

            return(window);
        }
Example #4
0
 private void StartProjectReferencesScan()
 {
     window.RemoveNotification();
     ReferencesFinder.GetReferences();
     window.Focus();
 }