C# Class VSSonarExtensionUi.ViewModel.Configuration.AnalysisOptionsViewModel

Inheritance: IOptionsViewModelBase, IOptionsModelBase
Afficher le fichier Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension Class Usage Examples

Méthodes publiques

Свойство Type Description
DefautValueSonarSources string
MinimumVersion string

Private Properties

Свойство Type Description
InstallTools void
OnDownloadWrapperCommand void
OnDownloadWrapperStartup void

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat System

AssociateWithNewProject() public méthode

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
Résultat void

GetAvailableModel() public méthode

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

GetViewModel() public méthode

Gets the view model.
public GetViewModel ( ) : object
Résultat object

OnConnectToSonar() public méthode

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.
Résultat void

OnDisconnect() public méthode

Called when [disconnect].
public OnDisconnect ( ) : void
Résultat void

OnSolutionClosed() public méthode

The end data association.
public OnSolutionClosed ( ) : void
Résultat void

ReloadDataFromDisk() public méthode

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

SaveData() public méthode

Saves the data.
public SaveData ( ) : void
Résultat void

SetGeneralOptions() public méthode

The set options.
public SetGeneralOptions ( ) : void
Résultat void

UpdateColours() public méthode

The update colours.
public UpdateColours ( Color background, Color foreground ) : void
background Color /// The background. ///
foreground Color /// The foreground. ///
Résultat void

UpdateServices() public méthode

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.
Résultat void

Property Details

DefautValueSonarSources public_oe static_oe property

The default value sonar sources.
public static string DefautValueSonarSources
Résultat string

MinimumVersion public_oe static_oe property

The minimum version
public static string MinimumVersion
Résultat string