Hierarchy

  • ToolActivateMgr

Properties

groups_: Object
scope_: IScope

The scope.

Methods

  • Activate the default tool in the given group if no other tool is active.

    Parameters

    • groupName: string

      Name of the group.

    Returns void

  • Deactivate all tools except the given one.

    Parameters

    • groupName: string

      Name of the group.

    • tool: default

      Tool to activate.

    Returns void

  • Register a tool.

    Parameters

    • groupName: string

      Name of the group of this tool.

    • tool: default

      Tool to register.

    • Optional opt_defaultActivate: boolean

      If true, this tool will be activated when all other tools in the group are deactivated.

    Returns void

  • Unregister each tool from a group.

    Parameters

    • groupName: string

      Name of the group of tools to unregister.

    Returns void

  • Unregister a tool from a group.

    Parameters

    • groupName: string

      Name of the group of this tool.

    • tool: default

      Tool to unregister.

    Returns void

Generated using TypeDoc