C# Class SonarLint.VisualStudio.Integration.TeamExplorer.SectionController

Inheritance: TeamExplorerSectionBase, ISectionController
Exibir arquivo Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Private Properties

Property Type Description
CanDisconnect bool
CanExecBrowseToProjectDashboard bool
CanExecBrowseToUrl bool
CanToggleShowAllProjects bool
CleanControllerCommands void
CleanProvidedCommands void
Disconnect void
ExecBrowseToProjectDashboard void
ExecBrowseToUrl void
InitializeControllerCommands void
InitializeProvidedCommands void
OnIsBusyChanged void
SectionController Microsoft.TeamFoundation.Client.CommandTarget
SyncCommands void
ToggleShowAllProjects void

Public Methods

Method Description
Dispose ( ) : void
Initialize ( object sender, SectionInitializeEventArgs e ) : void
Refresh ( ) : void

Protected Methods

Method Description
CreateView ( SectionInitializeEventArgs e ) : object
CreateViewModel ( SectionInitializeEventArgs e ) : ITeamExplorerSection
IOleCommandTargetQueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int

Delegate QueryStatus to commands

Private Methods

Method Description
CanDisconnect ( ) : bool
CanExecBrowseToProjectDashboard ( ProjectViewModel project ) : bool
CanExecBrowseToUrl ( string url ) : bool
CanToggleShowAllProjects ( ServerViewModel server ) : bool
CleanControllerCommands ( ) : void
CleanProvidedCommands ( ) : void
Disconnect ( ) : void
ExecBrowseToProjectDashboard ( ProjectViewModel project ) : void
ExecBrowseToUrl ( string url ) : void
InitializeControllerCommands ( ) : void
InitializeProvidedCommands ( ) : void
OnIsBusyChanged ( object sender, bool isBusy ) : void
SectionController ( IHost host, IWebBrowser webBrowser ) : Microsoft.TeamFoundation.Client.CommandTarget
SyncCommands ( ) : void
ToggleShowAllProjects ( ServerViewModel server ) : void

Method Details

CreateView() protected method

protected CreateView ( SectionInitializeEventArgs e ) : object
e SectionInitializeEventArgs
return object

CreateViewModel() protected method

protected CreateViewModel ( SectionInitializeEventArgs e ) : ITeamExplorerSection
e SectionInitializeEventArgs
return ITeamExplorerSection

Dispose() public method

public Dispose ( ) : void
return void

IOleCommandTargetQueryStatus() protected method

Delegate QueryStatus to commands
protected IOleCommandTargetQueryStatus ( System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
pguidCmdGroup System.Guid
cCmds uint
prgCmds OLECMD
pCmdText System.IntPtr
return int

Initialize() public method

public Initialize ( object sender, SectionInitializeEventArgs e ) : void
sender object
e SectionInitializeEventArgs
return void

Refresh() public method

public Refresh ( ) : void
return void