C# Class VSSonarExtensionUi.Model.Menu.SourceControlMenu

Source Control Related Actions
Inheritance: IMenuItem
Datei anzeigen 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.

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

Method Description
AssignIssueToUser ( List users, Issue issue ) : void

Assigns the issue to user.

OnSourceControlCommand ( ) : 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 The profile.
visualStudioVersion string
return void

CancelRefreshData() public method

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

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 ) : IMenuItem
rest ISonarRestService The rest.
model IssueGridViewModel The model.
manager INotificationManager The manager.
translator ISQKeyTranslator The translator.
return IMenuItem

OnConnectToSonar() public method

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin sourcePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable
sourcePlugin IIssueTrackerPlugin
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

SourceControlMenu() public method

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