public static IncomingChangeSetAssets ( |
||
changeset | Incoming changeset. | |
return |
private void OnExpandIncoming(ChangeSet change, ListItem item) { if (Provider.isActive) { Task task = Provider.IncomingChangeSetAssets(change); task.userIdentifier = item.Identifier; task.SetCompletionAction(CompletionAction.OnChangeContentsPendingWindow); if (!item.HasChildren) { Asset asset = new Asset("Updating..."); ListItem listItem = this.incomingList.Add(item, asset.prettyPath, asset); listItem.Dummy = true; this.incomingList.Refresh(false); base.Repaint(); } } }
void OnExpandIncoming(ChangeSet change, ListItem item) { if (!Provider.isActive) { return; } Task task = Provider.IncomingChangeSetAssets(change); task.userIdentifier = item.Identifier; task.SetCompletionAction(CompletionAction.OnChangeContentsPendingWindow); if (!item.HasChildren) { Asset asset = new Asset("Updating..."); ListItem changeItem = incomingList.Add(item, asset.prettyPath, asset); changeItem.Dummy = true; incomingList.Refresh(false); //true here would cause recursion Repaint(); } }