interface IModalToolContainer {
    currentTools: IModalTool[];
    addTool(id: string, params: ModalToolCreationParameters): IModalTool;
    focusToolInputContext(): void;
    getSelectedToolId(): string;
    removeTool(id: string): void;
    setSelectedToolId(id: string): void;
}

Properties

currentTools: IModalTool[]

Tools within this container.

Methods

  • Returns void

    Activates input bindings for the selected tool by enabling viewport focus

  • Returns string

    Returns identifier of the selected tool.

  • Parameters

    • id: string

      Name of the tool to remove.

    Returns void

    Remove an existing tool by id from the tool container

  • Parameters

    • id: string

      Identifier of the tool

    Returns void

    Selects a tool in the container.