Method | Description | |
---|---|---|
AssociateWithNewProject ( Resource associatedProjectIn, string workingDir, ISourceControlProvider provider, Profile>.Dictionary |
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 ( |
The on changed.
|
|
OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable |
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.
|
Method | Description | |
---|---|---|
OnCoverageWasModified ( |
The on coverage was modified.
|
Method | Description | |
---|---|---|
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, |
Shows the hide left flyout.
|
public AssociateWithNewProject ( Resource associatedProjectIn, string workingDir, ISourceControlProvider provider, Profile>.Dictionary |
||
associatedProjectIn | Resource | The associated project in. |
workingDir | string | The working dir. |
provider | ISourceControlProvider | The provider. |
profile | Profile>.Dictionary | |
visualStudioVersion | string | |
return | void |
public GetCoverageInEditor ( string currentSourceBuffer ) : CoverageElement>.Dictionary |
||
currentSourceBuffer | string | /// The current source buffer. /// |
return | CoverageElement>.Dictionary |
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. |
return | List |
public OnAnalysisModeHasChange ( |
||
e | /// The e. /// | |
return | void |
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable |
||
configuration | ISonarConfiguration | sonar configuration |
availableProjects | IEnumerable |
|
issuePlugin | IIssueTrackerPlugin | |
return | void |
public OnCoverageInEditorEnabledChanged ( ) : void | ||
return | void |
protected OnCoverageWasModified ( |
||
e | The e. | |
return | void |
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 | |
return | void |
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. |
return | System |
public TriggerAProjectAnalysis ( VsProjectItem project ) : void | ||
project | VsProjectItem | The project. |
return | void |
public UpdateColours ( Color background, Color foreground ) : void | ||
background | Color | /// The background. /// |
foreground | Color | /// The foreground. /// |
return | void |
public UpdateOpenDiffWindowList ( string fullName ) : void | ||
fullName | string | The full name. |
return | void |
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBarIn, IServiceProvider provider ) : void | ||
vsenvironmenthelperIn | IVsEnvironmentHelper | The vsenvironmenthelper in. |
statusBarIn | IVSSStatusBar | The status bar in. |
provider | IServiceProvider | The provider. |
return | void |