Preparing search index...

    Base descriptor class for editor plugins, extended by panel and editor plugin descriptor types.

        // EditorDescriptor extends PanelDescriptor.
    // It is the base descriptor for EditorPlugin — plugins that edit specific entities.
    // EditorDescriptor adds no extra properties; it inherits everything from PanelDescriptor.
    // EditorPlugin.Descriptor extends EditorDescriptor and adds canEdit(entity) callback.
    const root = new Widget(parent);
    const layout = new BoxLayout();
    layout.setDirection(Direction.TopToBottom);
    layout.spacing = 6;
    root.layout = layout;

    const title = new Label(root);
    title.text = 'EditorDescriptor';
    title.fontRole = FontRole.TitleBold;
    layout.addWidget(title);

    const desc = new Label(root);
    desc.text = 'Marker subclass of PanelDescriptor used by EditorPlugin. Inherits: defaultDockState, defaultSize, isUnique, menuActionHierarchy, minimumSize, toolbarConfig.';
    desc.wordWrap = true;
    layout.addWidget(desc);

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    defaultDockState: DockState

    Initial dock state of the panel when first opened.

    defaultSize: Size

    Default size of the panel when first created.

    dependencies: InterfaceId[]

    Array of interface IDs that this plugin requires to function.

    description: string

    Human-readable description of the plugin shown in the plugin manager.

    id: string

    Unique identifier for the plugin, typically in reverse domain notation.

    interfaces: InterfaceId[]

    Array of interface IDs that this plugin provides or implements.

    isUnique: boolean

    Whether only one instance of this panel can exist at a time.

    menuActionHierarchy: string[]

    Menu path segments used to place this panel in the application menu.

    minimumSize: Size

    Minimum allowed size of the panel.

    name: string

    Display name of the plugin.

    toolbarConfig?: ToolbarConfig

    Optional toolbar configuration to display in the panel.

    Methods

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

      Parameters

      • type: string

      Returns boolean