Méthode | Description | |
---|---|---|
CustomToolClicked ( object sender, |
A specific custom tool is clicked (selected). Tag contains the tool class.
|
|
GetContextMenu ( |
Builds ands returns a context menu for files
|
|
PanelView ( ) : System |
PanelView constructor
|
|
RegisterToolstripFileButtons ( ToolStripButton>.Dictionary |
||
SelectAll ( ) : void |
Select All function handler: select all files
|
|
SetView ( int mode ) : void |
Sets the current view mode
|
|
ViewRefresh ( ) : void |
Panel view class refresh function
|
|
ViewSetByMenuItem ( object sender, |
Set the view mode by sending a menu item whose Tag contains the mode number. This function is called from a menu handlers that select view mode.
|
Méthode | Description | |
---|---|---|
BtListViewClick ( object sender, |
Toggle between list view and tree view. This button is disabled if there is no repo to view (Status is null)
|
|
GetSelectedDir ( ) : string |
Returns the directory path of a selected file or directory
|
|
GetSelectedFile ( ) : string |
Returns the full path of a single selected file, or empty if no file was selected
|
|
MenuRefresh ( object sender, |
Refresh the tree view pane
|
|
MenuSortFilesByExtensionClick ( object sender, |
Track the checked setting and refresh the local view when changed This button is disabled if there is no repo to view (Status is null)
|
|
MenuViewAddFilesClick ( object sender, |
Add untracked files to Git
|
|
MenuViewCommandClick ( object sender, |
Open command prompt in the directory containing a selected file
|
|
MenuViewDiffClick ( object sender, |
Diff selected file versus one of several options, specified in the Tag field
|
|
MenuViewEditClick ( 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.
|
|
MenuViewExploreClick ( object sender, |
Run the Windows Explorer in the directory containing a selected file
|
|
MenuViewOpenForDeleteClick ( object sender, |
Open files for delete
|
|
MenuViewRemoveFromFsClick ( object sender, |
Remove files from the local file system
|
|
MenuViewRenameClick ( object sender, |
Open a rename file dialog to rename or move one or a set of files
|
|
MenuViewRevHistClick ( object sender, |
Show the revision history dialog for a selected file. This dialog is _not_ modal, so user can view multiple files.
|
|
MenuViewRevertClick ( object sender, |
Discard changes to selected files
|
|
MenuViewUpdateAllClick ( object sender, |
Update changelist (index) with all files that need updating (disregarding the selection) TODO: Disregarding the selection?!?
|
|
MenuViewUpdateChangelistClick ( object sender, |
Update changelist (index) with files that are modified, deleted or renamed
|
|
OnFileChanged ( object source, |
Called by the callback thread when a file that has been watched was changed. We are watching files that user edits in an external editor.
|
|
TreeViewAfterCollapse ( object sender, |
Callback called when user clicks on a node to collapse it
|
|
TreeViewAfterExpand ( object sender, |
Callback called when user clicks on a node to expand it
|
|
TreeViewAfterSelect ( object sender, |
Selection changed. Rebuild the set of allowed operations on the current set of selected files.
|
|
TreeViewDoubleClick ( object sender, |
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")
|
|
TreeViewDragEnter ( object sender, |
||
TreeViewItemDrag ( object sender, |
Drag and drop handler. User selected one or more files and started to drag them (away). Send a set of files through their full path name.
|
|
TreeViewMouseMove ( object sender, MouseEventArgs e ) : void |
As the mouse moves over nodes, show the human readable description of files that the mouse points to
|
|
TreeViewMouseUp ( object sender, MouseEventArgs e ) : void |
Right-mouse button opens a popup with the context menu
|
|
ViewExpand ( |
Traverse tree and expand those nodes which are marked as expanded
|
|
WatchAndRefresh ( string file ) : void |
Sets up a file watcher in order to refresh the view when a file is being modified by an external editor.
|
public CustomToolClicked ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
public GetContextMenu ( |
||
owner | ||
Résultat |
public RegisterToolstripFileButtons ( ToolStripButton>.Dictionary |
||
buttons | ToolStripButton>.Dictionary | |
Résultat | void |
public ViewSetByMenuItem ( object sender, |
||
sender | object | |
e | ||
Résultat | void |