Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileNavigatorContribution

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected Readonly clipboardService

clipboardService: ClipboardService

Protected Readonly commandRegistry

commandRegistry: CommandRegistry

Protected Readonly contextKeyService

contextKeyService: NavigatorContextKeyService

Protected Readonly fileNavigatorFilter

fileNavigatorFilter: FileNavigatorFilter

Protected Readonly fileNavigatorPreferences

fileNavigatorPreferences: FileNavigatorPreferences

Protected Readonly menuRegistry

menuRegistry: MenuModelRegistry

Protected Readonly navigatorDiff

navigatorDiff: NavigatorDiff

Protected Readonly openerService

openerService: OpenerService

Protected Readonly options

Protected Readonly preferenceService

preferenceService: PreferenceService

Protected Readonly quickView

quickView: QuickViewService

Protected Readonly selectionService

selectionService: SelectionService

Protected Readonly shell

Protected Readonly tabbarToolbarRegistry

tabbarToolbarRegistry: TabBarToolbarRegistry

Private Readonly toDisposeAddRemoveFolderActions

toDisposeAddRemoveFolderActions: DisposableCollection = new DisposableCollection()

Optional Readonly toggleCommand

toggleCommand: Command

Protected Readonly widgetManager

widgetManager: WidgetManager

Protected Readonly workspaceCommandContribution

workspaceCommandContribution: WorkspaceCommandContribution

Protected Readonly workspacePreferences

workspacePreferences: WorkspacePreferences

Protected Readonly workspaceService

workspaceService: WorkspaceService

Accessors

defaultViewOptions

viewId

  • get viewId(): string

viewLabel

  • get viewLabel(): string

widget

Methods

closeView

collapseFileNavigatorTree

  • collapseFileNavigatorTree(): Promise<void>

Protected getSelectedFileNodes

Protected init

  • init(): Promise<void>

initializeLayout

Protected onCurrentWidgetChangedHandler

  • onCurrentWidgetChangedHandler(): void

Private onDidCreateNewResource

onStart

openView

refreshWorkspace

  • refreshWorkspace(): Promise<void>

registerCommands

registerKeybindings

registerMenus

registerMoreToolbarItem

registerToolbarItems

selectWidgetFileNode

  • selectWidgetFileNode(widget: Widget | undefined): Promise<void>
  • Reveals and selects node in the file navigator to which given widget is related. Does nothing if given widget undefined or doesn't have related resource.

    Parameters

    • widget: Widget | undefined

      widget file resource of which should be revealed and selected

    Returns Promise<void>

toggleView

tryGetWidget

Private updateAddRemoveFolderActions

Protected withWidget

  • withWidget<T>(widget?: Widget | undefined, cb: (navigator: FileNavigatorWidget) => T): T | false