C# Class VSSonarExtensionUi.Model.Helpers.NotifyCationManager

The notify cation manager.
Inheritance: INotificationManager, IModelBase
显示文件 Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Public Methods

Method Description
AssociateProjectToSolution ( string v1, string v2 ) : void

Associates the project to solution. TODO, to be removed

AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

ClearCache ( ) : void

Clears the cache.

EndedWorking ( ) : void

Endeds the working.

FlagFailure ( string v ) : void

Flags the failure.

GetViewModel ( ) : object

Gets the view model.

NotifyCationManager ( SonarQubeViewModel model, string visualStudioVersion ) : System

Initializes a new instance of the NotifyCationManager class.

OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnIssuesUpdated ( ) : void

Called when [issues updated].

OnNewIssuesUpdated ( ) : void

Called when [new issues updated].

OnSolutionClosed ( ) : void

The end data association.

RefreshDataForResource ( ) : void

Refreshes the data for resource.

RemoveMenuPlugin ( IMenuCommandPlugin menuPlugin ) : void

Removes the menu plugin.

ReportException ( Exception ex ) : void

The report exception.

ReportMessage ( Message messages ) : void

The report message.

ResetAndEstablishANewConnectionToServer ( ) : void

Resets the and establish a new connection to server.

ResetFailure ( ) : void

Resets the failure.

StartedWorking ( string busyMessage ) : void

Starteds the working.

UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider ) : void

Updates the services.

WriteException ( Exception ex ) : void

The write exception.

WriteMessage ( string msg ) : void

The write message.

Method Details

AssociateProjectToSolution() public method

Associates the project to solution. TODO, to be removed
public AssociateProjectToSolution ( string v1, string v2 ) : void
v1 string The v1.
v2 string The v2.
return void

AssociateWithNewProject() public method

Associates the with new project.
public AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void
project VSSonarPlugins.Types.Resource The project.
workingDir string The working dir.
provider ISourceControlProvider The provider.
profile Profile>.Dictionary
visualStudioVersion string
return void

ClearCache() public method

Clears the cache.
public ClearCache ( ) : void
return void

EndedWorking() public method

Endeds the working.
public EndedWorking ( ) : void
return void

FlagFailure() public method

Flags the failure.
public FlagFailure ( string v ) : void
v string The v.
return void

GetViewModel() public method

Gets the view model.
public GetViewModel ( ) : object
return object

NotifyCationManager() public method

Initializes a new instance of the NotifyCationManager class.
public NotifyCationManager ( SonarQubeViewModel model, string visualStudioVersion ) : System
model SonarQubeViewModel The model.
visualStudioVersion string The visual studio version.
return System

OnConnectToSonar() public method

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable
issuePlugin IIssueTrackerPlugin
return void

OnDisconnect() public method

Called when [disconnect].
public OnDisconnect ( ) : void
return void

OnIssuesUpdated() public method

Called when [issues updated].
public OnIssuesUpdated ( ) : void
return void

OnNewIssuesUpdated() public method

Called when [new issues updated].
public OnNewIssuesUpdated ( ) : void
return void

OnSolutionClosed() public method

The end data association.
public OnSolutionClosed ( ) : void
return void

RefreshDataForResource() public method

Refreshes the data for resource.
public RefreshDataForResource ( ) : void
return void

RemoveMenuPlugin() public method

Removes the menu plugin.
public RemoveMenuPlugin ( IMenuCommandPlugin menuPlugin ) : void
menuPlugin IMenuCommandPlugin The menu plugin.
return void

ReportException() public method

The report exception.
public ReportException ( Exception ex ) : void
ex System.Exception The ex.
return void

ReportMessage() public method

The report message.
public ReportMessage ( Message messages ) : void
messages VSSonarPlugins.Message The messages.
return void

ResetAndEstablishANewConnectionToServer() public method

Resets the and establish a new connection to server.
public ResetAndEstablishANewConnectionToServer ( ) : void
return void

ResetFailure() public method

Resets the failure.
public ResetFailure ( ) : void
return void

StartedWorking() public method

Starteds the working.
public StartedWorking ( string busyMessage ) : void
busyMessage string The busy message.
return void

UpdateServices() public method

Updates the services.
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider ) : void
vsenvironmenthelperIn IVsEnvironmentHelper The vsenvironmenthelper in.
statusBar IVSSStatusBar The status bar.
provider IServiceProvider The provider.
return void

WriteException() public method

The write exception.
public WriteException ( Exception ex ) : void
ex System.Exception /// The ex. ///
return void

WriteMessage() public method

The write message.
public WriteMessage ( string msg ) : void
msg string /// The msg. ///
return void