Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileDownloadCommandContribution

Hierarchy

  • FileDownloadCommandContribution

Implements

  • CommandContribution

Index

Constructors

constructor

Properties

Protected Readonly downloadService

downloadService: FileDownloadService

Protected Readonly selectionService

selectionService: SelectionService

Methods

Protected executeDownload

  • executeDownload(uris: default[], options?: { copyLink?: boolean }): Promise<void>

Protected isDownloadEnabled

  • isDownloadEnabled(uris: default[]): boolean

Protected isDownloadVisible

  • isDownloadVisible(uris: default[]): boolean

registerCommands

  • registerCommands(registry: CommandRegistry): void