Caplin Trader 5.0.0

Class: module:ct-trading/workbench/ui/StateModelVisualiser

module:ct-trading/workbench/ui/StateModelVisualiser(oStateMonitor, oTradeMessageService, pHappyPathStateNames)

new module:ct-trading/workbench/ui/StateModelVisualiser(oStateMonitor, oTradeMessageService, pHappyPathStateNames)

Creates a WorkbenchComponent that visualises trade state and allows for a states within a trade model to be stepped through.

Parameters:
Name Type Description
oStateMonitor module:ct-trading/workbench/model/StateMachineMonitor

The monitor.

oTradeMessageService module:ct-trading/trademodel/TradeMessageService

The message service for trading.

pHappyPathStateNames Array

An array of state names that will be used to traverse over when auto executing state changes.

Implements:

Methods

getElement()

Implements:
Returns:

the top level element