public virtual bool BeforeQueryStatus(object sender, EventArgs e)
        {
            var    menuCommand         = sender as MenuCommand;
            string selectedPath        = GetSelectedLocalPath();
            bool   isVersionControlled = Locater.IsVersionControlled(selectedPath);

            return(isVersionControlled);
        }
        public virtual void Execute(object sender, EventArgs e)
        {
            string selectedPath = GetSelectedLocalPath();

            Locater.Locate(selectedPath);
        }
 public override string GetSelectedLocalPath()
 {
     return(Locater.GetSelectedPathFromActiveDocument());
 }
Beispiel #4
0
 public override string GetSelectedLocalPath()
 {
     return(Locater.GetSelectedPathFromSolutionExplorer());
 }