Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [GEF5] Using GEF5 without JavaFX
[GEF5] Using GEF5 without JavaFX [message #1793563] Fri, 10 August 2018 08:25 Go to next message
Sv Gl is currently offline Sv GlFriend
Messages: 2
Registered: August 2018
Junior Member
Hi,

I'm working on Eclipse with OpenJDK 9, because of that I am not able to add JavaFX to Eclipse.

Is there any way to use GEF 5 without JavaFX?

Thank you for every help!
Re: [GEF5] Using GEF5 without JavaFX [message #1793769 is a reply to message #1793563] Wed, 15 August 2018 13:00 Go to previous messageGo to next message
Matthias Wienand is currently offline Matthias WienandFriend
Messages: 163
Registered: March 2015
Senior Member
GEF is tightly coupled to JavaFX. However, you can use all parts of the framework that do not depend on JavaFX:
- GEF Common (except for the beans.* packages, probably needs some effort to setup)
- GEF Geometry (except for the convert.fx module)
- GEF Graph
- GEF Layout

However, the main MVC.FX component really does need JavaFX. So, you would have to implement custom controllers, exchanging JavaFX Node with another VisualRootType. The same applies to the event handling, i.e. you can reuse some code, but you need to rewrite a lot of code, too, due to event types, event listening, etc.

I believe GEF does provide a nice structure to start with, but it will still be a lot of work.

Best regards,
Matthias
Re: [GEF5] Using GEF5 without JavaFX [message #1793773 is a reply to message #1793769] Wed, 15 August 2018 13:32 Go to previous message
Andrey Loskutov is currently offline Andrey LoskutovFriend
Messages: 80
Registered: July 2009
Member
Matthias, do I understand it right: GEF 5 "as is" can't be used *today* (as full replacement for GEF 3) without Java FX, so one is bound to the JDK from Oracle?
Will it be better with Open JFX / Open JDK 11 (I've heard they moved Java FX out of JDK in 11), or even then GEF 5 will rely somehow on Oracle JDK?
Previous Topic:NullPointerException at ITransformableContentPart
Next Topic:Undo/Redo button, ignore scroll down/up events
Goto Forum:
  


Current Time: Mon Sep 24 09:45:32 GMT 2018

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

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

Back to the top