C# Class GitUI.RevisionGrid

Inheritance: GitUI.GitModuleControl
Exibir arquivo Open project: gitextensions/gitextensions Class Usage Examples

Private Properties

Property Type Description
AddOwnScripts void
AdjustCellBounds System.Drawing.Rectangle
ApplyFilterFromRevisionFilterDialog void
ArchiveRevisionToolStripMenuItemClick void
AuthorToolStripMenuItemClick void
BisectSkipRevisionToolStripMenuItemClick void
CheckUncommitedChanged void
CheckoutRevisionToolStripMenuItemClick void
CherryPickCommitToolStripMenuItemClick void
CloneRepository_Click void
CommitClick void
CompareToBranchToolStripMenuItem_Click void
CompareWithCurrentBranchToolStripMenuItem_Click void
ContextMenuOpening void
ContinueBisect void
CreateNewBranchToolStripMenuItemClick void
CreateRoundRectPath System.Drawing.Drawing2D.GraphicsPath
CreateTagToolStripMenuItemClick void
DateToolStripMenuItemClick void
DisposeRevisionGraphCommand void
DrawArrow void
DrawColumnText void
DrawHeadBackground float
DrawNonrelativesGray_ToolStripMenuItemClick void
DrawRef float
ExecuteCommand bool
FillMenuFromMenuCommands void
FilterIsApplied bool
FilterToolStripMenuItemClick void
FindNextMatch void
FindRevisionIndex int
FixupCommitToolStripMenuItemClick void
GetAllParents string[]
GetArrowSize float
GetDateHeaderText string
GetHeadColor Color
GetHotkeyCommand HotkeyCommand
GetShortcutKeys Keys
GetShortcutKeys Keys
GetSuperprojectCheckout SuperProjectInfo
GitGetCommitsCommandExited void
GitGetCommitsCommandUpdated void
GitIgnoreClick void
HashToolStripMenuItemClick void
HideQuickSearchString void
InitRepository_Click void
InternalSetSelectedRevision bool
InvalidateRevisions void
IsCardLayout bool
IsFilledBranchesLayout bool
IsGraphLayout bool
Lerp Color
Lerp float
LoadIsMultilineMessageInfo void
LoadRevisions void
MarkRevisionAsBadToolStripMenuItemClick void
MarkRevisionAsGoodToolStripMenuItemClick void
MessageToolStripMenuItemClick void
NextQuickSearch void
OpenManual void
OrderRevisionsByDate_ToolStripMenuItemClick void
QuickSearchTimerTick void
RefreshGravatar void
RefreshOwnScripts void
RemoveOwnScripts void
ResetCurrentBranchToHereToolStripMenuItemClick void
RestartQuickSearchTimer void
RevertCommitToolStripMenuItemClick void
RevisionsCellFormatting void
RevisionsCellMouseDown void
RevisionsCellPainting void
RevisionsDoubleClick void
RevisionsKeyDown void
RevisionsKeyPress void
RevisionsLoading void
RevisionsMouseClick void
RevisionsMouseDown void
RevisionsSelectionChanged void
Revisions_DragEnter void
RoundToEven float
RunScript void
SearchForward int?
SearchInReverseOrder int?
SearchRevision int
SelectInitialRevision void
SelectionTimerTick void
SetAuthoredRevisionsBrush void
SetRevisionsLayout void
SetShowBranches void
ShouldHideGraph bool
ShouldHighlightRevisionByAuthor bool
ShowAllBranches_ToolStripMenuItemClick void
ShowAuthorDate_ToolStripMenuItemClick void
ShowCurrentBranchOnly_ToolStripMenuItemClick void
ShowFilteredBranches_ToolStripMenuItemClick void
ShowFirstParent_ToolStripMenuItemClick void
ShowGitNotes_ToolStripMenuItemClick void
ShowIds_ToolStripMenuItemClick void
ShowMergeCommits_ToolStripMenuItemClick void
ShowQuickSearchString void
ShowRelativeDate_ToolStripMenuItemClick void
ShowRemoteBranches_ToolStripMenuItemClick void
ShowRevisionGraph_ToolStripMenuItemClick void
ShowSuperprojectBranches_ToolStripMenuItemClick void
ShowSuperprojectRemoteBranches_ToolStripMenuItemClick void
ShowSuperprojectTags_ToolStripMenuItemClick void
ShowTags_ToolStripMenuItemClick void
ShowUncommitedChanges bool
SquashCommitToolStripMenuItemClick void
StopBisectToolStripMenuItemClick void
TimeToString string
ToggleHighlightSelectedBranch void
ToggleRevisionGraph void
ToolStripItemClickCheckoutBranch void
ToolStripItemClickCheckoutRemoteBranch void
ToolStripItemClickDeleteBranch void
ToolStripItemClickDeleteTag void
ToolStripItemClickMergeBranch void
ToolStripItemClickRebaseBranch void
ToolStripItemClickRenameBranch void
UpdateGraph void
_revisionGraphCommand_Error void
compareToBaseToolStripMenuItem_Click void
copyToClipboardToolStripMenuItem_DropDownOpened void
deleteBranchTagToolStripMenuItem_Click void
getHelpOnHowToUseTheseFeaturesToolStripMenuItem_Click void
goToChildToolStripMenuItem_Click void
goToParentToolStripMenuItem_Click void
selectAsBaseToolStripMenuItem_Click void

Public Methods

Method Description
DisableContextMenu ( ) : void
ForceRefreshRevisions ( ) : void
FormatQuickFilter ( string filter, bool parameters, string &revListArgs, string &inMemMessageFilter, string &inMemCommitterFilter, string &inMemAuthorFilter ) : void
GetCurrentRevision ( ) : GitRevision
GetRevision ( int aRow ) : GitRevision
GetRevision ( string guid ) : GitRevision
GetRevisionChildren ( string revision ) : List
GetSelectedRevisions ( ) : List
GetSelectedRevisions ( SortDirection direction ) : List
GoToRef ( string refName, bool showNoRevisionMsg ) : void
HighlightBranch ( string aId ) : void
HighlightSelectedBranch ( ) : void
Load ( ) : void
Loading_Paint ( object sender, PaintEventArgs e ) : void
MessageFilterCouldBeSHA ( string filter ) : bool
NavigateBackward ( ) : void
NavigateForward ( ) : void
OnModuleChanged ( object sender, GitModuleEventArgs e ) : void
Refresh ( ) : void
RefreshRevisions ( ) : void
ReloadHotkeys ( ) : void
ReloadTranslation ( ) : void
ResetNavigationHistory ( ) : void
RevisionGrid ( ) : System
Revisions_DragDrop ( object sender, DragEventArgs e ) : void
SetAndApplyBranchFilter ( string filter ) : bool
SetInitialRevision ( GitRevision initialSelectedRevision ) : void
SetLimit ( int limit ) : void
SetRevisionsLayout ( RevisionGridLayout revisionGridLayout ) : void
SetSelectedIndex ( int index ) : void
SetSelectedRevision ( GitRevision revision ) : bool
SetSelectedRevision ( string revision ) : bool
ShowRemoteRef ( IGitRef r ) : bool
ToggleRevisionCardLayout ( ) : void
ViewSelectedRevisions ( ) : void

Protected Methods

Method Description
ExecuteCommand ( int cmd ) : bool
OnCreateControl ( ) : void

Private Methods

Method Description
AddOwnScripts ( ) : void
AdjustCellBounds ( Rectangle cellBounds, float offset ) : Rectangle
ApplyFilterFromRevisionFilterDialog ( ) : void
ArchiveRevisionToolStripMenuItemClick ( object sender, EventArgs e ) : void
AuthorToolStripMenuItemClick ( object sender, EventArgs e ) : void
BisectSkipRevisionToolStripMenuItemClick ( object sender, EventArgs e ) : void
CheckUncommitedChanged ( string filtredCurrentCheckout ) : void
CheckoutRevisionToolStripMenuItemClick ( object sender, EventArgs e ) : void
CherryPickCommitToolStripMenuItemClick ( object sender, EventArgs e ) : void
CloneRepository_Click ( object sender, EventArgs e ) : void
CommitClick ( object sender, EventArgs e ) : void
CompareToBranchToolStripMenuItem_Click ( object sender, EventArgs e ) : void
CompareWithCurrentBranchToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ContextMenuOpening ( object sender, CancelEventArgs e ) : void
ContinueBisect ( GitBisectOption bisectOption ) : void
CreateNewBranchToolStripMenuItemClick ( object sender, EventArgs e ) : void
CreateRoundRectPath ( float x, float y, float width, float height, float radius ) : GraphicsPath
CreateTagToolStripMenuItemClick ( object sender, EventArgs e ) : void
DateToolStripMenuItemClick ( object sender, EventArgs e ) : void
DisposeRevisionGraphCommand ( ) : void
DrawArrow ( Graphics graphics, float x, float y, float rowHeight, Color color, bool filled ) : void
DrawColumnText ( Graphics gc, string text, Font font, Color color, Rectangle bounds ) : void
DrawHeadBackground ( bool isSelected, Graphics graphics, Color color, float x, float y, float width, float height, float radius, ArrowType arrowType, bool dashedLine, bool fill ) : float
DrawNonrelativesGray_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
DrawRef ( DrawRefArgs drawRefArgs, float offset, string name, Color headColor, ArrowType arrowType, bool dashedLine = false, bool fill = false ) : float
ExecuteCommand ( Commands cmd ) : bool
FillMenuFromMenuCommands ( IEnumerable menuCommands, ToolStripMenuItem targetMenuItem ) : void
FilterIsApplied ( bool inclBranchFilter ) : bool
FilterToolStripMenuItemClick ( object sender, EventArgs e ) : void
FindNextMatch ( int startIndex, string searchString, bool reverse ) : void
FindRevisionIndex ( string revision ) : int

Find specified revision in known to the grid revisions

FixupCommitToolStripMenuItemClick ( object sender, EventArgs e ) : void
GetAllParents ( string initRevision ) : string[]
GetArrowSize ( float rowHeight ) : float
GetDateHeaderText ( ) : string
GetHeadColor ( IGitRef gitRef ) : Color
GetHotkeyCommand ( int commandCode ) : HotkeyCommand

duplicated from GitExtensionsForm

GetShortcutKeys ( Commands cmd ) : Keys
GetShortcutKeys ( int commandCode ) : Keys

duplicated from GitExtensionsForm

GetSuperprojectCheckout ( bool>.Func showRemoteRef ) : SuperProjectInfo
GitGetCommitsCommandExited ( object sender, EventArgs e ) : void
GitGetCommitsCommandUpdated ( object sender, EventArgs e ) : void
GitIgnoreClick ( object sender, EventArgs e ) : void
HashToolStripMenuItemClick ( object sender, EventArgs e ) : void
HideQuickSearchString ( ) : void
InitRepository_Click ( object sender, EventArgs e ) : void
InternalSetSelectedRevision ( string revision ) : bool
InvalidateRevisions ( ) : void
IsCardLayout ( ) : bool
IsFilledBranchesLayout ( ) : bool
IsGraphLayout ( ) : bool
Lerp ( Color colour, Color to, float amount ) : Color
Lerp ( float start, float end, float amount ) : float
LoadIsMultilineMessageInfo ( GitRevision revision, int colIndex, int rowIndex, int totalRowCount, GitModule aModule ) : void

LoadRevisions ( ) : void
MarkRevisionAsBadToolStripMenuItemClick ( object sender, EventArgs e ) : void
MarkRevisionAsGoodToolStripMenuItemClick ( object sender, EventArgs e ) : void
MessageToolStripMenuItemClick ( object sender, EventArgs e ) : void
NextQuickSearch ( bool down ) : void
OpenManual ( ) : void
OrderRevisionsByDate_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
QuickSearchTimerTick ( object sender, EventArgs e ) : void
RefreshGravatar ( Image image ) : void
RefreshOwnScripts ( ) : void
RemoveOwnScripts ( ) : void
ResetCurrentBranchToHereToolStripMenuItemClick ( object sender, EventArgs e ) : void
RestartQuickSearchTimer ( ) : void
RevertCommitToolStripMenuItemClick ( object sender, EventArgs e ) : void
RevisionsCellFormatting ( object sender, DataGridViewCellFormattingEventArgs e ) : void
RevisionsCellMouseDown ( object sender, DataGridViewCellMouseEventArgs e ) : void
RevisionsCellPainting ( object sender, DataGridViewCellPaintingEventArgs e ) : void
RevisionsDoubleClick ( object sender, MouseEventArgs e ) : void
RevisionsKeyDown ( object sender, KeyEventArgs e ) : void
RevisionsKeyPress ( object sender, KeyPressEventArgs e ) : void
RevisionsLoading ( object sender, DvcsGraph e ) : void
RevisionsMouseClick ( object sender, MouseEventArgs e ) : void
RevisionsMouseDown ( object sender, MouseEventArgs e ) : void
RevisionsSelectionChanged ( object sender, EventArgs e ) : void
Revisions_DragEnter ( object sender, DragEventArgs e ) : void
RoundToEven ( float value ) : float
RunScript ( object sender, EventArgs e ) : void
SearchForward ( int startIndex, string searchString ) : int?
SearchInReverseOrder ( int startIndex, string searchString ) : int?
SearchRevision ( string initRevision ) : int
SelectInitialRevision ( ) : void
SelectionTimerTick ( object sender, EventArgs e ) : void
SetAuthoredRevisionsBrush ( ) : void
SetRevisionsLayout ( ) : void
SetShowBranches ( ) : void
ShouldHideGraph ( bool inclBranchFilter ) : bool
ShouldHighlightRevisionByAuthor ( GitRevision revision ) : bool
ShowAllBranches_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowAuthorDate_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowCurrentBranchOnly_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowFilteredBranches_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowFirstParent_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowGitNotes_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowIds_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowMergeCommits_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowQuickSearchString ( ) : void
ShowRelativeDate_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowRemoteBranches_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowRevisionGraph_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowSuperprojectBranches_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowSuperprojectRemoteBranches_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowSuperprojectTags_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowTags_ToolStripMenuItemClick ( object sender, EventArgs e ) : void
ShowUncommitedChanges ( ) : bool
SquashCommitToolStripMenuItemClick ( object sender, EventArgs e ) : void
StopBisectToolStripMenuItemClick ( object sender, EventArgs e ) : void
TimeToString ( DateTime time ) : string
ToggleHighlightSelectedBranch ( ) : void
ToggleRevisionGraph ( ) : void
ToolStripItemClickCheckoutBranch ( object sender, EventArgs e ) : void
ToolStripItemClickCheckoutRemoteBranch ( object sender, EventArgs e ) : void
ToolStripItemClickDeleteBranch ( object sender, EventArgs e ) : void
ToolStripItemClickDeleteTag ( object sender, EventArgs e ) : void
ToolStripItemClickMergeBranch ( object sender, EventArgs e ) : void
ToolStripItemClickRebaseBranch ( object sender, EventArgs e ) : void
ToolStripItemClickRenameBranch ( object sender, EventArgs e ) : void
UpdateGraph ( GitRevision rev ) : void
_revisionGraphCommand_Error ( object sender, AsyncErrorEventArgs e ) : void
compareToBaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void
copyToClipboardToolStripMenuItem_DropDownOpened ( object sender, EventArgs e ) : void
deleteBranchTagToolStripMenuItem_Click ( object sender, EventArgs e ) : void
getHelpOnHowToUseTheseFeaturesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
goToChildToolStripMenuItem_Click ( object sender, EventArgs e ) : void
goToParentToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectAsBaseToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Method Details

DisableContextMenu() public method

public DisableContextMenu ( ) : void
return void

ExecuteCommand() protected method

protected ExecuteCommand ( int cmd ) : bool
cmd int
return bool

ForceRefreshRevisions() public method

public ForceRefreshRevisions ( ) : void
return void

FormatQuickFilter() public method

public FormatQuickFilter ( string filter, bool parameters, string &revListArgs, string &inMemMessageFilter, string &inMemCommitterFilter, string &inMemAuthorFilter ) : void
filter string
parameters bool
revListArgs string
inMemMessageFilter string
inMemCommitterFilter string
inMemAuthorFilter string
return void

GetCurrentRevision() public method

public GetCurrentRevision ( ) : GitRevision
return GitRevision

GetRevision() public method

public GetRevision ( int aRow ) : GitRevision
aRow int
return GitRevision

GetRevision() public method

public GetRevision ( string guid ) : GitRevision
guid string
return GitRevision

GetRevisionChildren() public method

public GetRevisionChildren ( string revision ) : List
revision string
return List

GetSelectedRevisions() public method

public GetSelectedRevisions ( ) : List
return List

GetSelectedRevisions() public method

public GetSelectedRevisions ( SortDirection direction ) : List
direction SortDirection
return List

GoToRef() public method

public GoToRef ( string refName, bool showNoRevisionMsg ) : void
refName string
showNoRevisionMsg bool
return void

HighlightBranch() public method

public HighlightBranch ( string aId ) : void
aId string
return void

HighlightSelectedBranch() public method

public HighlightSelectedBranch ( ) : void
return void

Load() public method

public Load ( ) : void
return void

Loading_Paint() public method

public Loading_Paint ( object sender, PaintEventArgs e ) : void
sender object
e PaintEventArgs
return void

MessageFilterCouldBeSHA() public static method

public static MessageFilterCouldBeSHA ( string filter ) : bool
filter string
return bool

NavigateBackward() public method

public NavigateBackward ( ) : void
return void

NavigateForward() public method

public NavigateForward ( ) : void
return void

OnCreateControl() protected method

protected OnCreateControl ( ) : void
return void

OnModuleChanged() public method

public OnModuleChanged ( object sender, GitModuleEventArgs e ) : void
sender object
e GitModuleEventArgs
return void

Refresh() public method

public Refresh ( ) : void
return void

RefreshRevisions() public method

public RefreshRevisions ( ) : void
return void

ReloadHotkeys() public method

public ReloadHotkeys ( ) : void
return void

ReloadTranslation() public method

public ReloadTranslation ( ) : void
return void

ResetNavigationHistory() public method

public ResetNavigationHistory ( ) : void
return void

RevisionGrid() public method

public RevisionGrid ( ) : System
return System

Revisions_DragDrop() public method

public Revisions_DragDrop ( object sender, DragEventArgs e ) : void
sender object
e DragEventArgs
return void

SetAndApplyBranchFilter() public method

public SetAndApplyBranchFilter ( string filter ) : bool
filter string
return bool

SetInitialRevision() public method

public SetInitialRevision ( GitRevision initialSelectedRevision ) : void
initialSelectedRevision GitRevision
return void

SetLimit() public method

public SetLimit ( int limit ) : void
limit int
return void

SetRevisionsLayout() public method

public SetRevisionsLayout ( RevisionGridLayout revisionGridLayout ) : void
revisionGridLayout RevisionGridLayout
return void

SetSelectedIndex() public method

public SetSelectedIndex ( int index ) : void
index int
return void

SetSelectedRevision() public method

public SetSelectedRevision ( GitRevision revision ) : bool
revision GitRevision
return bool

SetSelectedRevision() public method

public SetSelectedRevision ( string revision ) : bool
revision string
return bool

ShowRemoteRef() public method

public ShowRemoteRef ( IGitRef r ) : bool
r IGitRef
return bool

ToggleRevisionCardLayout() public method

public ToggleRevisionCardLayout ( ) : void
return void

ViewSelectedRevisions() public method

public ViewSelectedRevisions ( ) : void
return void