Class VimMate::FilesWindow
In: lib/vimmatelib/files_window.rb
Parent: Object

The window that contains the file tree

Methods

Constants

NAME = 0   Column for the file name
PATH = 1   Column for the full path of the file
ICON = 2   Column for the icon of the file
SORT = 3   Column used to sort the files
TYPE = 4   Column used to store the type of row
STATUS = 5   Column used to store the status of the file
VISIBLE = 6   Visiblity of row
TYPE_FILE = 0   Type of row: file
TYPE_DIRECTORY = 1   Type of row: directory
TYPE_SEPARATOR = 2   Type of row: separator

Public Class methods

Public Instance methods

Add a block that will be called when the user choose to expand or close the expander. The block takes one argument: if the expander is opened or closed

Add a block that will be called when the user choose to open the menu. The block takes one argument: the path to the file to open.

Add a block that will be called when the user choose to open a file The block take two argument: the path to the file to open, and a symbol to indicate the kind: :open, :split_open, :tab_open

Recursively add a path at the root of the tree

Expand the first row of the file tree

Get the filter: files must contain this string

Set a filter: files must contain this string

Set the focus to the file filter

Set the focus to the file list

Set the focus to the search file list

The "window" for this object

Indicates that the initial file adding is going on. The timer to refresh the list is started after the initial add.

Refresh the file list

[Validate]