C# 클래스 VSSonarExtensionUi.ViewModel.Helpers.IssueGridViewModel

상속: IViewModelBase, IDataModel, IFilterCommand, IFilterOption, IModelBase
파일 보기 프로젝트 열기: TrimbleSolutionsCorporation/VSSonarQubeExtension

Private Properties

프로퍼티 타입 설명
ClearFilter void
CreateColumnVisibiltyMenu ObservableCollection
GetIndex int
GetValueForOption string
InitFilterCommanding void
OnClearClearFilterTermRuleCommand void
OnClearFilterTermAssigneeCommand void
OnClearFilterTermAuthorCommand void
OnClearFilterTermComponentCommand void
OnClearFilterTermIsNewCommand void
OnClearFilterTermIssueTrackerCommand void
OnClearFilterTermMessageCommand void
OnClearFilterTermProjectCommand void
OnClearFilterTermResolutionCommand void
OnClearFilterTermSeverityCommand void
OnClearFilterTermStatusCommand void
OnColumnHeaderChangedCommand void
OnFilterApplyCommand void
OnFilterClearAllCommand void
OnGoToNextIssueCommand void
OnGoToPrevIssueCommand void
OnMouseEventCommand void
PopulateStatistics void
ReadWindowOptions void
ResetWindowDefaults void
SaveWindowOptions void
ShowLeftFlyout void
UpdateStatistics void
WriteWindowOptions void

공개 메소드들

메소드 설명
AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider providerIn, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

GetAvailableModel ( ) : object

Gets the available model, TODO: needs to be removed after viewmodels are split into models and view models

GetViewModel ( ) : object

Gets the view model.

GoToNextIssue ( ) : void

Goes to next issue.

GoToPrevIssue ( ) : void

Goes to previous issue.

IsNotFiltered ( Issue issue ) : bool

The is not filtered.

IssueGridViewModel ( string gridId, bool showSqaleRating, IConfigurationHelper helper, ISonarRestService restServiceIn, INotificationManager notManager, ISQKeyTranslator keyTranslatorIn ) : System

Initializes a new instance of the IssueGridViewModel class.

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

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnOpenInIssueTrackerCommand ( ) : void

Called when [open in issue tracker command].

OnOpenInVsCommand ( object parameter ) : void

The on open in vs command.

OnSelectedIssueChanged ( ) : void

Called when [selected issue changed].

OnShowLeftFlyOutChanged ( ) : void

Called when [show left fly out changed].

OnSolutionClosed ( ) : void

The end data association.

ProcessChanges ( object sender, PropertyChangedEventArgs propertyChangedEventArgs ) : void

The process changes.

RefreshStatistics ( ) : void

Refreshes the statistics.

RefreshView ( ) : void

The refresh view.

ReloadMenuData ( ) : void

Reloads the menu data.

ReportTranslationException ( Issue issue, string translatedPath, INotificationManager manager, ISonarRestService service, Resource associatedProject, Exception ex = null ) : void

Reports the translation exception.

ResetColumnsView ( ) : void

Resets the columns view.

ResetStatistics ( ) : void

Resets the statistics.

RestoreUserSettingsInIssuesDataGrid ( ) : void

The restore user settings.

UpdateColours ( Color background, Color foreground ) : void

The update colours.

UpdateIssues ( IEnumerable listOfIssues ) : void

The update issues.

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

Updates the services.

비공개 메소드들

메소드 설명
ClearFilter ( ) : void

The clear filter.

CreateColumnVisibiltyMenu ( ) : ObservableCollection

The create column visibilty menu.

GetIndex ( int &index ) : int

Gets the index.

GetValueForOption ( IConfigurationHelper helper, string key, string defaultvalue, string owner ) : string

Gets the value for option.

InitFilterCommanding ( ) : void

The init filter commanding.

OnClearClearFilterTermRuleCommand ( object obj ) : void

The on clear clear filter term rule command.

OnClearFilterTermAssigneeCommand ( object obj ) : void

The on clear filter term assignee command.

OnClearFilterTermAuthorCommand ( object obj ) : void

The on clear filter term assignee command.

OnClearFilterTermComponentCommand ( object obj ) : void

The on clear filter term component command.

OnClearFilterTermIsNewCommand ( object obj ) : void

The on clear filter term is new command.

OnClearFilterTermIssueTrackerCommand ( object obj ) : void

Called when [clear filter term issue tracker command].

OnClearFilterTermMessageCommand ( object obj ) : void

The on clear filter term message command.

OnClearFilterTermProjectCommand ( object obj ) : void

The on clear filter term project command.

OnClearFilterTermResolutionCommand ( object obj ) : void

The on clear filter term resolution command.

OnClearFilterTermSeverityCommand ( object obj ) : void

The on clear filter term severity command.

OnClearFilterTermStatusCommand ( object obj ) : void

The on clear filter term status command.

OnColumnHeaderChangedCommand ( ) : void

The on column header changed command.

OnFilterApplyCommand ( ) : void

The on filter apply command.

OnFilterClearAllCommand ( object obj ) : void

The on filter clear all command.

OnGoToNextIssueCommand ( ) : void

The on go to next issue command.

OnGoToPrevIssueCommand ( ) : void

The on go to prev issue command.

OnMouseEventCommand ( ) : void

The on mouse event command.

PopulateStatistics ( Issue issue ) : void

Populates the statistics.

ReadWindowOptions ( IConfigurationHelper options, string owner ) : void

The read window options.

ResetWindowDefaults ( ) : void

The reset window defaults.

SaveWindowOptions ( ) : void

The write window options.

ShowLeftFlyout ( EventArgs e ) : void

Shows the left flyout.

UpdateStatistics ( ) : void

Updates the statistics.

WriteWindowOptions ( ) : void

The write window options.

메소드 상세

AssociateWithNewProject() 공개 메소드

Associates the with new project.
public AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider providerIn, Profile>.Dictionary profile, string visualStudioVersion ) : void
project VSSonarPlugins.Types.Resource The project.
workingDir string The working dir.
providerIn ISourceControlProvider The provider in.
profile Profile>.Dictionary
visualStudioVersion string
리턴 void

GetAvailableModel() 공개 메소드

Gets the available model, TODO: needs to be removed after viewmodels are split into models and view models
public GetAvailableModel ( ) : object
리턴 object

GetViewModel() 공개 메소드

Gets the view model.
public GetViewModel ( ) : object
리턴 object

GoToNextIssue() 공개 메소드

Goes to next issue.
public GoToNextIssue ( ) : void
리턴 void

GoToPrevIssue() 공개 메소드

Goes to previous issue.
public GoToPrevIssue ( ) : void
리턴 void

IsNotFiltered() 공개 메소드

The is not filtered.
public IsNotFiltered ( Issue issue ) : bool
issue VSSonarPlugins.Types.Issue /// The issue. ///
리턴 bool

IssueGridViewModel() 공개 메소드

Initializes a new instance of the IssueGridViewModel class.
public IssueGridViewModel ( string gridId, bool showSqaleRating, IConfigurationHelper helper, ISonarRestService restServiceIn, INotificationManager notManager, ISQKeyTranslator keyTranslatorIn ) : System
gridId string The grid Id.
showSqaleRating bool if set to true [show sqale rating].
helper IConfigurationHelper The helper.
restServiceIn ISonarRestService The rest service in.
notManager INotificationManager The not manager.
keyTranslatorIn ISQKeyTranslator The key translator in.
리턴 System

OnConnectToSonar() 공개 메소드

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable
issuePlugin IIssueTrackerPlugin
리턴 void

OnDisconnect() 공개 메소드

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

OnOpenInIssueTrackerCommand() 공개 메소드

Called when [open in issue tracker command].
public OnOpenInIssueTrackerCommand ( ) : void
리턴 void

OnOpenInVsCommand() 공개 메소드

The on open in vs command.
public OnOpenInVsCommand ( object parameter ) : void
parameter object /// The parameter. ///
리턴 void

OnSelectedIssueChanged() 공개 메소드

Called when [selected issue changed].
public OnSelectedIssueChanged ( ) : void
리턴 void

OnShowLeftFlyOutChanged() 공개 메소드

Called when [show left fly out changed].
public OnShowLeftFlyOutChanged ( ) : void
리턴 void

OnSolutionClosed() 공개 메소드

The end data association.
public OnSolutionClosed ( ) : void
리턴 void

ProcessChanges() 공개 메소드

The process changes.
public ProcessChanges ( object sender, PropertyChangedEventArgs propertyChangedEventArgs ) : void
sender object /// The sender. ///
propertyChangedEventArgs System.ComponentModel.PropertyChangedEventArgs /// The property changed event args. ///
리턴 void

RefreshStatistics() 공개 메소드

Refreshes the statistics.
public RefreshStatistics ( ) : void
리턴 void

RefreshView() 공개 메소드

The refresh view.
public RefreshView ( ) : void
리턴 void

ReloadMenuData() 공개 메소드

Reloads the menu data.
public ReloadMenuData ( ) : void
리턴 void

ReportTranslationException() 공개 정적인 메소드

Reports the translation exception.
public static ReportTranslationException ( Issue issue, string translatedPath, INotificationManager manager, ISonarRestService service, Resource associatedProject, Exception ex = null ) : void
issue VSSonarPlugins.Types.Issue The issue.
translatedPath string The translated path.
manager INotificationManager
service ISonarRestService
associatedProject VSSonarPlugins.Types.Resource
ex System.Exception The ex.
리턴 void

ResetColumnsView() 공개 메소드

Resets the columns view.
public ResetColumnsView ( ) : void
리턴 void

ResetStatistics() 공개 메소드

Resets the statistics.
public ResetStatistics ( ) : void
리턴 void

RestoreUserSettingsInIssuesDataGrid() 공개 메소드

The restore user settings.
public RestoreUserSettingsInIssuesDataGrid ( ) : void
리턴 void

UpdateColours() 공개 메소드

The update colours.
public UpdateColours ( Color background, Color foreground ) : void
background Color /// The background. ///
foreground Color /// The foreground. ///
리턴 void

UpdateIssues() 공개 메소드

The update issues.
public UpdateIssues ( IEnumerable listOfIssues ) : void
listOfIssues IEnumerable /// The list of issues. ///
리턴 void

UpdateServices() 공개 메소드

Updates the services.
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider providerIn ) : void
vsenvironmenthelperIn IVsEnvironmentHelper The vsenvironmenthelper in.
statusBar IVSSStatusBar The status bar.
providerIn IServiceProvider The provider in.
리턴 void