Ejemplo n.º 1
0
        internal void OnDisable()
        {
            PlasticAssetsProcessor.UnRegisterViews();

            if (PendingChangesTab != null)
            {
                PendingChangesTab.OnDisable();
            }

            if (mIncomingChangesTab != null)
            {
                mIncomingChangesTab.OnDisable();
            }

            if (ChangesetsTab != null)
            {
                ChangesetsTab.OnDisable();
            }

            if (BranchesTab != null)
            {
                BranchesTab.OnDisable();
            }

            if (HistoryTab != null)
            {
                HistoryTab.OnDisable();
            }
        }
Ejemplo n.º 2
0
        void CloseBranchesTab()
        {
            BoolSetting.Save(false, UnityConstants.SHOW_BRANCHES_VIEW_KEY_NAME);

            ShowView(mPreviousSelectedTab);

            mViewHost.RemoveRefreshableView(
                ViewType.BranchesView, BranchesTab);

            BranchesTab.OnDisable();
            BranchesTab = null;

            mParentWindow.Repaint();
        }