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/Tutorials/Tutorial3"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Efxclipse}} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
== Create an e4 sample application == | == Create an e4 sample application == | ||
Line 83: | 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>Expand "FX Target" and check "Target Platform for Eclipse" and <b>uncheck</b> "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> |
Latest revision as of 04: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.
- Setup a target platform for your application development:
- Open Preferences > Plugin-in Development > Target Platform
- Click Add ...
- Select "Nothing: Start with an empty target definition".
- Add ...
- Select Software Site
- 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
- Expand "FX Target" and check "Target Platform for Eclipse" and uncheck "Include required software"
- Finish and activate the new target.
- 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.
- Launch the application using the generated launch configuration