OpenFinApi
The OpenFin plugin: notifications, and starting or stopping live data.
export interfaceMethods
| Method | Returns | Description |
|---|---|---|
| getCurrentLiveOpenFinReport() | OpenFinReport | undefined | Retrieves the OpenFin currently sending live data to Excel |
| getOpenFinState() | OpenFinState | undefined | Retrieves the OpenFin section of System State |
| getOpenFinThrottleTime() | number | undefined | Retrieves the Throttle time for live updates |
| getPluginOptions() | OpenFinPluginOptions | Retrieves the OpenFinPlugOptions provided in OpenFin Plugin |
| isOpenFinAvailable() | boolean | Whether OpenFin is available |
| isOpenFinRunning() | boolean | Whether OpenFin is currently running |
| showNotification(notification) | void | Shows a notification in OpenFin |
| showNotificationForAlert(alert) | void | Displays Alert as an OpenFin Notification |
| startLiveData(OpenFinReport) | void | Runs Report in Excel as Live Report (so updates as AdapTable ticks) |
| stopLiveData() | void | Stops live data; data will no longer be sent from AdapTable to Excel |
Method Details
getCurrentLiveOpenFinReport
Retrieves the OpenFin currently sending live data to Excel
getCurrentLiveOpenFinReport(): OpenFinReport | undefined;Returns
The OpenFin currently sending live data to Excel
OpenFinReport | undefined
getOpenFinState
Retrieves the OpenFin section of System State
getOpenFinState(): OpenFinState | undefined;Returns
The OpenFin section of System State
OpenFinState | undefined
getOpenFinThrottleTime
Retrieves the Throttle time for live updates
getOpenFinThrottleTime(): number | undefined;Returns
The Throttle time for live updates
number | undefined
getPluginOptions
Retrieves the OpenFinPlugOptions provided in OpenFin Plugin
getPluginOptions(): OpenFinPluginOptions;Returns
The OpenFinPlugOptions provided in OpenFin Plugin
isOpenFinAvailable
Whether OpenFin is available
isOpenFinAvailable(): boolean;Returns
true when OpenFin is available
boolean
isOpenFinRunning
Whether OpenFin is currently running
isOpenFinRunning(): boolean;Returns
true when OpenFin is currently running
boolean
showNotification
Shows a notification in OpenFin
showNotification(notification: any): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| notification | any | OpenFin notification to show |
Returns
void
showNotificationForAlert
Displays Alert as an OpenFin Notification
showNotificationForAlert(alert: AdaptableAlert): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| alert | AdaptableAlert | Alert to display |
Returns
void
startLiveData
Runs Report in Excel as Live Report (so updates as AdapTable ticks)
startLiveData(OpenFinReport: OpenFinReport): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| OpenFinReport | OpenFinReport | Report to Run |
Returns
void
stopLiveData
Stops live data; data will no longer be sent from AdapTable to Excel
stopLiveData(): void;Returns
void