C# Class VSSonarExtensionUi.ViewModel.Configuration.VSonarQubeOptionsViewModel

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

Private Properties

Свойство Type Description
InitCommanding void
InitModels void
OnApplyCommand void
OnCancelAndExitCommand void
OnResetAllChangesCommand void
OnSaveAndExitCommand void
UpdateTheme void

Méthodes publiques

Méthode Description
AssociateWithNewProject ( Resource projectIn, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

EstablishANewConnectionToServer ( ) : void

Establishes a new connection to server.

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.

InitPuginSystem ( IVsEnvironmentHelper helper, VSSonarPlugins.PluginController plugincontroller, INotificationManager manager ) : void

The init plugin system.

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

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnSolutionClosed ( ) : void

The end data association.

RefreshDiagnostics ( ) : void

Refreshes the diagnostics.

ResetUserData ( ) : void

The reset user data.

UpdateColours ( Color background, Color foreground ) : void

The update colors.

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

The update services.

VSonarQubeOptionsViewModel ( ISonarRestService service, IConfigurationHelper configurationHelper, INotificationManager notifier ) : System

Initializes a new instance of the VSonarQubeOptionsViewModel class.

Méthodes protégées

Méthode Description
OnRequestClose ( object arg1, object arg2 ) : void

The on request close.

Private Methods

Méthode Description
InitCommanding ( ) : void

The init commanding.

InitModels ( ) : void

The init models.

OnApplyCommand ( ) : void

The on apply command.

OnCancelAndExitCommand ( ) : void

The on cancel and exit command.

OnResetAllChangesCommand ( ) : void

The on reset all changes command.

OnSaveAndExitCommand ( ) : void

The on save and exit command.

UpdateTheme ( Color background, Color foreground ) : void

The update theme.

Method Details

AssociateWithNewProject() public méthode

Associates the with new project.
public AssociateWithNewProject ( Resource projectIn, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void
projectIn Resource The project in.
workingDir string The working dir.
provider ISourceControlProvider The provider.
profile Profile>.Dictionary The profile.
visualStudioVersion string
Résultat void

EstablishANewConnectionToServer() public méthode

Establishes a new connection to server.
public EstablishANewConnectionToServer ( ) : void
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

InitPuginSystem() public méthode

The init plugin system.
public InitPuginSystem ( IVsEnvironmentHelper helper, VSSonarPlugins.PluginController plugincontroller, INotificationManager manager ) : void
helper IVsEnvironmentHelper The helper.
plugincontroller VSSonarPlugins.PluginController The plugin controller.
manager INotificationManager The manager.
Résultat void

OnConnectToSonar() public méthode

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin sourcePlugin ) : void
configuration ISonarConfiguration The configuration.
availableProjects IEnumerable The available projects.
sourcePlugin IIssueTrackerPlugin The source control plugin.
Résultat void

OnDisconnect() public méthode

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

OnRequestClose() protected méthode

The on request close.
protected OnRequestClose ( object arg1, object arg2 ) : void
arg1 object The arg 1.
arg2 object The arg 2.
Résultat void

OnSolutionClosed() public méthode

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

RefreshDiagnostics() public méthode

Refreshes the diagnostics.
public RefreshDiagnostics ( ) : void
Résultat void

ResetUserData() public méthode

The reset user data.
public ResetUserData ( ) : void
Résultat void

UpdateColours() public méthode

The update colors.
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

VSonarQubeOptionsViewModel() public méthode

Initializes a new instance of the VSonarQubeOptionsViewModel class.
public VSonarQubeOptionsViewModel ( ISonarRestService service, IConfigurationHelper configurationHelper, INotificationManager notifier ) : System
service ISonarRestService The service.
configurationHelper IConfigurationHelper The configuration helper.
notifier INotificationManager The notifier.
Résultat System