Say, I have an application based on the e4 platform using pure JavaFX instead of SWT as a rendering technology, like this one. Does it still need some SWT libraries indirectly? After all, the Eclipse platform is based on SWT. Am I understanding it the right way? I can't see any direct dependencies from the Dependencies tab as following though.
The Rich Client Platform (RCP) is an exciting new way to build Java applications that can compete with native applications on any platform. This tutorial is designed to get you started building RCP applications quickly. It has been updated for Eclipse 3.1.2.
Eclipse 4 is the next generation platform for building Eclipse-based tools and rich client desktop applications. This new release makes it easier for developers to develop and assemble applications and tools based on the Eclipse platform.
The core of Eclipse 4 is not based on SWT. The UI toolkit used for Eclipse is defined by a set of renderers. Each renderer is responsible for showing a particular object from the application model (part stack, toolbar, and so on).
The standard renderers use SWT but e(fx)clipse changes this to a set using JavaFX.
A single renderer factory is used to create all these renderers. The renderer factory is defined by the rendererFactoryUri
property of the org.eclipse.core.runtime.products
extension point.
This only applies to the Eclipse core, lots of Eclipse plug-ins are coded using SWT directly and would have to be rewritten to use JavaFX.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With