WarUI

Plugin Extension Points and Custom Events

GRID-A26-F16P2beyond-baselinePlanned

Plugins can contribute toolbar items, column-menu entries, context-menu entries and status-bar panels. They can also emit namespaced custom events that are typed through declaration merging.

Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with the audit plugin active, which adds a toolbar button and a context menu entry.

Expected behavior

The contributed UI appears and disappears together with the plugin. Custom events are logged with a typed payload.

Planned API surface

contributeToolbarcontributeColumnMenucontributeContextMenucontributeStatusPanelemitnamespacedEvents

Acceptance criteria

  • Contributions are removed on dispose (pending)
  • Custom event names must contain a namespace prefix (pending)
  • Contributions are ordered by a priority field (pending)