Пример #1
0
        public override void OnEnable()
        {
            base.OnEnable();

            minSize = maxSize = ActiveView.Size;
            ActiveView.OnEnable();
        }
Пример #2
0
        public override void OnEnable()
        {
            base.OnEnable();

            if (Repository != null)
                ValidateCachedData(Repository);

            if (ActiveView != null)
                ActiveView.OnEnable();

            if (spinner == null)
                spinner = new Spinner();

            ClearProgressMessage();
        }
Пример #3
0
        public override void OnEnable()
        {
            base.OnEnable();

#if DEVELOPER_BUILD
            Selection.activeObject = this;
#endif

            // Set window title
            titleContent = new GUIContent(Title, Styles.SmallLogo);

            if (ActiveView != null)
            {
                ActiveView.OnEnable();
            }
        }
Пример #4
0
        public override void OnEnable()
        {
            base.OnEnable();

#if DEVELOPER_BUILD
            Selection.activeObject = this;
#endif
            if (Repository != null)
            {
                Repository.CheckCurrentBranchAndRemoteChangedEvent(lastCurrentBranchAndRemoteChangedEvent);
            }

            if (ActiveView != null)
            {
                ActiveView.OnEnable();
            }
        }
Пример #5
0
        public override void OnEnable()
        {
            base.OnEnable();

#if DEVELOPER_BUILD
            Selection.activeObject = this;
#endif
            // Set window title
            titleContent = new GUIContent(Title, Styles.SmallLogo);

            if (Repository != null)
            {
                Repository.CheckCurrentBranchAndRemoteChangedEvent(lastCurrentBranchAndRemoteChangedEvent);
            }

            if (ActiveView != null)
            {
                ActiveView.OnEnable();
            }
        }
Пример #6
0
        public override void OnEnable()
        {
            base.OnEnable();

#if DEVELOPER_BUILD
            Selection.activeObject = this;
#endif
            if (Repository != null)
            {
                ValidateCachedData(Repository);
            }

            if (ActiveView != null)
            {
                ActiveView.OnEnable();
            }

            if (spinner == null)
            {
                spinner = new Spinner();
            }
        }