C# Class VSSonarExtensionUi.ViewModel.Configuration.VSonarQubeOptionsViewModel

Inheritance: IOptionsViewModelBase, IModelBase
显示文件 Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension Class Usage Examples

Private Properties

Property Type Description
InitCommanding void
InitModels void
OnApplyCommand void
OnCancelAndExitCommand void
OnResetAllChangesCommand void
OnSaveAndExitCommand void
UpdateTheme void

Public Methods

Method 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.

Protected Methods

Method Description
OnRequestClose ( object arg1, object arg2 ) : void

The on request close.

Private Methods

Method 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 method

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
return void

EstablishANewConnectionToServer() public method

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

InitPuginSystem() public method

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.
return void

OnConnectToSonar() public method

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.
return void

OnDisconnect() public method

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

OnRequestClose() protected method

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

OnSolutionClosed() public method

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

RefreshDiagnostics() public method

Refreshes the diagnostics.
public RefreshDiagnostics ( ) : void
return void

ResetUserData() public method

The reset user data.
public ResetUserData ( ) : void
return void

UpdateColours() public method

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

VSonarQubeOptionsViewModel() public method

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.
return System