Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Efxclipse/Tutorials/Tutorial3"

Line 1: Line 1:
<css>
+
{{Efxclipse}}
.mw-code {  
+
  background-color: #fafafa;
+
  padding: 20px;
+
  border-color: #ddd;
+
  border-width: 3px;
+
  border-style: solid;
+
  border-radius: 5px;
+
  margin-left: 10px;
+
  margin-right: 10px;
+
  overflow-x: auto;
+
}
+
 
+
.mw-headline {
+
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
+
  color: rgb(51, 51, 51);
+
}
+
 
+
p {
+
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
+
  text-align: justify;
+
}
+
 
+
h1 {
+
  border-bottom-color: rgb(238, 238, 238);
+
  font-weight: bold;
+
  padding-bottom: 17px;
+
  font-size: 30px;
+
  line-height: 36px;
+
}
+
 
+
h2 {
+
  border-bottom-color: rgb(238, 238, 238);
+
  padding-bottom: 12px;
+
  font-weight: bold;
+
  font-size: 24px;
+
  line-height: 36px;
+
}
+
 
+
h3 {
+
  border-bottom-width: 1px;
+
  border-bottom-style: solid;
+
  border-bottom-color: rgb(238, 238, 238);
+
  padding-bottom: 8px;
+
  font-size: 18px;
+
  line-height: 27px;
+
}
+
 
+
h4 {
+
  font-size: 14px;
+
}
+
 
+
h5 {
+
  font-size: 12px;
+
}
+
 
+
h6 {
+
  font-size: 11px;
+
  color: #EBEBEB;
+
  text-transform: uppercase;
+
}
+
 
+
a {
+
  color: rgb(0, 105, 214);
+
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif;
+
}
+
 
+
a:visited {
+
  color: rgb(0, 105, 214);
+
}
+
</css>
+
  
 
== Create an e4 sample application ==
 
== Create an e4 sample application ==

Revision as of 05:55, 9 December 2013


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

Copyright © Eclipse Foundation, Inc. All Rights Reserved.