public property viewMode as FileSystemViewMode
Controls context actions and all public mutation methods. Changing to READ_ONLY also closes pending editors and context menus.
tree.viewMode = FileSystemViewMode.READ_ONLY