C# Class _3PA.MainFeatures.FileExplorer.FileExplorer

Exibir arquivo Open project: jcaillon/3P Class Usage Examples

Public Properties

Property Type Description
DockableCommandIndex int

Public Methods

Method 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

Method Description
Init ( ) : void

Initialize the form

Method Details

ApplyColorSettings() public static method

Use this to redraw the docked form
public static ApplyColorSettings ( ) : void
return void

ForceClose() public static method

public static ForceClose ( ) : void
return void

ListFileOjectsInDirectory() public static method

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
return List

RebuildFileList() public static method

Refresh the files list
public static RebuildFileList ( ) : void
return void

RedrawFileExplorerList() public static method

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
return void

StartSearch() public static method

Start a new search for files
public static StartSearch ( ) : void
return void

Toggle() public static method

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

Toggle() public static method

public static Toggle ( bool doShow ) : void
doShow bool
return void

UpdateMenuItemChecked() public static method

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
return void

Property Details

DockableCommandIndex public_oe static_oe property

public static int DockableCommandIndex
return int