Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
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/ | + | * https://github.com/swt-javafx/eclipse.platform.ui/ |
− | * https://github.com/swt-javafx/eclipse.platform.text/ | + | * https://github.com/swt-javafx/eclipse.platform.text/ |
− | * https://github.com/swt-javafx/eclipse.jdt.ui/ | + | * 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 06:37, 19 January 2014
Contents
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
How to contribute
- Sign an Eclipse CLA - we won't accept pull requests, patches, ... without the CLA although the codebase is still at bitbucket
- Get JDK8Beta > b120 from https://jdk8.java.net/download.html
- Get Eclipse 4.3 SR 1 from http://download.eclipse.org/eclipse/downloads/drops4/R-4.3.1-201309111000/
- Install EGit-Team Provider
- Install JDTBeta8 feature patches from http://dist.springsource.com/snapshot/TOOLS/java8/e43
- Install e(fx)clipse tooling
- Get familiar with the codebase
- Show up at https://groups.google.com/forum/?fromgroups=#!forum/swt-javafx and ask questions, and inform others what you plan to work on
- (optional) File a bugzilla https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Efxclipse&component=Runtime&short_desc=%5Bswtfx%5D
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:
- https://github.com/swt-javafx/eclipse.platform.ui/
- https://github.com/swt-javafx/eclipse.platform.text/
- https://github.com/swt-javafx/eclipse.jdt.ui/
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 |