Skip to content

AbstractFileCommandHandler.shouldAddToAbstractFilesMenu method

AbstractFileCommandHandler › shouldAddToAbstractFilesMenu

Checks whether the command should appear in the multi-file context menu. Default implementation checks each file individually.

Signature:

shouldAddToAbstractFilesMenu(params: AbstractFileCommandHandlerShouldAddToAbstractFilesMenuParams): boolean

Parameters:

ParameterTypeDescription
paramsAbstractFileCommandHandlerShouldAddToAbstractFilesMenuParamsThe parameters for the multi-file menu check.

Returns: booleanWhether to add to the files menu.