C# Class VSSonarExtensionUi.ViewModel.Configuration.AnalysisOptionsViewModel

Inheritance: IOptionsViewModelBase, IOptionsModelBase
Exibir arquivo Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension Class Usage Examples

Public Properties

Property Type Description
DefautValueSonarSources string
MinimumVersion string

Private Properties

Property Type Description
InstallTools void
OnDownloadWrapperCommand void
OnDownloadWrapperStartup void

Public Methods

Method Description
AnalysisOptionsViewModel ( VSonarQubeOptionsViewModel viewModel, IConfigurationHelper configurationHelper ) : System

Initializes a new instance of the AnalysisOptionsViewModel class.

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

Associates the with new project.

GetAvailableModel ( ) : object

Gets the available model, TODO: needs to be removed after view models are split into models and view models

GetViewModel ( ) : object

Gets the view model.

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

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnSolutionClosed ( ) : void

The end data association.

ReloadDataFromDisk ( Resource associatedProjectIn ) : void

The refresh properties in view.

SaveData ( ) : void

Saves the data.

SetGeneralOptions ( ) : void

The set options.

UpdateColours ( Color background, Color foreground ) : void

The update colours.

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

The update services.

Private Methods

Method Description
InstallTools ( string cxxwrapper ) : void

Installs the tools.

OnDownloadWrapperCommand ( ) : void

Called when [download wrapper command].

OnDownloadWrapperStartup ( ) : void

Called when [download wrapper command].

Method Details

AnalysisOptionsViewModel() public method

Initializes a new instance of the AnalysisOptionsViewModel class.
public AnalysisOptionsViewModel ( VSonarQubeOptionsViewModel viewModel, IConfigurationHelper configurationHelper ) : System
viewModel VSonarQubeOptionsViewModel The view Model.
configurationHelper IConfigurationHelper The configuration helper.
return System

AssociateWithNewProject() public method

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

GetAvailableModel() public method

Gets the available model, TODO: needs to be removed after view models are split into models and view models
public GetAvailableModel ( ) : object
return object

GetViewModel() public method

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

OnConnectToSonar() public method

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

OnDisconnect() public method

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

OnSolutionClosed() public method

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

ReloadDataFromDisk() public method

The refresh properties in view.
public ReloadDataFromDisk ( Resource associatedProjectIn ) : void
associatedProjectIn Resource The associated project in.
return void

SaveData() public method

Saves the data.
public SaveData ( ) : void
return void

SetGeneralOptions() public method

The set options.
public SetGeneralOptions ( ) : void
return void

UpdateColours() public method

The update colours.
public UpdateColours ( Color background, Color foreground ) : void
background Color /// The background. ///
foreground Color /// The foreground. ///
return void

UpdateServices() public method

The update services.
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider ) : void
vsenvironmenthelperIn IVsEnvironmentHelper The vs environment helper in.
statusBar IVSSStatusBar The status bar.
provider IServiceProvider The provider.
return void

Property Details

DefautValueSonarSources public_oe static_oe property

The default value sonar sources.
public static string DefautValueSonarSources
return string

MinimumVersion public_oe static_oe property

The minimum version
public static string MinimumVersion
return string