then the main view checks for that interface, and ...
# tornadofx
i
then the main view checks for that interface, and if it is implemented by the tab type to be opened, it does the distinction.