[GEF5] Using GEF5 without JavaFX [message #1793563] |
Fri, 10 August 2018 04:25  |
Eclipse User |
|
|
|
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 09:00   |
Eclipse User |
|
|
|
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 #1801042 is a reply to message #1793773] |
Fri, 11 January 2019 10:40  |
Eclipse User |
|
|
|
Hi Andrey,
GEF does not rely on Oracle JDK and should work fine with OpenJFX. The JavaFX code was developed openly for a longer period of time already, so the transition should not really hurt.
I still have to test GEF with Java 11, so I cannot give you details on that right now.
Best regards,
Matthias
|
|
|
Powered by
FUDForum. Page generated in 0.03595 seconds