The following instructions describe how to set up the Eclipse E4 RCP Integration Demo.
- We recommend to install an all-in-one download , that provides preconfigured packages for developing Eclipse E4 RCP applications with JavaFX. It may be necessary to additionally install the latest updates: Click on Help and select Check for Updates .
- Alternatively you can assemble your own e(fx)clipse installation based on Eclipse SDK by following the instructions on e(fx)clipse .
- Start your Eclipse IDE.
- Click on File and select Import .
- Choose Existing Projects into Workspace which is located under General and click Next .
- In Select root directory , browse to your yFiles installation folder and select the folder
demos/src-eclipsercp/integration/eclipsercp
.
- Copy your license file into the
src
folder of the demo project. - Copy the
yfiles-for-javafx.jar
that is located in thelib
directory of your yFiles for JavaFX installation into thelib
folder of the demo project. - Open the product file
com.yworks.yEdLite.product
within Eclipse. - Select the Contents tab and click on Add Required Plug-ins .
- Open the product file
com.yworks.yEdLite.product
within Eclipse again. - Select the Overview tab and click on Launch an Eclipse application or Launch an Eclipse application in Debug mode .
To run the demo on Linux you should
- either add an environment variable
SWT_GTK3
with value0
: open the Run Configurations dialog, select the Environment tab and add the new variable. See Eclipse Forum . - Or use at least Java 9 as execution environment: open the
com.yworks.yEdLite.product
file, select the Lauching tab and choose at least Java 9 as Execution Environment .