C# 클래스 VSSonarExtensionUi.ViewModel.Analysis.ServerViewModel

상속: IAnalysisModelBase, IViewModelBase, IModelBase
파일 보기 프로젝트 열기: TrimbleSolutionsCorporation/VSSonarQubeExtension

공개 메소드들

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

The init data association.

ClearCache ( ) : void

The clear cache.

ClearIssues ( ) : void

Clears the issues.

GetAvailableModel ( ) : object

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

GetCoverageInEditor ( string currentSourceBuffer ) : CoverageElement>.Dictionary

The get coverage in editor.

GetIssuesForResource ( Resource file, string fileContent, bool &shownfalseandresolved ) : List

The get issues for resource.

GetViewModel ( ) : object

Gets the view model.

OnAnalysisModeHasChange ( EventArgs e ) : void

The on changed.

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

Called when [connect to sonar].

OnCoverageInEditorEnabledChanged ( ) : void

The on coverage in editor enabled changed.

OnDisconnect ( ) : void

Called when [disconnect].

OnSelectedViewChanged ( ) : void

The on selected view changed.

OnShowFlyoutsChanged ( ) : void

Called when [show flyouts changed].

OnSolutionClosed ( ) : void

The end data association.

RefreshDataForResource ( Resource res, string documentInView, string content, bool fromSource ) : void

The refresh data for resource.

ResetStats ( ) : void

Reset Stats.

ServerViewModel ( IVsEnvironmentHelper vsenvironmenthelper, IConfigurationHelper configurationHelper, ISonarRestService restservice, INotificationManager notificationManager, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : System

Initializes a new instance of the ServerViewModel class.

TriggerAProjectAnalysis ( VsProjectItem project ) : void

The trigger a project analysis.

UpdateColours ( Color background, Color foreground ) : void

The update colours.

UpdateOpenDiffWindowList ( string fullName ) : void

Updates the open difference window list.

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

The update services.

보호된 메소드들

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

The on coverage was modified.

비공개 메소드들

메소드 설명
CreateRowContextMenu ( ISonarRestService service, ISQKeyTranslator translator ) : ObservableCollection

The create row context menu.

InitCommanding ( ) : void

The init commanding.

OnCloseFlyoutIssueSearchCommand ( ) : void

The on close flyout issue search command.

OnDisplaySourceDiffCommand ( ) : void

The on display source diff command.

ShowHideLeftFlyout ( object sender, EventArgs e ) : void

Shows the hide left flyout.

메소드 상세

AssociateWithNewProject() 공개 메소드

The init data association.
public AssociateWithNewProject ( Resource associatedProjectIn, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void
associatedProjectIn Resource The associated project in.
workingDir string The working dir.
provider ISourceControlProvider The provider.
profile Profile>.Dictionary
visualStudioVersion string
리턴 void

ClearCache() 공개 메소드

The clear cache.
public ClearCache ( ) : void
리턴 void

ClearIssues() 공개 메소드

Clears the issues.
public ClearIssues ( ) : void
리턴 void

GetAvailableModel() 공개 메소드

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

GetCoverageInEditor() 공개 메소드

The get coverage in editor.
public GetCoverageInEditor ( string currentSourceBuffer ) : CoverageElement>.Dictionary
currentSourceBuffer string /// The current source buffer. ///
리턴 CoverageElement>.Dictionary

GetIssuesForResource() 공개 메소드

The get issues for resource.
public GetIssuesForResource ( Resource file, string fileContent, bool &shownfalseandresolved ) : List
file Resource The file.
fileContent string The file content.
shownfalseandresolved bool The shown false and resolved.
리턴 List

GetViewModel() 공개 메소드

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

OnAnalysisModeHasChange() 공개 메소드

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

OnConnectToSonar() 공개 메소드

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

OnCoverageInEditorEnabledChanged() 공개 메소드

The on coverage in editor enabled changed.
public OnCoverageInEditorEnabledChanged ( ) : void
리턴 void

OnCoverageWasModified() 보호된 메소드

The on coverage was modified.
protected OnCoverageWasModified ( EventArgs e ) : void
e System.EventArgs The e.
리턴 void

OnDisconnect() 공개 메소드

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

OnSelectedViewChanged() 공개 메소드

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

OnShowFlyoutsChanged() 공개 메소드

Called when [show flyouts changed].
public OnShowFlyoutsChanged ( ) : void
리턴 void

OnSolutionClosed() 공개 메소드

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

RefreshDataForResource() 공개 메소드

The refresh data for resource.
public RefreshDataForResource ( Resource res, string documentInView, string content, bool fromSource ) : void
res Resource /// The res. ///
documentInView string /// The document in view. ///
content string
fromSource bool
리턴 void

ResetStats() 공개 메소드

Reset Stats.
public ResetStats ( ) : void
리턴 void

ServerViewModel() 공개 메소드

Initializes a new instance of the ServerViewModel class.
public ServerViewModel ( IVsEnvironmentHelper vsenvironmenthelper, IConfigurationHelper configurationHelper, ISonarRestService restservice, INotificationManager notificationManager, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : System
vsenvironmenthelper IVsEnvironmentHelper The vsenvironmenthelper.
configurationHelper IConfigurationHelper The configuration helper.
restservice ISonarRestService The restservice.
notificationManager INotificationManager The notification manager.
translator ISQKeyTranslator The translator.
analyser ISonarLocalAnalyser The analyser.
리턴 System

TriggerAProjectAnalysis() 공개 메소드

The trigger a project analysis.
public TriggerAProjectAnalysis ( VsProjectItem project ) : void
project VsProjectItem The project.
리턴 void

UpdateColours() 공개 메소드

The update colours.
public UpdateColours ( Color background, Color foreground ) : void
background Color /// The background. ///
foreground Color /// The foreground. ///
리턴 void

UpdateOpenDiffWindowList() 공개 메소드

Updates the open difference window list.
public UpdateOpenDiffWindowList ( string fullName ) : void
fullName string The full name.
리턴 void

UpdateServices() 공개 메소드

The update services.
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBarIn, IServiceProvider provider ) : void
vsenvironmenthelperIn IVsEnvironmentHelper The vsenvironmenthelper in.
statusBarIn IVSSStatusBar The status bar in.
provider IServiceProvider The provider.
리턴 void