Ticket #646 (closed Enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Webclient: the topicmaps menu should be exposed

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.3
Component: DeepaMehta Standard Distribution Version: 4.2
Keywords: Cc: dgf, Malte, carolina
Complexity: 3 Area: Application Framework / API
Module: deepamehta-topicmaps

Description

... so that 3rd party developers can attach its own items to it.

Change History

comment:1 Changed 6 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 6 years ago by Jörg Richter

Topicmaps API: post_refresh_topicmap_menu (#646).

New Webclient event:

"post_refresh_topicmap_menu"

It is fired each time the topicmap menu is build. One argument is passed to the event handler: the topicmap menu.

This event allows 3rd party plugins to attach it own commands to the topicmap menu. Example:

dm4c.add_listener("post_refresh_topicmap_menu", function(topicmap_menu) {
    topicmap_menu.add_separator()
    topicmap_menu.add_item(...)
})

See #646.

comment:3 Changed 6 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.