Interface: IWindowService

Window API to create and manage IApplicationWindows.

Properties

all

readonlyall: IApplicationWindow[]

Returns list of IApplicationWindows' created.


main

readonlymain: IApplicationWindow

Returns IApplicationWindow object reference to the main application window where ReviewInterface is running.


relativity

readonlyrelativity: IApplicationWindow

Returns IApplicationWindow object reference to the application window where Relativity is running.

Methods

closeAll()

closeAll(): boolean

Closes all the popup windows that were created except the main and relativity windows.

Returns

boolean


create()

create(config): IApplicationWindow

Creates an application window with provided configuration.

Parameters

config: IApplicationWindowConfig

The configuration for the popup window

Returns

IApplicationWindow

An instance of IApplicationWindow if successful or undefined otherwise.


getWindow()

getWindow(name): IApplicationWindow

Returns IApplicationWindow object of the popup window if it is still open. Otherwise returns undefined.

Parameters

name: string

Name of the popup window that was used to create the window.

Returns

IApplicationWindow