Re: custom FXML builders in SceneBuilder

2014-01-21 Thread Tom Eugelink
Hi Eric, Any chance you had time to look into this? Tom On 2014-1-3 12:19, Eric Le Ponner wrote: I will look at that and come back to you middle of next week. Eric Le 3 janv. 2014 à 12:12, Tom Eugelink t...@tbee.org a écrit : I think there are two usages of builders: - construct

Re: custom FXML builders in SceneBuilder

2014-01-21 Thread Eric Le Ponner
Hi Tom, Sorry, I was a bit optimistic and found no time to look at it. I'll give a try this week. Eric Le 21 janv. 2014 à 11:00, Tom Eugelink t...@tbee.org a écrit : Hi Eric, Any chance you had time to look into this? Tom On 2014-1-3 12:19, Eric Le Ponner wrote: I will look

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Eric Le Ponner
When Scene Builder 2.0 found a custom components, it instantiates it using FXMLLoader without making any specific builder setup. So FXMLLoader uses the default JavaFX builder factory. Since builders are deprecated, I'm not sure it make sense for SB to have dependency on them. Eric Le 3

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Tom Eugelink
I think there are two usages of builders: - construct compontents / controls programatically (ending in the build() call). - mapping of FXML attributes to node properties, because in FXML everything must be a string. For example, CalendarTextField has no builder class in the first sense (I

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Eric Le Ponner
I will look at that and come back to you middle of next week. Eric Le 3 janv. 2014 à 12:12, Tom Eugelink t...@tbee.org a écrit : I think there are two usages of builders: - construct compontents / controls programatically (ending in the build() call). - mapping of FXML attributes to node

Re: custom FXML builders in SceneBuilder

2014-01-03 Thread Tom Schindl
IIRC we agreed while talking about the annotation replacement for builders that we'll later add a possibility to set a converter on properties through annotations - back then we only talked about constructors but this could be expanded to any property. Tom On 03.01.14 12:12, Tom Eugelink wrote: