GetSelectedMetaPaths() static private method

static private GetSelectedMetaPaths ( Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTreeView treeView ) : List
treeView Unity.PlasticSCM.Editor.Views.PendingChanges.PendingChangesTreeView
return List
Beispiel #1
0
        void PendingChangesViewMenu.IMetaMenuOperations.OpenMeta()
        {
            List <string> selectedPaths = PendingChangesSelection
                                          .GetSelectedMetaPaths(mPendingChangesTreeView);

            FileSystemOperation.Open(selectedPaths);
        }
Beispiel #2
0
        void PendingChangesViewMenu.IMetaMenuOperations.OpenMetaInExplorer()
        {
            List <string> selectedPaths = PendingChangesSelection
                                          .GetSelectedMetaPaths(mPendingChangesTreeView);

            if (selectedPaths.Count < 1)
            {
                return;
            }

            FileSystemOperation.OpenInExplorer(selectedPaths[0]);
        }