Skip to main content
Jump to: navigation, search

Difference between revisions of "Efxclipse/Tutorials/Tutorial3"

(New page: == Create an e4 sample application == Applications based on the e4 platform can use JavaFX instead of SWT as a rendering technology. This tutorial will guide you through the creation of a...)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Efxclipse}}
 +
 
== Create an e4 sample application ==
 
== Create an e4 sample application ==
  
Line 11: Line 13:
 
<li>Add ... </li>
 
<li>Add ... </li>
 
<li>Select Software Site </li>
 
<li>Select Software Site </li>
<li>Add ​http://download.eclipse.org/efxclipse/runtime-nightly/site as a site.</li>
+
<li>Add ​http://download.eclipse.org/efxclipse/runtime-nightly/site as a site or http://download.eclipse.org/efxclipse/runtime-released/$VERSION/site where $VERSION should be replaced with the release you want to use</li>
<li>Select "e(fx)clipse - Single - p2 update" and "Target Platform for Eclipse" and uncheck "Include required software" </li>
+
<li>Expand "FX Target" and check "Target Platform for Eclipse" and <b>uncheck</b> "Include required software" </li>
 
<li>Finish and activate the new target. </li>
 
<li>Finish and activate the new target. </li>
 
</ol>
 
</ol>
 +
<br />
 +
[[Image:efxclipse_tut3_1.png]]
 
</li>
 
</li>
<li>Run the New > Project ... JavaFX/Samples/e4 Media Application wizard. Choose a name for your project and leave the rest of the settings on their defaults. </li>
+
<li>Run the New > Project ... JavaFX/Samples/e4 Media Application wizard. Choose a name for your project and leave the rest of the settings on their defaults. <br />
<li>Launch the application using the generated launch configuration </li>
+
[[Image:efxclipse_tut3_2.png]]</li>
 +
<li>Launch the application using the generated launch configuration <br />
 +
[[Image:efxclipse_tut3_3.png]]</li>
 
</ol>
 
</ol>

Latest revision as of 03:33, 18 November 2015


Create an e4 sample application

Applications based on the e4 platform can use JavaFX instead of SWT as a rendering technology. This tutorial will guide you through the creation of a media sample application.

  1. Setup a target platform for your application development:
    1. Open Preferences > Plugin-in Development > Target Platform
    2. Click Add ...
    3. Select "Nothing: Start with an empty target definition".
    4. Add ...
    5. Select Software Site
    6. Add ​http://download.eclipse.org/efxclipse/runtime-nightly/site as a site or http://download.eclipse.org/efxclipse/runtime-released/$VERSION/site where $VERSION should be replaced with the release you want to use
    7. Expand "FX Target" and check "Target Platform for Eclipse" and uncheck "Include required software"
    8. Finish and activate the new target.


    Efxclipse tut3 1.png

  2. Run the New > Project ... JavaFX/Samples/e4 Media Application wizard. Choose a name for your project and leave the rest of the settings on their defaults.
    Efxclipse tut3 2.png
  3. Launch the application using the generated launch configuration
    Efxclipse tut3 3.png

Back to the top