void IWorkspaceWindow.RefreshWorkingObjectViews( ViewType viewType, WorkingObjectInfo workingObjectInfo) { mSwitcher.RefreshWorkingObjectInfoForSelectedView( viewType, workingObjectInfo); }
internal void SetWorkingObjectInfo(WorkingObjectInfo homeInfo) { lock (mLock) { mLoadedBranchId = homeInfo.BranchInfo.BranchId; } mBranchesListView.SetLoadedBranchId(mLoadedBranchId); }
internal void SetWorkingObjectInfo(WorkingObjectInfo homeInfo) { if (mIsGluonMode) { return; } lock (mLock) { mLoadedChangesetId = homeInfo.ChangesetId; } mChangesetsListView.SetLoadedChangesetId(mLoadedChangesetId); }
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; } }