Interface ActionDefinitionFactory

Provides additional action definitions to the TOC.

Use the interface name toc.ActionDefinitionFactory to register an implementation with the system.

interface ActionDefinitionFactory {
    createDefinitionById(id): undefined | ActionDefinition;
    supportedIds: readonly string[];
}

Properties

supportedIds: readonly string[]

A list of action ids supported by this factory.

Ids listed here can be used as an argument to createDefinitionById.

Methods

  • Constructs an action definition for the given id.

    Parameters

    • id: string

    Returns undefined | ActionDefinition

Generated using TypeDoc