Skip to content

obsidian/command-handlers/abstract-file-command-handler

Command handler for abstract file commands with file/files menu integration.

ClassDescription
AbstractFileCommandHandlerCommand handler for abstract file commands. Handles both single-file and multi-file context menus. Subclasses override canExecuteAbstractFile and executeAbstractFile.
InterfaceDescription
AbstractFileCommandHandlerConstructorParamsParameters for creating an abstract file command handler.
AbstractFileCommandHandlerHandleAbstractFileMenuParamsParameters for AbstractFileCommandHandler.handleAbstractFileMenu.
AbstractFileCommandHandlerHandleAbstractFilesMenuParamsParameters for AbstractFileCommandHandler.handleAbstractFilesMenu.
AbstractFileCommandHandlerShouldAddToAbstractFileMenuParamsParameters for AbstractFileCommandHandler.shouldAddToAbstractFileMenu.
AbstractFileCommandHandlerShouldAddToAbstractFilesMenuParamsParameters for AbstractFileCommandHandler.shouldAddToAbstractFilesMenu.