Preparing search index...
        // IPanelPlugin is the base interface for dockable editor panels.
    // Extend PanelPlugin (which implements IPanelPlugin) and override createWidget().
    const root = new Widget(parent);
    const layout = new BoxLayout();
    layout.setDirection(Direction.TopToBottom);
    root.layout = layout;

    const label = new Label(root);
    label.text = 'This panel implements IPanelPlugin via PanelPlugin.';
    label.wordWrap = true;
    layout.addWidget(label);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    id: string
    title: string

    Read-only string displayed as the panel's title.

    widget: Widget

    Read-only UI widget rendered inside the panel.

    Methods

    • Returns the name of this object's type.

      Returns string

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object refers to the same instance as the given object.

      Parameters

      Returns boolean