C# Class Microsoft.Sarif.Viewer.ErrorList.SarifTableControlEventProcessorProvider.EventProcessor

Inheritance: TableControlEventProcessorBase
Exibir arquivo Open project: Microsoft/sarif-sdk

Public Methods

Method Description
PreprocessNavigate ( ITableEntryHandle entryHandle, TableEntryNavigateEventArgs e ) : void

Handles the double-click Error List event. Displays the SARIF Explorer tool window. Does not bind the selected item to the Tool Window. The binding is done by PreprocessSelectionChanged.

PreprocessSelectionChanged ( TableSelectionChangedEventArgs e ) : void

Handles the single-click Error List event. Binds the selected item to the Tool Window. Does not show the tool window if it is not already open. Displaying of the tool window is handed by PreprocessNavigate.

Private Methods

Method Description
TryGetSarifResult ( ITableEntryHandle entryHandle, SarifErrorListItem &sarifResult ) : bool

Method Details

PreprocessNavigate() public method

Handles the double-click Error List event. Displays the SARIF Explorer tool window. Does not bind the selected item to the Tool Window. The binding is done by PreprocessSelectionChanged.
public PreprocessNavigate ( ITableEntryHandle entryHandle, TableEntryNavigateEventArgs e ) : void
entryHandle ITableEntryHandle
e TableEntryNavigateEventArgs
return void

PreprocessSelectionChanged() public method

Handles the single-click Error List event. Binds the selected item to the Tool Window. Does not show the tool window if it is not already open. Displaying of the tool window is handed by PreprocessNavigate.
public PreprocessSelectionChanged ( TableSelectionChangedEventArgs e ) : void
e TableSelectionChangedEventArgs
return void