C# Class GitForce.Main.Right.Panels.PanelRevlist

Inheritance: System.Windows.Forms.UserControl
Afficher le fichier Open project: gdevic/GitForce

Méthodes publiques

Méthode Description
GetContextMenu ( ToolStrip owner ) : ToolStripItemCollection

Builds and returns a context menu for revision list

PanelRevlist ( ) : System
RevlistRefresh ( ) : void

Fills in the list of revisions and changes to the repository

UpdateList ( ListView listRev, string input, bool prefixRevId ) : void

Helper function that fills in the list of revisions. This is used from the code above and from the FormRevisionHistory.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
GetSelectedSha ( ) : string

Get the SHA associated with the selected item on the log list Returns null if the unique SHA cannot be obtained.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

ListRevMouseDoubleClick ( object sender, MouseEventArgs e ) : void

Double-click on a changelist opens the describe changelist form

ListRevMouseUp ( object sender, MouseEventArgs e ) : void

Right-mouse button opens a popup with the context menu

ListRevVisibleChanged ( object sender, EventArgs e ) : void

The only purpose of this handler is to fix a Linux listview issue where the header is sometimes not visible when a tab is switched to

LogBranchChanged ( object sender, EventArgs e ) : void

Log branch changed

MenuCherryPickClick ( object sender, EventArgs e ) : void

Cherry pick selected submit

MenuClearFilterClick ( object sender, EventArgs e ) : void

Clear the log filter

MenuCopyShaClick ( object sender, EventArgs e ) : void

Copy the selected SHA number into the clipboard

MenuDescribeClick ( object sender, EventArgs e ) : void

Describe (view) selected changelist

MenuRefreshClick ( object sender, EventArgs e ) : void

Shortcut function to the panel refresh

MenuResetClick ( object sender, EventArgs e ) : void

Reset current branch to the selected submit

MenuSetFilterClick ( object sender, EventArgs e ) : void

Set the log filter using the custom dialog

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetContextMenu() public méthode

Builds and returns a context menu for revision list
public GetContextMenu ( ToolStrip owner ) : ToolStripItemCollection
owner System.Windows.Forms.ToolStrip
Résultat System.Windows.Forms.ToolStripItemCollection

PanelRevlist() public méthode

public PanelRevlist ( ) : System
Résultat System

RevlistRefresh() public méthode

Fills in the list of revisions and changes to the repository
public RevlistRefresh ( ) : void
Résultat void

UpdateList() public static méthode

Helper function that fills in the list of revisions. This is used from the code above and from the FormRevisionHistory.
public static UpdateList ( ListView listRev, string input, bool prefixRevId ) : void
listRev System.Windows.Forms.ListView
input string
prefixRevId bool
Résultat void