C# Class VSSonarExtensionUi.ViewModel.Analysis.IssuesSearchViewModel

Inheritance: IViewModelBase
Mostrar archivo Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Public Methods

Method Description
GetAvailableModel ( ) : object

Gets the available model.

IssuesSearchViewModel ( IssuesSearchModel searchModel, INotificationManager notificationManager, IConfigurationHelper configurationHelper, ISonarRestService restService, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : System

Initializes a new instance of the IssuesSearchViewModel class.

OnIsAssigneeCheckedChanged ( ) : void

Called when [is assignee checked changed].

OnSelectedViewChanged ( ) : void

The on selected view changed.

OnShowFlyoutsChanged ( ) : void

Called when [show flyouts changed].

UpdateColours ( Color background, Color foreground ) : void

The update colours.

Private Methods

Method Description
CreateRowContextMenu ( ISonarRestService service, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : ObservableCollection

The create row context menu.

FilterByDate ( ) : string

Filters the by date.

FilterByUsers ( ) : string

Filters the by users.

FilterComponentsKeys ( ) : string

Filters the components keys.

FilterResolutions ( ) : string

The get filter resolutions.

FilterSeverities ( ) : string

The get filter severities.

FilterStatus ( ) : string

The get filter status.

GetCurrentSearch ( ) : Search

Gets the current search.

InitCommanding ( ) : void

The init commanding.

OnCancelQueryCommand ( ) : void

Called when [cancel query command].

OnCloseFlyoutIssueSearchCommand ( ) : void

The on close flyout issue search command.

OnDeleteSavedSearchCommand ( ) : void

Called when [save as search command].

OnGetAllIssuesInProject ( ) : void

The get all issues in project.

OnGetAllIssuesSinceLastAnalysisCommand ( ) : void

The on get all issues since last analysis command.

OnGetAllMyIssuesCommand ( ) : void

The on get all my issues command.

OnGetIssuesByFilterCommand ( ) : void

The on get issues by filter command.

OnGetMyIssuesInProjectCommand ( ) : void

The on get my issues in project command.

OnLaunchCompoSearchDialogCommand ( ) : void

Called when [launch compo search dialog command].

OnLoadSavedSearchCommand ( ) : void

Called when [load saved search command].

OnSaveAsSearchCommand ( ) : void

Called when [save as search command].

OnSaveSearchCommand ( ) : void

Called when [save search command].

ReloadSearch ( Search search ) : void

Reloads the search.

RetrieveIssuesUsingCurrentFilter ( ) : void

The retrieve issues using current filter.

ShowHideLeftFlyout ( object sender, EventArgs e ) : void

Shows the hide left flyout.

Method Details

GetAvailableModel() public method

Gets the available model.
public GetAvailableModel ( ) : object
return object

IssuesSearchViewModel() public method

Initializes a new instance of the IssuesSearchViewModel class.
public IssuesSearchViewModel ( IssuesSearchModel searchModel, INotificationManager notificationManager, IConfigurationHelper configurationHelper, ISonarRestService restService, ISQKeyTranslator translator, ISonarLocalAnalyser analyser ) : System
searchModel IssuesSearchModel The search model.
notificationManager INotificationManager The notification manager.
configurationHelper IConfigurationHelper The configuration helper.
restService ISonarRestService The rest service.
translator ISQKeyTranslator The translator.
analyser ISonarLocalAnalyser The analyser.
return System

OnIsAssigneeCheckedChanged() public method

Called when [is assignee checked changed].
public OnIsAssigneeCheckedChanged ( ) : void
return void

OnSelectedViewChanged() public method

The on selected view changed.
public OnSelectedViewChanged ( ) : void
return void

OnShowFlyoutsChanged() public method

Called when [show flyouts changed].
public OnShowFlyoutsChanged ( ) : void
return void

UpdateColours() public method

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