GetAllChanges() static private method

static private GetAllChanges ( Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTreeView treeView ) : List
treeView Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTreeView
return List
Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }