예제 #1
0
        public override void Initialize(IApplicationManager applicationManager)
        {
            base.Initialize(applicationManager);

            gitExecutableIsSet = !string.IsNullOrEmpty(Environment.GitExecutablePath);
            if (gitExecutableIsSet)
            {
                if (!HasRepository)
                {
                    if (activeTab == SubTab.Loading)
                    {
                        Logger.Trace("Initialze set all tabs to InitProject");
                        changeTab = activeTab = SubTab.InitProject;
                    }
                }
            }

            LoadingView.InitializeView(this);
            HistoryView.InitializeView(this);
            ChangesView.InitializeView(this);
            BranchesView.InitializeView(this);
            SettingsView.InitializeView(this);
            InitProjectView.InitializeView(this);

            titleContent = new GUIContent(Title, Styles.SmallLogo);
        }
예제 #2
0
        public override void Initialize(IApplicationManager applicationManager)
        {
            base.Initialize(applicationManager);

            publishView        = publishView ?? new PublishView();
            authenticationView = authenticationView ?? new AuthenticationView();
            loadingView        = loadingView ?? new LoadingView();

            publishView.InitializeView(this);
            authenticationView.InitializeView(this);
            loadingView.InitializeView(this);
        }
예제 #3
0
        public override void Initialize(IApplicationManager applicationManager)
        {
            base.Initialize(applicationManager);

            publishView        = publishView ?? new PublishView();
            authenticationView = authenticationView ?? new AuthenticationView();
            loadingView        = loadingView ?? new LoadingView();

            publishView.InitializeView(this);
            authenticationView.InitializeView(this);
            loadingView.InitializeView(this);

            titleContent = new GUIContent(ActiveView.Title, Styles.SmallLogo);
        }