Skip to content

Latest commit

 

History

History

Eclipse RCP

The following instructions describe how to set up the Eclipse E4 RCP Integration Demo.

Set up Eclipse to develop JavaFX

  • 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 .

Import the Eclipse RCP Integration Demo in your workspace

  • 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 .

Enable development of yFiles for JavaFX in Eclipse

  • Copy your license file into the src folder of the demo project.
  • Copy the yfiles-for-javafx.jar that is located in the lib directory of your yFiles for JavaFX installation into the lib 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 .

Starting the demo

  • 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 .

How to run the demo on Linux

To run the demo on Linux you should

  • either add an environment variable SWT_GTK3 with value 0 : 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 .