Skip to content

AbstractFileCommandHandler.shouldAddToAbstractFileMenu method

AbstractFileCommandHandler › shouldAddToAbstractFileMenu

Checks whether the command should appear in the single-file context menu.

Signature:

shouldAddToAbstractFileMenu(params: AbstractFileCommandHandlerShouldAddToAbstractFileMenuParams): boolean

Parameters:

ParameterTypeDescription
paramsAbstractFileCommandHandlerShouldAddToAbstractFileMenuParamsThe parameters for the single-file menu check.

Returns: booleanWhether to add to the file menu.