예제 #1
0
 void IWorkspaceWindow.RefreshWorkingObjectViews(
     ViewType viewType,
     WorkingObjectInfo workingObjectInfo)
 {
     mSwitcher.RefreshWorkingObjectInfoForSelectedView(
         viewType,
         workingObjectInfo);
 }
예제 #2
0
        internal void SetWorkingObjectInfo(WorkingObjectInfo homeInfo)
        {
            lock (mLock)
            {
                mLoadedBranchId = homeInfo.BranchInfo.BranchId;
            }

            mBranchesListView.SetLoadedBranchId(mLoadedBranchId);
        }
예제 #3
0
        internal void SetWorkingObjectInfo(WorkingObjectInfo homeInfo)
        {
            if (mIsGluonMode)
            {
                return;
            }

            lock (mLock)
            {
                mLoadedChangesetId = homeInfo.ChangesetId;
            }

            mChangesetsListView.SetLoadedChangesetId(mLoadedChangesetId);
        }
예제 #4
0
        internal void RefreshWorkingObjectInfoForSelectedView(
            ViewType viewType,
            WorkingObjectInfo homeInfo)
        {
            switch (viewType)
            {
            case ViewType.BranchesView:
                if (BranchesTab != null)
                {
                    BranchesTab.SetWorkingObjectInfo(homeInfo);
                }
                break;

            case ViewType.ChangesetsView:
                if (ChangesetsTab != null)
                {
                    ChangesetsTab.SetWorkingObjectInfo(homeInfo);
                }
                break;
            }
        }