Class: ContextMenuManager | Spider Monkey Panel

## ContextMenuManager

`js/foo_spider_monkey_panel.js`, `line 3380`

### Methods

#### BuildMenu(menu_obj, base_id, max_idopt)
`js/foo_spider_monkey_panel.js`, `line 3386`

  ##### Parameters:

  Name | Type | Attributes | Default | Description
  --- | --- | --- | --- | ---
  `menu_obj` | MenuObject |  |  |
  `base_id` | number |  |  |
  `max_id` | number | <optional> | -1 |

#### ExecuteByID(id) → {boolean}
`js/foo_spider_monkey_panel.js`, `line 3392`

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `id` | number |

  ##### Returns:

  boolean

#### InitContext(handle_list)
`js/foo_spider_monkey_panel.js`, `line 3399`

  Initializes context menu by supplied tracks.

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `handle_list` | FbMetadbHandleList |

#### InitContextPlaylist()
`js/foo_spider_monkey_panel.js`, `line 3405`

  Shows playlist specific options that aren't available when passing a handle list to ContextMenuManager#InitContext.

#### InitNowPlaying()
`js/foo_spider_monkey_panel.js`, `line 3412`

  Initializes context menu by currently played track.