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

    The PropertyViewWidgetProvider should be implemented to provide a property view content widget for the given selection..

    interface PropertyViewWidgetProvider {
        id: string;
        label?: string;
        canHandle(selection: Object | undefined): MaybePromise<number>;
        provideWidget(
            selection: Object | undefined,
        ): Promise<PropertyViewContentWidget>;
        updateContentWidget(selection: Object | undefined): void;
    }

    Implemented by

    Index
    id: string

    A unique id for this provider.

    label?: string

    A human-readable name for this provider.

    • Update the widget with the given selection. Never reject if canHandle return a positive number; otherwise should reject.

      Parameters

      • selection: Object | undefined

        the global selection object

      Returns void

      a resolved property view content widget.