Свойство | Тип | Описание | |
---|---|---|---|
FullAnalysisHasCompleted | void | ||
InitCommands | void | ||
InitMenus | void | ||
InitViewsAndModels | void | ||
OnAssignProjectCommand | void | ||
OnClearCacheCommand | void | ||
OnCloseRightFlyoutCommand | void | ||
OnConnectCommand | void | ||
OnProvisionProjectCommand | void | ||
OnSelectedProjectInViewChanged | void | ||
OnShowNewLocalIssuesCommand | void | ||
PreviewAnalysisHasCompleted | void | ||
ProvisionProject | void | ||
ResetIssuesInViews | void | ||
RunFullAnalysisAfterAssociation | void | ||
RunPreviewAnalysisAfterAssociation | void | ||
SetupAssociationMessages | void |
Метод | Описание | |
---|---|---|
AddANewMenu ( IMenuCommandPlugin toAdd ) : void |
The add a new menu.
|
|
CanCloseSolution ( ) : int |
Determines whether this instance [can close solution].
|
|
ClosedWindow ( string fullName ) : void |
The closed window.
|
|
ExecutePlugin ( string header ) : void |
The execute plugin.
|
|
GetCoverageInEditor ( string buffer ) : CoverageElement>.Dictionary |
The get coverage in editor.
|
|
GetFirstFreeId ( ) : int |
The get first free id.
|
|
GetIssuesInEditor ( Resource fileResource, string fileContent, bool &showfalseandresolved ) : List |
The get issues in editor.
|
|
InitModelFromPackageInitialization ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider, string extensionFolder ) : void |
The extension data viewModel update.
|
|
IsRunningInVisualStudio ( ) : bool |
The is running in visual studio.
|
|
LaunchExtensionProperties ( ) : void |
The launch extension properties.
|
|
OnConnectToSonar ( bool useDispatcher ) : void |
The connect to sonar.
|
|
OnConnectToSonarCommand ( ) : void |
Called when [connect to sonar command].
|
|
OnDisconnectToSonar ( ) : void |
The on disconnect to sonar.
|
|
OnIssuesChangeEvent ( ) : void |
The on issues change event.
|
|
OnSelectedViewModelChanged ( ) : void |
The on selected view changed.
|
|
OnSolutionClosed ( ) : void |
Called when [solution closed].
|
|
OnSolutionOpen ( string solutionName, string solutionPath, string fileInView, ISourceControlProvider sourceProvider = null ) : void |
Called when [solution open].
|
|
ProjectHasBuild ( VsProjectItem project ) : void |
Projects the has build.
|
|
RefreshDataForResource ( ) : void |
Refreshes the data for resource.
|
|
RefreshDataForResource ( string fullName, string contentoffile, bool fromSave ) : void |
The refresh data for resource.
|
|
RefreshNewListOfIssues ( ) : void |
Refreshes the new list of issues.
|
|
RefreshProjectList ( bool useDispatcher ) : void |
Refreshes the project list.
|
|
RegisterNewViewModelInPool ( IViewModelBase viewModel ) : void |
Registers the new view model in pool.
|
|
RemoveMenuPlugin ( IMenuCommandPlugin toRemove ) : void |
The remove menu plugin.
|
|
ResetAndEstablishANewConnectionToServer ( ) : void |
Resets the and establish a new connection to server.
|
|
SelectBranchFromList ( ) : Resource |
Selects the branch from list.
|
|
SonarQubeViewModel ( ) : System |
Initializes a new instance of the SonarQubeViewModel class.
|
|
SonarQubeViewModel ( string vsverionIn, IConfigurationHelper configurationHelperIn ) : System |
Initializes a new instance of the SonarQubeViewModel class. Plugins are initialized in InitModelFromPackageInitialization below
|
|
SonarQubeViewModel ( string vsverionIn, IConfigurationHelper helper, INotificationManager notification, ISQKeyTranslator translator, ISonarRestService restService, ISourceControlProvider sourceControl = null, IPluginManager pluginManager = null, ISonarLocalAnalyser locaAnalyser = null ) : System |
Initializes a new instance of the SonarQubeViewModel class.
|
|
StartAnalysisWindow ( AnalysisTypes mode, bool fromSave ) : void |
Starts the analysis window.
|
|
UpdateColours ( Color background, Color foreground ) : void |
The update colours.
|
|
UpdateTheme ( Color background, Color foreground ) : void |
The update theme.
|
Метод | Описание | |
---|---|---|
OnAnalysisModeHasChange ( |
The on changed.
|
|
OnPluginRequest ( |
The on plugin request.
|
|
OnRemovePluginRequest ( |
The on remove plugin request.
|
Метод | Описание | |
---|---|---|
FullAnalysisHasCompleted ( object sender, |
Fulls the analysis has completed.
|
|
InitCommands ( ) : void |
The init commands.
|
|
InitMenus ( ) : void |
The init menus.
|
|
InitViewsAndModels ( ) : void |
The init views.
|
|
OnAssignProjectCommand ( ) : void |
The on assign project command.
|
|
OnClearCacheCommand ( ) : void |
The on clear cache command.
|
|
OnCloseRightFlyoutCommand ( ) : void |
The on close flyout issue search command.
|
|
OnConnectCommand ( ) : void |
The on connect command.
|
|
OnProvisionProjectCommand ( ) : void |
Called when [provision project command].
|
|
OnSelectedProjectInViewChanged ( ) : void |
Called when [selected project changed].
|
|
OnShowNewLocalIssuesCommand ( ) : void |
Called when [show new local issues command].
|
|
PreviewAnalysisHasCompleted ( object sender, |
Previews the analysis has completed.
|
|
ProvisionProject ( bool confirmAnalysis ) : void |
Provisions the project.
|
|
ResetIssuesInViews ( ) : void |
Resets the issues in views.
|
|
RunFullAnalysisAfterAssociation ( object sender, |
Runs the full analysis after association.
|
|
RunPreviewAnalysisAfterAssociation ( object sender, |
Runs the preview analysis after association.
|
|
SetupAssociationMessages ( ) : void |
Setups the association messages.
|
public AddANewMenu ( IMenuCommandPlugin toAdd ) : void | ||
toAdd | IMenuCommandPlugin | The to add. |
Результат | void |
public ClosedWindow ( string fullName ) : void | ||
fullName | string | The full name. |
Результат | void |
public ExecutePlugin ( string header ) : void | ||
header | string | The data. |
Результат | void |
public GetCoverageInEditor ( string buffer ) : CoverageElement>.Dictionary |
||
buffer | string | The buffer. |
Результат | CoverageElement>.Dictionary |
public GetIssuesInEditor ( Resource fileResource, string fileContent, bool &showfalseandresolved ) : List |
||
fileResource | Resource | The file Resource. |
fileContent | string | The file Content. |
showfalseandresolved | bool | if set to |
Результат | List |
public InitModelFromPackageInitialization ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider, string extensionFolder ) : void | ||
vsenvironmenthelperIn | IVsEnvironmentHelper | The vs environment helper in. |
statusBar | IVSSStatusBar | The status bar. |
provider | IServiceProvider | The provider. |
extensionFolder | string | The extension Folder. |
Результат | void |
public LaunchExtensionProperties ( ) : void | ||
Результат | void |
protected OnAnalysisModeHasChange ( |
||
e | The e. | |
Результат | void |
public OnConnectToSonar ( bool useDispatcher ) : void | ||
useDispatcher | bool | if set to |
Результат | void |
protected OnPluginRequest ( |
||
e | The e. | |
Результат | void |
protected OnRemovePluginRequest ( |
||
e | The e. | |
Результат | void |
public OnSelectedViewModelChanged ( ) : void | ||
Результат | void |
public OnSolutionOpen ( string solutionName, string solutionPath, string fileInView, ISourceControlProvider sourceProvider = null ) : void | ||
solutionName | string | Name of the solution. |
solutionPath | string | The solution path. |
fileInView | string | The file in view. |
sourceProvider | ISourceControlProvider | The source provider. |
Результат | void |
public ProjectHasBuild ( VsProjectItem project ) : void | ||
project | VsProjectItem | The project. |
Результат | void |
public RefreshDataForResource ( string fullName, string contentoffile, bool fromSave ) : void | ||
fullName | string | The full name. |
contentoffile | string | The content of file. |
fromSave | bool | if set to |
Результат | void |
public RefreshProjectList ( bool useDispatcher ) : void | ||
useDispatcher | bool | if set to |
Результат | void |
public static RegisterNewViewModelInPool ( IViewModelBase viewModel ) : void | ||
viewModel | IViewModelBase | The view model. |
Результат | void |
public RemoveMenuPlugin ( IMenuCommandPlugin toRemove ) : void | ||
toRemove | IMenuCommandPlugin | The to remove. |
Результат | void |
public ResetAndEstablishANewConnectionToServer ( ) : void | ||
Результат | void |
public SelectBranchFromList ( ) : Resource | ||
Результат | Resource |
public SonarQubeViewModel ( string vsverionIn, IConfigurationHelper configurationHelperIn ) : System | ||
vsverionIn | string | The vs version. |
configurationHelperIn | IConfigurationHelper | |
Результат | System |
public SonarQubeViewModel ( string vsverionIn, IConfigurationHelper helper, INotificationManager notification, ISQKeyTranslator translator, ISonarRestService restService, ISourceControlProvider sourceControl = null, IPluginManager pluginManager = null, ISonarLocalAnalyser locaAnalyser = null ) : System | ||
vsverionIn | string | The vsverion in. |
helper | IConfigurationHelper | The helper. |
notification | INotificationManager | The notification. |
translator | ISQKeyTranslator | The translator. |
restService | ISonarRestService | The rest service. |
sourceControl | ISourceControlProvider | The source control. |
pluginManager | IPluginManager | The plugin manager. |
locaAnalyser | ISonarLocalAnalyser | The local analyser. |
Результат | System |
public StartAnalysisWindow ( AnalysisTypes mode, bool fromSave ) : void | ||
mode | AnalysisTypes | The mode. |
fromSave | bool | if set to |
Результат | void |
public UpdateColours ( Color background, Color foreground ) : void | ||
background | Color | The background. |
foreground | Color | The foreground. |
Результат | void |
public UpdateTheme ( Color background, Color foreground ) : void | ||
background | Color | The background. |
foreground | Color | The foreground. |
Результат | void |