C# Class Microsoft.R.Editor.Commands.RMainController

Main R editor command controller
Inheritance: Microsoft.Languages.Editor.Controller.ViewController
Exibir arquivo Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Attach ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : RMainController

Attaches command controller to the view and projected buffer

FromTextView ( ITextView textView ) : RMainController

Retrieves R command controller from text view

RMainController ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : System
Status ( System.Guid group, int id ) : CommandStatus

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes main controller and removes it from service manager.

Private Methods

Method Description
IsCompletionCommand ( System.Guid group, int id ) : bool

Determines if command is one of the completion commands

Method Details

Attach() public static method

Attaches command controller to the view and projected buffer
public static Attach ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : RMainController
textView ITextView
textBuffer ITextBuffer
shell ICoreShell
return RMainController

Dispose() protected method

Disposes main controller and removes it from service manager.
protected Dispose ( bool disposing ) : void
disposing bool
return void

FromTextView() public static method

Retrieves R command controller from text view
public static FromTextView ( ITextView textView ) : RMainController
textView ITextView
return RMainController

RMainController() public method

public RMainController ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : System
textView ITextView
textBuffer ITextBuffer
shell ICoreShell
return System

Status() public method

public Status ( System.Guid group, int id ) : CommandStatus
group System.Guid
id int
return CommandStatus