C# 클래스 VSSonarExtensionUi.ViewModel.Configuration.GeneralConfigurationViewModel

상속: IOptionsViewModelBase, IOptionsModelBase
파일 보기 프로젝트 열기: TrimbleSolutionsCorporation/VSSonarQubeExtension

공개 메소드들

메소드 설명
AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

GeneralConfigurationViewModel ( VSonarQubeOptionsViewModel viewModel, ISonarRestService restService, IConfigurationHelper configurationHelper, INotificationManager notificationManager ) : System

Initializes a new instance of the GeneralConfigurationViewModel class.

GetAvailableModel ( ) : object

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

GetViewModel ( ) : object

Gets the view model.

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

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnExtensionDebugModeEnabledChanged ( ) : void

The on extension debug mode enabled changed.

OnIsConnectAtStarOnChanged ( ) : void

The on is connect at star on changed.

OnSelectedViewChanged ( ) : void

The on selected view changed.

OnServerAddressChanged ( ) : void

Called when [server address changed].

OnSolutionClosed ( ) : void

The end data association.

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

Updates the services.

보호된 메소드들

메소드 설명
OnAnalysisModeHasChange ( EventArgs e ) : void

The on changed.

비공개 메소드들

메소드 설명
GetCredentials ( ) : void

The get credentials.

OnClearCacheCommand ( object data ) : void

The on clear cache command.

OnClearCredentials ( object data ) : void

The on clear credentials.

OnConnectToServerCommand ( object obj ) : void

Called when [connect to server command].

OnGetTokenCommand ( object obj ) : void
OnTestAndSavePassword ( object obj ) : void

The on test and save password.

SetCredentials ( string userName, string password ) : void

The set credentials.

메소드 상세

AssociateWithNewProject() 공개 메소드

Associates the with new project.
public AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void
project Resource The project.
workingDir string The working dir.
provider ISourceControlProvider The provider.
profile Profile>.Dictionary The profile.
visualStudioVersion string
리턴 void

GeneralConfigurationViewModel() 공개 메소드

Initializes a new instance of the GeneralConfigurationViewModel class.
public GeneralConfigurationViewModel ( VSonarQubeOptionsViewModel viewModel, ISonarRestService restService, IConfigurationHelper configurationHelper, INotificationManager notificationManager ) : System
viewModel VSonarQubeOptionsViewModel The view model.
restService ISonarRestService The rest service.
configurationHelper IConfigurationHelper The configuration helper.
notificationManager INotificationManager The notification manager.
리턴 System

GetAvailableModel() 공개 메소드

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

GetViewModel() 공개 메소드

Gets the view model.
public GetViewModel ( ) : object
리턴 object

OnAnalysisModeHasChange() 보호된 메소드

The on changed.
protected OnAnalysisModeHasChange ( EventArgs e ) : void
e System.EventArgs /// The e. ///
리턴 void

OnConnectToSonar() 공개 메소드

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin plugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable
plugin IIssueTrackerPlugin
리턴 void

OnDisconnect() 공개 메소드

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

OnExtensionDebugModeEnabledChanged() 공개 메소드

The on extension debug mode enabled changed.
public OnExtensionDebugModeEnabledChanged ( ) : void
리턴 void

OnIsConnectAtStarOnChanged() 공개 메소드

The on is connect at star on changed.
public OnIsConnectAtStarOnChanged ( ) : void
리턴 void

OnSelectedViewChanged() 공개 메소드

The on selected view changed.
public OnSelectedViewChanged ( ) : void
리턴 void

OnServerAddressChanged() 공개 메소드

Called when [server address changed].
public OnServerAddressChanged ( ) : void
리턴 void

OnSolutionClosed() 공개 메소드

The end data association.
public OnSolutionClosed ( ) : void
리턴 void

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() 공개 메소드

Updates the 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