Skip to content

AbstractFileCommandHandler.isMenuCommand method

AbstractFileCommandHandler › isMenuCommand

Whether the command can appear in a context menu: whether the subclass overrides shouldAddToAbstractFileMenu or shouldAddToAbstractFilesMenu. FileCommandHandler and FolderCommandHandler ask the same of their own file and folder hooks.

Signature:

isMenuCommand(): boolean

Returns: boolean — Whether the command is a context-menu command.