C# Class VSSonarExtensionUi.Model.Menu.SourceControlMenu

Source Control Related Actions
Inheritance: IMenuItem
Afficher le fichier Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension Class Usage Examples

Méthodes publiques

Méthode 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.

GetViewModel ( ) : object

Gets the view model.

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

The make menu.

OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin sourcePlugin ) : 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.

SourceControlMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager manager, ISQKeyTranslator translator ) : System

Initializes a new instance of the SourceControlMenu class.

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

Updates the services.

Private Methods

Méthode Description
AssignIssueToUser ( List users, Issue issue ) : void

Assigns the issue to user.

OnSourceControlCommand ( ) : void

Called when [source control command].

Method Details

AssociateWithNewProject() public méthode

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 The profile.
visualStudioVersion string
Résultat void

CancelRefreshData() public méthode

Cancels the refresh data.
public CancelRefreshData ( ) : void
Résultat void

GetViewModel() public méthode

Gets the view model.
public GetViewModel ( ) : object
Résultat object

MakeMenu() public static méthode

The make menu.
public static MakeMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager manager, ISQKeyTranslator translator ) : IMenuItem
rest ISonarRestService The rest.
model IssueGridViewModel The model.
manager INotificationManager The manager.
translator ISQKeyTranslator The translator.
Résultat IMenuItem

OnConnectToSonar() public méthode

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin sourcePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable
sourcePlugin IIssueTrackerPlugin
Résultat void

OnDisconnect() public méthode

Called when [disconnect].
public OnDisconnect ( ) : void
Résultat void

OnSolutionClosed() public méthode

The end data association.
public OnSolutionClosed ( ) : void
Résultat void

RefreshMenuData() public méthode

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

SourceControlMenu() public méthode

Initializes a new instance of the SourceControlMenu class.
public SourceControlMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager manager, ISQKeyTranslator translator ) : System
rest ISonarRestService The rest.
model IssueGridViewModel The model.
manager INotificationManager The manager.
translator ISQKeyTranslator The translator.
Résultat System

UpdateServices() public méthode

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.
Résultat void