C# Class PReview.GitDiffMarginCommandHandler

Inheritance: TextViewCommandFilter
Afficher le fichier Open project: laurentkempe/PReview

Méthodes publiques

Méthode Description
GitDiffMarginCommandHandler ( Microsoft.VisualStudio.TextManager.Interop.IVsTextView textViewAdapter, IVsEditorAdaptersFactoryService editorAdaptersFactoryService, ITextView textView ) : System

Méthodes protégées

Méthode Description
HandlePreExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, IntPtr pvaIn, IntPtr pvaOut ) : bool
QueryCommandStatus ( System.Guid &commandGroup, uint commandId ) : Microsoft.VisualStudio.OLE.Interop.OLECMDF

Private Methods

Méthode Description
CompareToHead ( ) : void
CompareToIndex ( ) : void
GetDiffViewModelToMoveTo ( uint commandId, DiffMarginViewModelBase viewModel ) : EditorDiffViewModel
ToggleCompareToIndex ( ) : void
TryGetMarginViewModel ( EditorDiffMarginViewModel &viewModel ) : bool

Method Details

GitDiffMarginCommandHandler() public méthode

public GitDiffMarginCommandHandler ( Microsoft.VisualStudio.TextManager.Interop.IVsTextView textViewAdapter, IVsEditorAdaptersFactoryService editorAdaptersFactoryService, ITextView textView ) : System
textViewAdapter Microsoft.VisualStudio.TextManager.Interop.IVsTextView
editorAdaptersFactoryService IVsEditorAdaptersFactoryService
textView ITextView
Résultat System

HandlePreExec() protected méthode

protected HandlePreExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, IntPtr pvaIn, IntPtr pvaOut ) : bool
commandGroup System.Guid
commandId uint
executionOptions Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT
pvaIn System.IntPtr
pvaOut System.IntPtr
Résultat bool

QueryCommandStatus() protected méthode

protected QueryCommandStatus ( System.Guid &commandGroup, uint commandId ) : Microsoft.VisualStudio.OLE.Interop.OLECMDF
commandGroup System.Guid
commandId uint
Résultat Microsoft.VisualStudio.OLE.Interop.OLECMDF