C# Class GitScc.StatusBar.GitStatusBarManager

Inheritance: IOleCommandTarget
Datei anzeigen Open project: jzoss/Git-Source-Control-Provider

Protected Methods

Method Description
GitStatusBarManager ( System.Guid commandSetGuid, int branchMenuCmId, int branchCommandMenuCmId, int repositoryCommandMenuCmId, IServiceContainer serviceProvider, IStatusBarService statusBarService ) : System
LoadBranchCommands ( List commands ) : System.Threading.Tasks.Task
LoadBranches ( List branchNames ) : System.Threading.Tasks.Task
LoadRepositoryCommands ( List commands ) : System.Threading.Tasks.Task
OnBranchCommandSelection ( string command ) : System.Threading.Tasks.Task
OnBranchSelection ( string command ) : System.Threading.Tasks.Task
OnRepositoryCommandSelection ( string command ) : System.Threading.Tasks.Task
UpdateBranchMenu ( ) : System.Threading.Tasks.Task
UpdateRepsitoryCommands ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
IOleCommandTarget ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
IOleCommandTarget ( System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
OnBranchCommandSelection ( object sender, EventArgs e ) : void
OnBranchSelection ( object sender, EventArgs e ) : void
OnRepositoryCommandSelection ( object sender, EventArgs e ) : void
TryParseBranchCommand ( uint cmdId, string &label ) : bool
TryParseBranchName ( uint cmdId, string &label ) : bool
TryParseCommandName ( Microsoft.VisualStudio.Shell.OleMenuCommand menuCommand, int cmId, MenuCommand>.List commands, string &commandText ) : bool
TryParseRepositoryCommand ( uint cmdId, string &label ) : bool

Method Details

GitStatusBarManager() protected method

protected GitStatusBarManager ( System.Guid commandSetGuid, int branchMenuCmId, int branchCommandMenuCmId, int repositoryCommandMenuCmId, IServiceContainer serviceProvider, IStatusBarService statusBarService ) : System
commandSetGuid System.Guid
branchMenuCmId int
branchCommandMenuCmId int
repositoryCommandMenuCmId int
serviceProvider IServiceContainer
statusBarService IStatusBarService
return System

LoadBranchCommands() protected method

protected LoadBranchCommands ( List commands ) : System.Threading.Tasks.Task
commands List
return System.Threading.Tasks.Task

LoadBranches() protected method

protected LoadBranches ( List branchNames ) : System.Threading.Tasks.Task
branchNames List
return System.Threading.Tasks.Task

LoadRepositoryCommands() protected method

protected LoadRepositoryCommands ( List commands ) : System.Threading.Tasks.Task
commands List
return System.Threading.Tasks.Task

OnBranchCommandSelection() protected abstract method

protected abstract OnBranchCommandSelection ( string command ) : System.Threading.Tasks.Task
command string
return System.Threading.Tasks.Task

OnBranchSelection() protected abstract method

protected abstract OnBranchSelection ( string command ) : System.Threading.Tasks.Task
command string
return System.Threading.Tasks.Task

OnRepositoryCommandSelection() protected abstract method

protected abstract OnRepositoryCommandSelection ( string command ) : System.Threading.Tasks.Task
command string
return System.Threading.Tasks.Task

UpdateBranchMenu() protected abstract method

protected abstract UpdateBranchMenu ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

UpdateRepsitoryCommands() protected abstract method

protected abstract UpdateRepsitoryCommands ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task