示例#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);

            HistoryView.InitializeView(this);
            ChangesView.InitializeView(this);
            BranchesView.InitializeView(this);
            SettingsView.InitializeView(this);
        }
示例#3
0
文件: Window.cs 项目: ped4735/Unity
        public override void Initialize(IApplicationManager applicationManager)
        {
            base.Initialize(applicationManager);

            if (!HasRepository && activeTab != SubTab.InitProject && activeTab != SubTab.Settings)
            {
                changeTab = activeTab = SubTab.InitProject;
            }

            HistoryView.InitializeView(this);
            ChangesView.InitializeView(this);
            BranchesView.InitializeView(this);
            SettingsView.InitializeView(this);
            InitProjectView.InitializeView(this);
        }
示例#4
0
        public override void Initialize(IApplicationManager applicationManager)
        {
            base.Initialize(applicationManager);

            if (!HasRepository && activeTab != SubTab.InitProject && activeTab != SubTab.Settings)
            {
                changeTab = activeTab = SubTab.InitProject;
            }

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

            titleContent = new GUIContent(Title, Styles.SmallLogo);
        }
示例#5
0
        public override void Initialize(IApplicationManager applicationManager)
        {
            base.Initialize(applicationManager);

            applicationManager.OnProgress += ApplicationManagerOnProgress;

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

            if (!HasRepository)
            {
                changeTab = activeTab = SubTab.InitProject;
            }
        }
示例#6
0
文件: Window.cs 项目: willofd02/Unity
        public override void Initialize(IApplicationManager applicationManager)
        {
            base.Initialize(applicationManager);

            applicationManager.OnProgress += OnProgress;

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

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

            if (!HasRepository)
            {
                //Logger.Trace("Initialize set all tabs to InitProject");
                changeTab = activeTab = SubTab.InitProject;
            }
        }