Theia API Documentation v1.67.0
    Preparing search index...

    A contribution interface for handling split operations on different editor types. Implementations should handle specific editor widget types (e.g., text editors, notebook editors).

    interface SplitEditorContribution<W extends Widget = Widget> {
        canHandle(widget: Widget): number;
        split(widget: W, splitMode: DockLayout.InsertMode): Promise<undefined | W>;
    }

    Type Parameters

    • W extends Widget = Widget

      the specific widget type this contribution handles

    Implemented by

    Index

    Methods