Beispiel #1
0
        void IncomingChangesViewMenu.IMetaMenuOperations.DiffYoursWithIncoming()
        {
            IncomingChangeInfo incomingChange = IncomingChangesSelection.
                                                GetSingleSelectedIncomingChange(mIncomingChangesTreeView);

            if (incomingChange == null)
            {
                return;
            }

            DiffYoursWithIncoming(
                mIncomingChangesTreeView.GetMetaChange(incomingChange),
                mWkInfo);
        }
Beispiel #2
0
        void IIncomingChangesViewMenuOperations.MergeKeepingWorkspaceChanges()
        {
            List <string> selectedPaths = IncomingChangesSelection.
                                          GetPathsFromSelectedFileConflictsIncludingMeta(
                mIncomingChangesTreeView);

            mMergeViewLogic.ProcessMerges(
                mPlasticClient,
                mSwitcher,
                mGuiMessage,
                selectedPaths,
                MergeContributorType.KeepDestination,
                Refresh.UnityAssetDatabase);
        }
Beispiel #3
0
        void IIncomingChangesViewMenuOperations.DiffIncomingChanges()
        {
            IncomingChangeInfo incomingChange = IncomingChangesSelection.
                                                GetSingleSelectedIncomingChange(mIncomingChangesTreeView);

            if (incomingChange == null)
            {
                return;
            }

            DiffIncomingChanges(
                incomingChange,
                mWkInfo);
        }
Beispiel #4
0
 SelectedIncomingChangesGroupInfo IIncomingChangesViewMenuOperations.GetSelectedIncomingChangesGroupInfo()
 {
     return(IncomingChangesSelection.GetSelectedGroupInfo(mIncomingChangesTreeView));
 }