Theia API Documentation v1.65.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: undefined | Object): MaybePromise<number>;
        provideWidget(
            selection: undefined | Object,
        ): Promise<PropertyViewContentWidget>;
        updateContentWidget(selection: undefined | Object): void;
    }

    Implemented by

    Index

    Properties

    id: string

    A unique id for this provider.

    label?: string

    A human-readable name for this provider.

    Methods

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

      Parameters

      • selection: undefined | Object

        the global selection object

      Returns void

      a resolved property view content widget.