C# Class VSSonarExtensionUi.Model.Menu.SetExclusionsMenu

Source Control Related Actions
Inheritance: IMenuItem
ファイルを表示 Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension Class Usage Examples

Public Methods

Method Description
AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider sourceModel, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

CancelRefreshData ( ) : void

Cancels the refresh data.

GetMainProject ( Resource projectIn, IList projects ) : Resource

Gets the main project.

GetViewModel ( ) : object

Gets the view model.

MakeMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager manager, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : IMenuItem

The make menu.

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

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnSolutionClosed ( ) : void

The end data association.

RefreshMenuData ( ) : void

Refreshes the menu data for menu that have options that are context dependent on the selected issues.

SetExclusionsMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager manager, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : System

Initializes a new instance of the SourceControlMenu class.

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

Updates the services.

Private Methods

Method Description
OnSetExclusionsMenuCommand ( ) : void

Called when [source control command].

Method Details

AssociateWithNewProject() public method

Associates the with new project.
public AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider sourceModel, Profile>.Dictionary profile, string visualStudioVersion ) : void
project Resource The project.
workingDir string The working dir.
sourceModel ISourceControlProvider The source model.
profile Profile>.Dictionary
visualStudioVersion string
return void

CancelRefreshData() public method

Cancels the refresh data.
public CancelRefreshData ( ) : void
return void

GetMainProject() public static method

Gets the main project.
public static GetMainProject ( Resource projectIn, IList projects ) : Resource
projectIn Resource The project in.
projects IList The projects.
return Resource

GetViewModel() public method

Gets the view model.
public GetViewModel ( ) : object
return object

MakeMenu() public static method

The make menu.
public static MakeMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager manager, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : IMenuItem
rest ISonarRestService The rest.
model IssueGridViewModel The model.
manager INotificationManager The manager.
translator ISQKeyTranslator The translator.
analyser ISonarLocalAnalyser
return IMenuItem

OnConnectToSonar() public method

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable The available projects.
issuePlugin IIssueTrackerPlugin The issue plugin.
return void

OnDisconnect() public method

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

OnSolutionClosed() public method

The end data association.
public OnSolutionClosed ( ) : void
return void

RefreshMenuData() public method

Refreshes the menu data for menu that have options that are context dependent on the selected issues.
public RefreshMenuData ( ) : void
return void

SetExclusionsMenu() public method

Initializes a new instance of the SourceControlMenu class.
public SetExclusionsMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager manager, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : System
rest ISonarRestService The rest.
model IssueGridViewModel The model.
manager INotificationManager The manager.
translator ISQKeyTranslator The translator.
analyser ISonarLocalAnalyser
return System

UpdateServices() public method

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.
return void