Exemple #1
0
        public override void OnDataUpdate()
        {
            base.OnDataUpdate();
            MaybeUpdateData();

            if (ActiveView != null)
                ActiveView.OnDataUpdate();
        }
Exemple #2
0
 public override void OnDataUpdate()
 {
     base.OnDataUpdate();
     if (titleContent.image == null)
     {
         titleContent = new GUIContent(ActiveView.Title, Styles.SmallLogo);
     }
     ActiveView.OnDataUpdate();
 }
Exemple #3
0
        public override void OnDataUpdate()
        {
            base.OnDataUpdate();

            string repoRemote = null;

            if (MaybeUpdateData(out repoRemote))
            {
                repoBranchContent = new GUIContent(repoBranch, Window_RepoBranchTooltip);
                if (repoUrl != null)
                {
                    repoUrlContent = new GUIContent(repoUrl, string.Format(Window_RepoUrlTooltip, repoRemote));
                }
                else
                {
                    repoUrlContent = new GUIContent(repoUrl, Window_RepoNoUrlTooltip);
                }
            }

            if (ActiveView != null)
            {
                ActiveView.OnDataUpdate();
            }
        }
Exemple #4
0
 public override void OnDataUpdate()
 {
     base.OnDataUpdate();
     ActiveView.OnDataUpdate();
 }