Preparing search index...

    Describes a workspace layout, holding its serialized layout data and associated metadata.

        // Workspaces.Descriptor defines a workspace layout preset.
    // Properties: metadata (Workspaces.Metadata), layoutReader (IReader).
    const desc = new Workspaces.Descriptor();
    const meta = new Workspaces.Metadata();
    meta.name = 'Custom Layout';
    meta.icon = Editor.Icon.fromFile(new Editor.Path('workspace-icon.svg'));
    desc.metadata = meta;

    console.log('Workspace descriptor name:', desc.metadata.name);

    // Register with IWorkspaceManager
    const gui = this.pluginSystem.findInterface(IGui.interfaceId) as IGui;
    const mgr = gui.workspaces;
    console.log('Registered:', mgr.isRegistered(desc));
    Index

    Constructors

    Properties

    Constructors

    Properties

    layoutReader: IReader

    Function that reads and returns the layout configuration for the workspace.

    metadata: Metadata

    Metadata associated with the workspace descriptor, such as display name and other identifying properties.