FileCommandHandler.shouldAddToFileMenu method
FileCommandHandler › shouldAddToFileMenu
Checks whether the command should appear in the single-file context menu.Signature:
shouldAddToFileMenu(params: FileCommandHandlerShouldAddToFileMenuParams): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| params | FileCommandHandlerShouldAddToFileMenuParams | The parameters for the single-file menu check. |
Returns: boolean — Whether to add to the file menu.