C# Class VSSonarExtensionUi.ViewModel.Configuration.PluginManagerModel

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

Private Properties

Свойство Type Description
InitCommanding void
InitPluginList bool
OnSelectionChangeCommand void
SelectIssueTrackerPlugin void

Méthodes publiques

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

Associates the with new project.

AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider sourceModel, IIssueTrackerPlugin sourcePlugin, Profile>.Dictionary profile ) : void

Associates the with new project.

GetAvailableModel ( ) : object

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

GetIssueTrackerPlugin ( ) : IIssueTrackerPlugin

Gets the issue tracker plugin.

GetViewModel ( ) : object

Gets the view model.

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

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnInstallNewPlugin ( ) : void

Gets or sets a value indicating whether install new plugin.

OnRemovePlugin ( ) : void

Gets or sets a value indicating whether remove plugin.

OnSolutionClosed ( ) : void

The end data association.

PluginManagerModel ( IPluginController controller, IConfigurationHelper configurationHelper, INotificationManager notifyManager, IVsEnvironmentHelper helper ) : System

Initializes a new instance of the PluginManagerModel class.

ReloadDataFromDisk ( Resource associatedProjectIn ) : void

The init data association.

SaveData ( ) : void

Saves the data.

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
InitCommanding ( ) : void

The init commanding.

InitPluginList ( IVsEnvironmentHelper visualStudioHelper, IEnumerable files ) : bool

The init plugin list.

OnSelectionChangeCommand ( ) : void

The on selection change command.

SelectIssueTrackerPlugin ( ) : void

Selects the issue tracker plugin.

Method Details

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

AssociateWithNewProject() public méthode

Associates the with new project.
public AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider sourceModel, IIssueTrackerPlugin sourcePlugin, Profile>.Dictionary profile ) : void
project Resource The project.
workingDir string The working dir.
sourceModel ISourceControlProvider The source model.
sourcePlugin IIssueTrackerPlugin The source plugin.
profile Profile>.Dictionary The profile.
Résultat void

GetAvailableModel() public méthode

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

GetIssueTrackerPlugin() public méthode

Gets the issue tracker plugin.
public GetIssueTrackerPlugin ( ) : IIssueTrackerPlugin
Résultat IIssueTrackerPlugin

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

OnInstallNewPlugin() public méthode

Gets or sets a value indicating whether install new plugin.
public OnInstallNewPlugin ( ) : void
Résultat void

OnRemovePlugin() public méthode

Gets or sets a value indicating whether remove plugin.
public OnRemovePlugin ( ) : void
Résultat void

OnSolutionClosed() public méthode

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

PluginManagerModel() public méthode

Initializes a new instance of the PluginManagerModel class.
public PluginManagerModel ( IPluginController controller, IConfigurationHelper configurationHelper, INotificationManager notifyManager, IVsEnvironmentHelper helper ) : System
controller IPluginController The controller.
configurationHelper IConfigurationHelper The configuration helper.
notifyManager INotificationManager The notify manager.
helper IVsEnvironmentHelper The helper.
Résultat System

ReloadDataFromDisk() public méthode

The init data association.
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

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 vsenvironmenthelper in.
statusBar IVSSStatusBar The status bar.
provider IServiceProvider The provider.
Résultat void