Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EditMenu

An extensible Edit menu for the application.

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new EditMenu(options: IOptions): EditMenu

Properties

clearers

clearers: Set<IClearer<Widget>>

A set storing IClearers for the Edit menu.

goToLiners

goToLiners: Set<IGoToLiner<Widget>>

A set storing IGoToLiners for the Edit menu.

menu

menu: Menu

The underlying Phosphor menu.

undoers

undoers: Set<IUndoer<Widget>>

A set storing IUndoers for the Edit menu.

Accessors

isDisposed

  • get isDisposed(): boolean

Methods

addGroup

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

    Parameters

    • items: 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