Méthode | Description | |
---|---|---|
CommitsRefresh ( ) : void |
Panel commit refresh function
|
|
DoDropFiles ( ClassStatus status, List |
Adds a list of files to the default commit (index) This static function may also be used by callers wishing to update index. files is a list of files with relative paths.
|
|
GetContextMenu ( |
Builds ands returns a context menu for commits
|
|
PanelCommits ( ) : System |
Class constructor
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Méthode | Description | |
---|---|---|
ArmRefresh ( ) : void |
Arms the future refresh operation
|
|
BeginEditingSelectedNode ( ) : void | ||
GetCommitForEditLabel ( System.Windows.Forms.NodeLabelEditEventArgs e ) : ClassCommit |
Gets the commit for the edit label event. Return
|
|
GetFilesToUnstage ( object tag ) : List |
||
GetMergeCommitBundle ( ) : ClassCommit |
Return the commit bundle for the merge operation
|
|
GetSelectedFile ( ) : string |
Returns the relative path of a single selected file, or empty if no file was selected
|
|
GetSelectedFiles ( ) : List |
Returns a set of selected git files
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
MenuAbortMergeClick ( object sender, |
Abort the merge.. All files will be lost!
|
|
MenuAcceptClick ( object sender, |
Accept one particula version of a file, details of a command are sent in Tag
|
|
MenuDeleteEmptyClick ( object sender, |
Delete empty commit bundle. It is already verified that the commit bundle (sent in the tag) is empty.
|
|
MenuDiffClick ( object sender, |
Diff selected files against the repo
|
|
MenuEditClick ( object sender, |
Edit selected file using either the default editor (native OS file association, if the tag is null, or the editor program specified in the tag field. This is a handler for both the context menu and the edit tool bar button.
|
|
MenuEditCommitClick ( object sender, |
Edit selected commit bundle
|
|
MenuEditCommitMergeClick ( object sender, |
Edit merge commit description
|
|
MenuEditRevHistClick ( object sender, |
Show the revision history dialog for a selected file. This dialog is _not_ modal, so user can view multiple files.
|
|
MenuExitMergeClick ( object sender, |
Exit Merge state by deleting MERGE_HEAD
|
|
MenuMergeTool ( object sender, |
Run the merge tool. Tag of a sender may contain an individual file name.
|
|
MenuNewCommitClick ( object sender, |
New commit bundle needed
|
|
MenuRefreshClick ( object sender, |
Shortcut function to the panel refresh This is a thread-safe refresh function: it is also triggered by a timer event
|
|
MenuSubmitClick ( object sender, |
Submit selected files within a changelist Two versions of submit are used: one for the ordinary submit and the other one for the submit when the operation will be a merge.
|
|
MenuSubmitMergeClick ( object sender, |
Submit merge
|
|
MenuUnstageClick ( object sender, |
Unstage selected files; remove them from index
|
|
TreeCommitsAfterCollapse ( object sender, |
||
TreeCommitsAfterExpand ( object sender, |
||
TreeCommitsAfterLabelEdit ( object sender, System.Windows.Forms.NodeLabelEditEventArgs e ) : void | ||
TreeCommitsAfterSelect ( object sender, |
||
TreeCommitsBeforeLabelEdit ( object sender, System.Windows.Forms.NodeLabelEditEventArgs e ) : void | ||
TreeCommitsDoubleClick ( object sender, MouseEventArgs e ) : void |
Handle double-clicking on a tree view Depending on the saved options, we either do nothing ("0"), open a file using a default Explorer file association ("1"), or open a file using a specified application ("2")
|
|
TreeCommitsDragDrop ( object sender, |
Handler for the drop portion of drag and drop. User dropped one or more files to the commit pane. The files may originate from the left pane, or from an external application like explorer.
|
|
TreeCommitsDragEnter ( object sender, |
User dragged something into the view
|
|
TreeCommitsItemDrag ( object sender, |
User selected one or more items and started to drag them
|
|
TreeCommitsMouseMove ( object sender, MouseEventArgs e ) : void |
As the mouse moves over nodes, show the human readable description of files that the mouse points to
|
|
TreeCommitsMouseUp ( object sender, MouseEventArgs e ) : void |
Right-mouse button opens a popup with the context menu
|
|
TreeCommitsPreviewKeyDown ( object sender, |
||
UpdateCommitCollapsed ( |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
public static DoDropFiles ( ClassStatus status, List |
||
status | ClassStatus | |
files | List |
|
Résultat | void |
public GetContextMenu ( |
||
owner | ||
tag | object | |
Résultat |