Class: Plugin

    plugin/lib .Plugin

    Plugins should call Headlamp.registerPlugin(pluginId: string, pluginObj: Plugin) to register themselves.

    They will have their initialize(register) method called at plugin initialization time.

    Constructors

    constructor

    new Plugin()

    Methods

    initialize

    Abstract initialize(register): boolean

    initialize is called for each plugin with a Registry which gives the plugin methods for doing things.

    see Registry

    Parameters

    Name Type
    register Registry

    Returns

    boolean

    Defined in

    plugin/lib.ts:94