C# Class _3PA.MainFeatures.FileExplorer.FileExplorer

Afficher le fichier Open project: jcaillon/3P Class Usage Examples

Méthodes publiques

Свойство Type Description
DockableCommandIndex int

Méthodes publiques

Méthode Description
ApplyColorSettings ( ) : void

Use this to redraw the docked form

ForceClose ( ) : void
ListFileOjectsInDirectory ( string dirPath, bool recursive = true, bool includeFolders = true, bool firstCall = true ) : List

Add each files/folders of a given path to the output List of FileObject, can be set to be recursive, can be set to not add the subfolders in the results

RebuildFileList ( ) : void

Refresh the files list

RedrawFileExplorerList ( ) : void

Just redraw the file explorer ovl list, it is used to update the "selected" scope when the user changes the current document

StartSearch ( ) : void

Start a new search for files

Toggle ( ) : void

Toggle the docked form on and off, can be called first and will initialize the form

Toggle ( bool doShow ) : void
UpdateMenuItemChecked ( ) : void

Either check or uncheck the menu, depending on the visibility of the form (does it both on the menu and toolbar)

Private Methods

Méthode Description
Init ( ) : void

Initialize the form

Method Details

ApplyColorSettings() public static méthode

Use this to redraw the docked form
public static ApplyColorSettings ( ) : void
Résultat void

ForceClose() public static méthode

public static ForceClose ( ) : void
Résultat void

ListFileOjectsInDirectory() public static méthode

Add each files/folders of a given path to the output List of FileObject, can be set to be recursive, can be set to not add the subfolders in the results
public static ListFileOjectsInDirectory ( string dirPath, bool recursive = true, bool includeFolders = true, bool firstCall = true ) : List
dirPath string
recursive bool
includeFolders bool
firstCall bool
Résultat List

RebuildFileList() public static méthode

Refresh the files list
public static RebuildFileList ( ) : void
Résultat void

RedrawFileExplorerList() public static méthode

Just redraw the file explorer ovl list, it is used to update the "selected" scope when the user changes the current document
public static RedrawFileExplorerList ( ) : void
Résultat void

StartSearch() public static méthode

Start a new search for files
public static StartSearch ( ) : void
Résultat void

Toggle() public static méthode

Toggle the docked form on and off, can be called first and will initialize the form
public static Toggle ( ) : void
Résultat void

Toggle() public static méthode

public static Toggle ( bool doShow ) : void
doShow bool
Résultat void

UpdateMenuItemChecked() public static méthode

Either check or uncheck the menu, depending on the visibility of the form (does it both on the menu and toolbar)
public static UpdateMenuItemChecked ( ) : void
Résultat void

Property Details

DockableCommandIndex public_oe static_oe property

public static int DockableCommandIndex
Résultat int