Closed thomasnield closed 7 years ago
When I run the example above it works correct for the idProperty, and generates:
column("Id", Person::idProperty)
It fails for the others though. Looking at it now, but can you confirm the behavior for the id column? It's defined differently in your Person object as well (old style, which probably is the only property style we supported when I created this plugin feature).
Hmm... var name by nameProperty
actually causes the Kotlin PSI structure to include getNameProperty() and setNameProperty()` functions. I just need to strip them out and add support for public fields as well.
tornadofx-idea-plugin.zip Can you try with the attached version of the plugin?
That seemed to work!
The POKO structure still does not seem to be supported. But I'm okay with that if you are.
Just updated documentation.
Ah, sorry I forgot :) Now it supports POKOs as well :)
Hey Edvin,
I'm adding some documentation to the guide on the plugin regarding
TableView
column generation. However, I think the generators are usinggetXXXProperty()
conventions rather thanxxxProperty()
.This is what I get when I generate columns for the
TableView
.Also, I noticed that POKO's do not seem to be supported.