Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RunMenu

An extensible Run menu for the application.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new RunMenu(options: Menu.IOptions): RunMenu
  • Construct the run menu.

    Parameters

    • options: Menu.IOptions

    Returns RunMenu

Properties

Readonly codeRunners

codeRunners: Set<ICodeRunner<Widget>>

A set storing ICodeRunner for the Run menu.

Notes

The key for the set may be used in menu labels.

Readonly menu

menu: Menu

The underlying Phosphor menu.

Accessors

isDisposed

  • get isDisposed(): boolean
  • Whether the menu has been disposed.

    Returns boolean

Methods

addGroup

  • addGroup(items: Menu.IItemOptions[], rank?: number): IDisposable
  • Add a group of menu items specific to a particular plugin.

    Parameters

    • items: Menu.IItemOptions[]

      the list of menu items to add.

    • Optional rank: number

      the rank in the menu in which to insert the group.

    Returns IDisposable

dispose

  • dispose(): void

Generated using TypeDoc