프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
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 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 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 |