void UpdateFileConflictsTree( IncomingChangesTree incomingChangesTree, IncomingChangesTreeView incomingChangesTreeView) { UnityIncomingChangesTree unityIncomingChangesTree = null; IThreadWaiter waiter = ThreadWaiter.GetWaiter(10); waiter.Execute( /*threadOperationDelegate*/ delegate { unityIncomingChangesTree = UnityIncomingChangesTree.BuildIncomingChangeCategories( incomingChangesTree); incomingChangesTree.ResolveUserNames( new IncomingChangesTree.ResolveUserName()); }, /*afterOperationDelegate*/ delegate { incomingChangesTreeView.BuildModel(unityIncomingChangesTree); incomingChangesTreeView.Sort(); incomingChangesTreeView.Reload(); incomingChangesTreeView.SelectFirstUnsolvedDirectoryConflict(); }); }
void BuildComponents(WorkspaceInfo wkInfo) { IncomingChangesTreeHeaderState incomingChangesHeaderState = IncomingChangesTreeHeaderState.Default; TreeHeaderSettings.Load(incomingChangesHeaderState, UnityConstants.DEVELOPER_INCOMING_CHANGES_TABLE_SETTINGS_NAME, (int)IncomingChangesTreeColumn.Path, true); mIncomingChangesTreeView = new IncomingChangesTreeView( wkInfo, incomingChangesHeaderState, new IncomingChangesViewMenu(this, this)); mIncomingChangesTreeView.Reload(); }