Caplin Trader 4.7.1

Class: module:caplin/workbench/messaging/MessageEditorPM

module:caplin/workbench/messaging/MessageEditorPM

Constructor

new module:caplin/workbench/messaging/MessageEditorPM()

This is the PresentationModel for message service data editor workbench tool. This tool displays a list of records as a MappedNodeList of module:caplin/workbench/messaging/RecordNodes that have either been configured (in the workbench app) or have received a subscription from the component. For each record, it displays the number of active and paused subscriptions and allows the user to edit data fields. It also displays a "global" panel, whose PresentationModel is module:caplin/workbench/messaging/MessageEditorMainControl, which can be used to change the status of every record simultaneously, and also send updates for all records using each record's given data fields.

Methods

onRecordAdded(record)

Create a new RecordNode corresponding to the given record stub and add it to the list.
Parameters:
Name Type Description
record module:caplin/services/testing/RecordStub newly added record stub