C# Класс VSSonarExtensionUi.ViewModel.Configuration.PluginManagerModel

Наследование: IOptionsViewModelBase, IOptionsModelBase, IPluginManager
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
InitCommanding void
InitPluginList bool
OnSelectionChangeCommand void
SelectIssueTrackerPlugin void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

AssociateWithNewProject() публичный Метод

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
Результат void

AssociateWithNewProject() публичный Метод

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.
Результат void

GetAvailableModel() публичный Метод

Gets the available model, TODO: needs to be removed after viewmodels are split into models and view models
public GetAvailableModel ( ) : object
Результат object

GetIssueTrackerPlugin() публичный Метод

Gets the issue tracker plugin.
public GetIssueTrackerPlugin ( ) : IIssueTrackerPlugin
Результат IIssueTrackerPlugin

GetViewModel() публичный Метод

Gets the view model.
public GetViewModel ( ) : object
Результат object

OnConnectToSonar() публичный Метод

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.
Результат void

OnDisconnect() публичный Метод

Called when [disconnect].
public OnDisconnect ( ) : void
Результат void

OnInstallNewPlugin() публичный Метод

Gets or sets a value indicating whether install new plugin.
public OnInstallNewPlugin ( ) : void
Результат void

OnRemovePlugin() публичный Метод

Gets or sets a value indicating whether remove plugin.
public OnRemovePlugin ( ) : void
Результат void

OnSolutionClosed() публичный Метод

The end data association.
public OnSolutionClosed ( ) : void
Результат void

PluginManagerModel() публичный Метод

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.
Результат System

ReloadDataFromDisk() публичный Метод

The init data association.
public ReloadDataFromDisk ( Resource associatedProjectIn ) : void
associatedProjectIn Resource The associated project in.
Результат void

SaveData() публичный Метод

Saves the data.
public SaveData ( ) : void
Результат void

UpdateColours() публичный Метод

The update colours.
public UpdateColours ( Color background, Color foreground ) : void
background Color /// The background. ///
foreground Color /// The foreground. ///
Результат void

UpdateServices() публичный Метод

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.
Результат void