scenebuilder and migpane
Eric Le Ponner
eric.le.ponner at oracle.com
Mon Jan 6 12:24:37 PST 2014
Le 6 janv. 2014 à 17:19, Richard Bair <richard.bair at oracle.com> a écrit :
>> MigLayout is a very popular layout engine in Swing and SWT (and also gaining ground on Android), I think it would be good for SceneBuilder to better support MigLayout.
>
> +1, I’d love to see enough support in SceneBuilder that any 3rd party layout container could supply editor support, so that the SceneBuilder team doesn’t have to hard code support for different layout containers. This was one of the goals of the “Design Time API for Java Beans” JSR (273, or 277? I don’t remember) to do the same for Swing. We haven’t got that far with Scene Builder but I think the idea is great.
The idea is great I agree.
However defining an API that opens the user interactive gestures of a tool like SB
is not a trivial task. And FXML brings some additional complexity.
IMHO the "Design Time API" from JSR 273 would require several amendments to be
implementable in the context of SB.
May be for SB 4.0 ?… ;)
> MigLayout is widely used enough that we could just add hard-coded support for it (maybe you or another person could contribute that?). Ideally it would be something any 3rd party layout vendor could provide — but in practice there are not that many widely used 3rd party layouts — even in the Swing world.
In the middle term, I think hard-coded support is probably the best option, I think.
>
> Richard
Eric
More information about the openjfx-dev
mailing list