For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/interfaces/IActionBar.md.

Interface: IActionBar experimental

Beta

Manager for IActionBarItem objects.

Methods

registerItem()

registerItem(id, action, props): IActionBarItem

Beta

Parameters

id

string

Unique item identifier.

action

RegisteredAction<NoArgsAction>

Action to be invoked.

props

IActionBarItemCreationParams

Configuration for the item to create.

Returns

IActionBarItem

Remarks

Add a new action bar item to the collection.


unregisterItem()

unregisterItem(id): void

Beta

Parameters

id

string

Unique item identifier.

Returns

void

Remarks

Remove an action item from the collection.