carlw
05/18/2017, 8:47 PMSola
05/18/2017, 8:47 PMController
instance won't be created at startup because lazy constructednimakro
05/18/2017, 8:49 PMSola
05/18/2017, 8:49 PMnimakro
05/18/2017, 8:50 PMSomeController
to SomeModel
if you like that more, the Controller
just allows you to inject the class in the View
nimakro
05/18/2017, 8:53 PMTornadoFx
also offers a ViewModel
but I am not sure why you would need it for your use case, here are the docs to the `ViewModel`https://edvin.gitbooks.io/tornadofx-guide/content/11.%20Editing%20Models%20and%20Validation.htmlSola
05/18/2017, 8:57 PMnimakro
05/18/2017, 8:58 PMSola
05/18/2017, 8:58 PMnimakro
05/18/2017, 8:59 PMnimakro
05/18/2017, 8:59 PMSola
05/18/2017, 9:00 PMedvin
05/18/2017, 9:01 PMnimakro
05/18/2017, 9:02 PMedvin
05/18/2017, 9:02 PMnimakro
05/18/2017, 9:03 PMedvin
05/18/2017, 9:03 PMedvin
05/18/2017, 9:03 PMthomasnield
05/18/2017, 9:21 PMkastork
05/18/2017, 10:15 PMthomasnield
05/18/2017, 11:08 PMkastork
05/18/2017, 11:11 PMthomasnield
05/18/2017, 11:12 PMthomasnield
05/18/2017, 11:13 PMthomasnield
05/18/2017, 11:15 PMkastork
05/18/2017, 11:15 PMthomasnield
05/18/2017, 11:15 PMthomasnield
05/18/2017, 11:16 PMkastork
05/18/2017, 11:16 PMkastork
05/18/2017, 11:20 PMobject
, so you access the singleton in a way similar to Java static method requesting the singleton.