C# Class Microsoft.VisualStudio.R.Package.Help.HelpOnCurrentCommandBase

Base class for 'Help On Current' type of commands.
Inheritance: Microsoft.VisualStudio.R.Package.Commands.PackageCommand
显示文件 Open project: Microsoft/RTVS

Protected Properties

Property Type Description
_textViewTracker IActiveWpfTextViewTracker
_workflow IRInteractiveWorkflow

Public Methods

Method Description
HelpOnCurrentCommandBase ( System.Guid group, int id, IRInteractiveWorkflow workflow, IActiveWpfTextViewTracker textViewTracker, IActiveRInteractiveWindowTracker activeReplTracker, string baseCommandName ) : System

Protected Methods

Method Description
GetActiveView ( ) : ITextView
GetItemUnderCaret ( ) : string
Handle ( ) : void
Handle ( string item ) : void
SetStatus ( ) : void

Method Details

GetActiveView() protected method

protected GetActiveView ( ) : ITextView
return ITextView

GetItemUnderCaret() protected method

protected GetItemUnderCaret ( ) : string
return string

Handle() protected method

protected Handle ( ) : void
return void

Handle() protected abstract method

protected abstract Handle ( string item ) : void
item string
return void

HelpOnCurrentCommandBase() public method

public HelpOnCurrentCommandBase ( System.Guid group, int id, IRInteractiveWorkflow workflow, IActiveWpfTextViewTracker textViewTracker, IActiveRInteractiveWindowTracker activeReplTracker, string baseCommandName ) : System
group System.Guid
id int
workflow IRInteractiveWorkflow
textViewTracker IActiveWpfTextViewTracker
activeReplTracker IActiveRInteractiveWindowTracker
baseCommandName string
return System

SetStatus() protected method

protected SetStatus ( ) : void
return void

Property Details

_textViewTracker protected_oe property

protected IActiveWpfTextViewTracker _textViewTracker
return IActiveWpfTextViewTracker

_workflow protected_oe property

protected IRInteractiveWorkflow _workflow
return IRInteractiveWorkflow