static private GetAllChanges ( Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTreeView treeView ) : List |
||
treeView | Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTreeView | |
Résultat | List |
void IPendingChangesMenuOperations.ApplyLocalChanges() { List <ChangeInfo> selectedChanges = PendingChangesSelection .GetSelectedChanges(mPendingChangesTreeView); if (selectedChanges.Count == 0) { return; } ApplyLocalChangesOperation operation = new ApplyLocalChangesOperation( mWkInfo, mPlasticClient, mPlasticClient, mProgressControls, mDeveloperNewIncomingChangesUpdater); operation.ApplyLocalChanges( selectedChanges, PendingChangesSelection.GetAllChanges(mPendingChangesTreeView)); }
void IPendingChangesMenuOperations.SearchMatches() { ChangeInfo selectedChange = PendingChangesSelection .GetSelectedChange(mPendingChangesTreeView); if (selectedChange == null) { return; } SearchMatchesOperation operation = new SearchMatchesOperation( mWkInfo, mPlasticClient, mPlasticClient, mProgressControls, mDeveloperNewIncomingChangesUpdater); operation.SearchMatches( selectedChange, PendingChangesSelection.GetAllChanges(mPendingChangesTreeView)); }