Scene Builder integration with Eclipse [message #1403622] |
Thu, 24 July 2014 16:19 |
Cristina Fierbinteanu Messages: 1 Registered: July 2014 Location: Bucharest |
Junior Member |
|
|
Hello,
I installed e(fx)clipse from http://download.eclipse.org/efxclipse/updates-nightly/site/, created a Java FX FXML Application, opened its FXML file with Scene Builder (from Eclipse's menu) and defined a simple GUI with several buttons and labels.
I would have expected, when I add fx:id and action handlers in the Code fields, to have code automatically generated in the Java Controller class, but this doesn't happen. I would have also expected to be taken directly to the place in the Java Controller that defines a component or a handler, when I click on it in Scene Buider, but this doesn't happen either.
Apart from the fact that I can open an FXML file from the Eclipse menu, my Scene Builder seems to be running independently from Eclipse.
I'm wondering if this is how it is supposed to work, or I am missing something...
I use Eclipse Luna in Windows 7.
I would be grateful for any comment or suggestion, as I am new to Scene Builder but very enthusiastic about using it with Eclipse.
Many thanks,
Cristina
|
|
|
Re: Scene Builder integration with Eclipse [message #1403640 is a reply to message #1403622] |
Thu, 24 July 2014 18:18 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Hi,
We don't yet have a deeper integration with SceneBuilder - there's a bug
report [1] requesting deeper integration.
What we currently have is a Textual FXML-Editor which supports:
* auto-complete
* auto-fix for controller methods/fields
Simply double click the file.
We also provide a live preview of the FXML (you can open it using Window
> Show View > JavaFX > JavaFX Preview)
Tom
[1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=408408
On 24.07.14 18:58, Cristina Fierbinteanu wrote:
> Hello,
>
> I installed e(fx)clipse from
> http://download.eclipse.org/efxclipse/updates-nightly/site/, created a
> Java FX FXML Application, opened its FXML file with Scene Builder (from
> Eclipse's menu) and defined a simple GUI with several buttons and labels.
> I would have expected, when I add fx:id and action handlers in the Code
> fields, to have code automatically generated in the Java Controller
> class, but this doesn't happen. I would have also expected to be taken
> directly to the place in the Java Controller that defines a component or
> a handler, when I click on it in Scene Buider, but this doesn't happen
> either.
>
> Apart from the fact that I can open an FXML file from the Eclipse menu,
> my Scene Builder seems to be running independently from Eclipse.
>
> I'm wondering if this is how it is supposed to work, or I am missing
> something...
>
> I use Eclipse Luna in Windows 7.
>
> I would be grateful for any comment or suggestion, as I am new to Scene
> Builder but very enthusiastic about using it with Eclipse.
>
> Many thanks,
>
> Cristina
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06290 seconds