Caplin Trader 5.0.0

Class: module:ct-workbench/connectionstatuseditor/WorkbenchConnectionStatusEditor

module:ct-workbench/connectionstatuseditor/WorkbenchConnectionStatusEditor()

new module:ct-workbench/connectionstatuseditor/WorkbenchConnectionStatusEditor()

The WorkbenchConnectionStatusEditor will create a connection state UI representation that can be manually controlled by the user.

This workbench widget will use a module:ct-services/testing/ConnectionServiceStub which can be optionally initialized to start in certain initial state.


To use this class, add it to a module:br-workbench/ui/Workbench object. E.g.
var oWorkbenchConnectionStatusEditor = new caplin.workbench.connectionstatuseditor.WorkbenchConnectionStatusEditor();

workbench.addToLeftWing(oWorkbenchConnectionStatusEditor, 'ConnectionStateEditor');
Implements:

Methods

getElement()

Implements:
See: