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

Inheritance: TableControlEventProcessorBase
Afficher le fichier Open project: Microsoft/sarif-sdk

Méthodes publiques

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

Méthode Description
TryGetSarifResult ( ITableEntryHandle entryHandle, SarifErrorListItem &sarifResult ) : bool

Method Details

PreprocessNavigate() public méthode

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

PreprocessSelectionChanged() public méthode

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