Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TabsMenu

An extensible Tabs menu for the application.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new TabsMenu(options: Menu.IOptions): TabsMenu
  • Construct the tabs menu.

    Parameters

    • options: Menu.IOptions

    Returns TabsMenu

Properties

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