Skip to main content



      Home
Home » Eclipse Projects » e(fx)clipse » Scene Builder integration with Eclipse (Scene Builder seems to be running independently from Eclipse)
Scene Builder integration with Eclipse [message #1403622] Thu, 24 July 2014 12:19 Go to next message
Eclipse UserFriend
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 14:18 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: Scene Builder integration with Eclipse [message #1425865 is a reply to message #1403640] Wed, 17 September 2014 19:59 Go to previous messageGo to next message
Eclipse UserFriend
Hello everyone, sorry if I ask, but there are any news? Can eclipse automatically generate a Java Controller class?? How??
thanks
Re: Scene Builder integration with Eclipse [message #1426071 is a reply to message #1425865] Thu, 18 September 2014 03:41 Go to previous message
Eclipse UserFriend
No - I filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=444426 and
scheduled it for 1.1.

Tom

On 18.09.14 02:57, Matteo Gagliardi wrote:
> Hello everyone, sorry if I ask, but there are any news? Can eclipse
> automatically generate a Java Controller class?? How?? thanks
Previous Topic:e(fx)clipse not installing on Kepler for some reason.
Next Topic:How to export an e(fx)clipse e4-Media-Application
Goto Forum:
  


Current Time: Wed Jul 23 00:33:44 EDT 2025

Powered by FUDForum. Page generated in 0.28544 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top