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

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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Disposes main controller and removes it from service manager.

Private Methods

Méthode Description
IsCompletionCommand ( System.Guid group, int id ) : bool

Determines if command is one of the completion commands

Method Details

Attach() public static méthode

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
Résultat RMainController

Dispose() protected méthode

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

FromTextView() public static méthode

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

RMainController() public méthode

public RMainController ( ITextView textView, ITextBuffer textBuffer, ICoreShell shell ) : System
textView ITextView
textBuffer ITextBuffer
shell ICoreShell
Résultat System

Status() public méthode

public Status ( System.Guid group, int id ) : CommandStatus
group System.Guid
id int
Résultat CommandStatus