Theia API Documentation v1.65.0
    Preparing search index...

    Node representing an action in the menu tree structure. It's based on MenuAction for which it tries to determine the best label, icon and sortString with the given data.

    Implements

    Index

    Constructors

    Properties

    action: MenuAction
    commands: CommandRegistry
    contextKeyService: ContextKeyService
    disposables: DisposableCollection = ...
    keybindingRegistry: KeybindingRegistry
    onDidChange: Event<void> = ...
    onDidChangeEmitter: Emitter<void> = ...

    Accessors

    • get icon(): undefined | string

      Icon classes for the menu node. If present, these will produce an icon to the left of the label in browser-style menus.

      Returns undefined | string

    Methods