示例#1
0
        protected override void Execute(FunctionListWindow window)
        {
            if (window?.Frame == null || window.FunctionListControl == null)
            {
                return;
            }

            window.FunctionListControl.ClearSearch();
        }
示例#2
0
        protected override void Execute(FunctionListWindow window)
        {
            if (window?.Frame == null || window.FunctionListControl == null)
            {
                return;
            }

            window.FunctionListControl.ShowHideLineNumber();
        }
示例#3
0
        protected override void Execute(FunctionListWindow window)
        {
            if (window?.Frame == null || window.FunctionListControl == null)
            {
                return;
            }

            window.FunctionListControl.GoToSelectedItem();
        }
示例#4
0
        protected override void Execute(FunctionListWindow window)
        {
            if (window?.Frame == null)
            {
                throw new NotSupportedException("Cannot create function list window");
            }

            var windowFrame = (IVsWindowFrame)window.Frame;

            ErrorHandler.ThrowOnFailure(windowFrame.Show());
        }
示例#5
0
 protected abstract void Execute(FunctionListWindow window);