There are two kinds of example types available.
To create a RAP plug-in from a template, open the New Project wizard (File > New > Project) and select Plug-in Project. Type a project name (e.g. mail) and click Next. On the following page, ensure that the option This plug-in will make contributions to the UI is selected and no Rich Client Application will be created. Click Next. Now you should see a page where you can select a template. Select one of the templates with the RAP prefix (e.g. RAP Mail) and click Finish.
The plug-in comes with a pre-configured launch configuration. Open the Run dialog (Run > Run Configurations...), select the RAP Launch Configuration that matches your project name (e.g. mail) and click Run to start.
The RAP project comes with two example applications demonstrating the features and capabilities of RAP.
The first application provides a workbench very closely aligned to the RCP workbench. The second demo, referred to as the 'controls demo', shows what widgets there are and that they behave very similar to the SWT widgets.
To access and run these demo applications, please open the Plug-ins view
(e.g. through the Plug-in Development perspective).
Select the plug-in named
org.eclipse.rap.demo which contains both demo
applications, right-click on this plug-in and select
Import as > Source Project.
This plug-in will then appear with all source files in your workspace.
The demo also provides a ready-to-use
OSGi Launch Configuration.
After launching, you can access the workbench demo using the URL
The controls demo is available at