interface WorkAreaService {
    canBeOpenedInTab(entityUris): Promise<boolean>;
    observe_activeEntity(): Observable<unknown>;
    openEntitiesInTabs(entities, background?, options?): Promise<{
        accepted: string[];
        rejected: string[];
    }>;
}

Implemented by

    Methods

    • Opens entities given by their REST URIs in Studio tabs.

      Parameters

      • entities: unknown[]

        the entities given by their URIs.

      • Optional background: boolean

        whether to open the tabs in the background.

      • Optional options: unknown

        an optional object containing further method options. It may contain any of the following properties:

        • focus: whether the app in which this method is called shall be focused. This is 'true' by default.

      Returns Promise<{
          accepted: string[];
          rejected: string[];
      }>

      the promise indicating success or failure.