A `CustomerList` displays customers. You double cl...
# tornadofx
e
A
CustomerList
displays customers. You double click a Customer in the TableView and wrap a
CustomerModel
around the selected customer and put it into a new scope. Then you open a
CustomerEditor
in the context of that new scope with
find<CustomerEditor>(Scope(customerModel))
and now the
CustomerEditor
can access the customer model using
val customer: CustomerModel by inject()
.