Theia API Documentation v1.65.0
    Preparing search index...
    interface OpenWithHandler {
        iconClass?: string;
        id: string;
        label?: string;
        providerName?: string;
        canHandle(uri: URI): number;
        getOrder?(uri: URI): number;
        open(uri: URI): MaybePromise<undefined | object>;
    }
    Index

    Properties

    iconClass?: string

    A css icon class of this handler.

    id: string

    A unique id of this handler.

    label?: string

    A human-readable name of this handler.

    providerName?: string

    A human-readable provider name of this handler.

    Methods

    • Test whether this handler can open the given URI for given options. Return a nonzero number if this handler can open; otherwise it cannot. Never reject.

      A returned value indicating a priority of this handler.

      Parameters

      Returns number