Skip to main content
Jump to: navigation, search

Difference between revisions of "Efxclipse/SWTonFX"

(Workbench)
(Workbench)
Line 26: Line 26:
 
== Workbench ==
 
== Workbench ==
  
For those of you who want to run the Eclipse IDE on top of JavaFX you should clone the following repos as well and use the efx_tmp branch:
+
For those of you who want to run the Eclipse IDE on top of JavaFX you should clone the following repos as well and use the '''efx_tmp''' branch:
  
* https://github.com/swt-javafx/eclipse.platform.ui/tree/efx_tmp
+
* https://github.com/swt-javafx/eclipse.platform.ui/
* https://github.com/swt-javafx/eclipse.platform.text/tree/efx_tmp
+
* https://github.com/swt-javafx/eclipse.platform.text/
* https://github.com/swt-javafx/eclipse.jdt.ui/tree/efx_temp
+
* https://github.com/swt-javafx/eclipse.jdt.ui/
  
 
You need to import the following projects:
 
You need to import the following projects:
Line 45: Line 45:
 
* org.eclipse.ui.ide.workbench - swt - git.launch: which uses the native SWT-Port
 
* org.eclipse.ui.ide.workbench - swt - git.launch: which uses the native SWT-Port
 
* org.eclipse.ui.ide.workbench-git.launch: which uses SWT on JavaFX
 
* org.eclipse.ui.ide.workbench-git.launch: which uses SWT on JavaFX
 +
 +
You have to launch the "''org.eclipse.ui.ide.workbench - swt - git.launch''" and switch to the <strong>Java Perspective</strong> before you start the "''org.eclipse.ui.ide.workbench-git.launch''" for the first time.
  
 
<strong>THERE ARE MANY - IF NOT MOST - THINGS BROKEN</strong>
 
<strong>THERE ARE MANY - IF NOT MOST - THINGS BROKEN</strong>

Revision as of 05:37, 19 January 2014


What is it

SWT on JavaFX is an experimental SWT port sitting on top of JavaFX. It's main task is to built a compat story to move the Eclipse IDE away from SWT to JavaFX.

Eclipse on FX state

Eclipse fx.png

How to contribute

Workbench

For those of you who want to run the Eclipse IDE on top of JavaFX you should clone the following repos as well and use the efx_tmp branch:

You need to import the following projects:

  • org.eclipse.e4.ui.workbench
  • org.eclipse.e4.ui.workbench.renderers.swt
  • org.eclipse.e4.ui.workbench.swt
  • org.eclipse.jface
  • org.eclipse.jface.text
  • org.eclipse.search
  • org.eclipse.ui.ide.application
  • org.eclipse.jdt.ui

You can launch 2 different inner Eclipse:

  • org.eclipse.ui.ide.workbench - swt - git.launch: which uses the native SWT-Port
  • org.eclipse.ui.ide.workbench-git.launch: which uses SWT on JavaFX

You have to launch the "org.eclipse.ui.ide.workbench - swt - git.launch" and switch to the Java Perspective before you start the "org.eclipse.ui.ide.workbench-git.launch" for the first time.

THERE ARE MANY - IF NOT MOST - THINGS BROKEN

Contributions

Generally speaking any contribution is welcome. An easy way to contribute is to port one of the SWT-Snippets http://www.eclipse.org/swt/snippets/ to the at.bestsolution.efxclipse.runtime.examples.swt-bundle. The code currently holds a lot of calls to Util.logNotImplemented() track them down and implement them so that they do the same as they do in the other SWT ports

Components

Component Bug-Id Status Remarks
Image Finished
Button Main methods done
Canvas
Caret
ColorDialog
Combo
Composite
Control
CoolBar
CoolItem
DateTime
Decorations
Dialog
DirectoryDialog
Display
Event
EventTable
FileDialog
FontDialog
Group
Item
Label
Link
List
Menu
MenuItem
MessageBox
Monitor
ProgressBar
Sash
Scale
Scrollbar
Shell
Slider
Spinner JavaFX control missing
TabFolder
TabItem
Table SWT.EarseItem not supported
TableColumn
TableItem
TaskBar
TaskItem
Text Main methods done
ToolBar
ToolItem
ToolTip
Tracker
Tray
TrayItem
Tree TreeTable support is missing, SWT.EarseItem not supported
TreeColumn
CTabFolder Initial version working
StyledText TextLayout port has to be finished

Copyright © Eclipse Foundation, Inc. All Rights Reserved.