Jump to: navigation, search

Difference between revisions of "Riena/E4"

m
Line 1: Line 1:
== Intro ==
+
== Intro ==
  
 
Eclipse 4 offers some key concepts which ease the development of RCP applications.  
 
Eclipse 4 offers some key concepts which ease the development of RCP applications.  
Line 14: Line 14:
 
Riena supports these new concepts to simplify the implementation of Riena applications in turn. Therefore there is a new branch '''rienaOnE4''' in the Riena Git Repository where all Riena E4 development happens.  
 
Riena supports these new concepts to simplify the implementation of Riena applications in turn. Therefore there is a new branch '''rienaOnE4''' in the Riena Git Repository where all Riena E4 development happens.  
  
The following guide will walk through the necessary steps to setup your environment in minutes.
+
The following guide will walk through the necessary steps to setup your environment in minutes.  
  
==Get Eclipse==
+
== Get Eclipse ==
  
* Grab the Eclipse Kepler 4.3 Release from the website
+
*Grab the Eclipse Kepler 4.3 Release from the website  
* Install it to your preferred location
+
*Install it to your preferred location
  
==Setup Target Platform==
+
== Setup Target Platform ==
* Add new, empty Target Definition and give it the name ''rienaE4''
+
* Select Software Site http://download.eclipse.org/releases/kepler
+
* Select following Components
+
** ''Equinox Target Components''
+
** ''Eclipse RCP''
+
** ''Eclipse RCP SDK''
+
** ''Eclipse RCP Plug-in Developer Resources''
+
** Activate ''rienaE4'' Target Platform
+
  
== Get Riena Source Code ==
+
*Add new, empty Target Definition and give it the name ''rienaE4''
 +
*Select Software Site http://download.eclipse.org/releases/kepler
 +
*Select following Components
 +
**''Equinox Target Components''
 +
**''Eclipse RCP''
 +
**''Eclipse RCP SDK''
 +
**''Eclipse RCP Plug-in Developer Resources''
 +
**Activate ''rienaE4'' Target Platform
 +
 
 +
== Get Riena Source Code ==
  
 
*Clone the Riena Git Repository to any location in your file system
 
*Clone the Riena Git Repository to any location in your file system
Line 43: Line 44:
 
*Checkout additional dependencies using the projectset in ''org.eclipse.riena.releng''
 
*Checkout additional dependencies using the projectset in ''org.eclipse.riena.releng''
  
''If you have problems with the projectset checkout https://bugs.eclipse.org/bugs/show_bug.cgi?id=380375''
+
''If you have problems with the projectset checkout https://bugs.eclipse.org/bugs/show_bug.cgi?id=380375''  
 +
 
 +
== Start Your Engines ==
 +
 
 +
*Open the dialog ''Run Configurations...''
 +
*Use the launch configuration ''SWT ExampleApplication E4'' to start the Example Application
 +
**If required, select ''Add Required Plug-Ins'' in the ''Plug-Ins'' tab
 +
 
 +
== Get Riena Target Platform ==
  
==Start Your Engines==
+
*Open the Target Platform configuration and select the target ''rienaE4'' which you created above
* Open the dialog ''Run Configurations...''
+
*In addition to the components added above, add the Riena Target components from the Software Site http://download.eclipse.org/releases/kepler
* Use the launch configuration ''SWT ExampleApplication E4'' to start the Example Application
+
**''Riena Core Target Components''
** If required, select ''Add Required Plug-Ins'' in the ''Plug-Ins'' tab
+
**''Riena Target Components''
 +
**''Riena Samples Target Components''
 +
*Open the ''Plug-Ins'' view, locate the plug-in ''org.eclipse.riena.example.client'' and import it as Source Project into your workspace
 +
**This project contains the Launch Configuration for the Riena example client
 +
**If required, select ''Add Required Plug-Ins'' in the ''Plug-Ins'' tab

Revision as of 13:37, 21 December 2012

Intro

Eclipse 4 offers some key concepts which ease the development of RCP applications.

Among these are

  • EMF based Workbench Model
  • Separation of Model and Presenentation
  • Customizable Rendering Engine
  • Dependency Injection ( no more Singletons )

Learn more about E4.

Riena supports these new concepts to simplify the implementation of Riena applications in turn. Therefore there is a new branch rienaOnE4 in the Riena Git Repository where all Riena E4 development happens.

The following guide will walk through the necessary steps to setup your environment in minutes.

Get Eclipse

  • Grab the Eclipse Kepler 4.3 Release from the website
  • Install it to your preferred location

Setup Target Platform

  • Add new, empty Target Definition and give it the name rienaE4
  • Select Software Site http://download.eclipse.org/releases/kepler
  • Select following Components
    • Equinox Target Components
    • Eclipse RCP
    • Eclipse RCP SDK
    • Eclipse RCP Plug-in Developer Resources
    • Activate rienaE4 Target Platform

Get Riena Source Code

  • Clone the Riena Git Repository to any location in your file system
 git clone git://git.eclipse.org/gitroot/riena/org.eclipse.riena.git
For more information about using the Riena Git Repository checkout Riena on Git.
  • Import the Git Repository in Eclipse
  • Switch to Branch rienaOnE4
  • Checkout additional dependencies using the projectset in org.eclipse.riena.releng

If you have problems with the projectset checkout https://bugs.eclipse.org/bugs/show_bug.cgi?id=380375

Start Your Engines

  • Open the dialog Run Configurations...
  • Use the launch configuration SWT ExampleApplication E4 to start the Example Application
    • If required, select Add Required Plug-Ins in the Plug-Ins tab

Get Riena Target Platform

  • Open the Target Platform configuration and select the target rienaE4 which you created above
  • In addition to the components added above, add the Riena Target components from the Software Site http://download.eclipse.org/releases/kepler
    • Riena Core Target Components
    • Riena Target Components
    • Riena Samples Target Components
  • Open the Plug-Ins view, locate the plug-in org.eclipse.riena.example.client and import it as Source Project into your workspace
    • This project contains the Launch Configuration for the Riena example client
    • If required, select Add Required Plug-Ins in the Plug-Ins tab