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 "RAP/EMF Integration"

< RAP
Line 21: Line 21:
  
 
== Targeting RAP as runtime ==
 
== Targeting RAP as runtime ==
 +
 +
Open up the Properties view on your .genmodel file and set "Rich Ajax Application" to true.
 +
 +
[[Image:Rapemfproperties.png]]
 +
 +
After that you can generate your edit and editor code.
  
 
== References ==
 
== References ==
 
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=213988 Bug 213988: Investigate support for RAP]
 
* [https://bugs.eclipse.org/bugs/show_bug.cgi?id=213988 Bug 213988: Investigate support for RAP]

Revision as of 18:58, 16 March 2010

| RAP wiki home | RAP project home |

Emf rap.png

Runtime

The non-UI part of EMF works with RAP out of the box. The example mentioned in the end of this page only uses the following two core plug-ins of EMF. These have an optional dependency to the resource bundles but don't need them to work properly. The bundles used for the model in this example are

  • org.eclipse.emf.common
  • org.eclipse.emf.ecore

UI and Edit Framework

EMF provides branches of it's UI bundles for the usage in the RAP environment. These are available on the EMF update site to use together with the RAP runtime.

Target provisioning

The minimal target of an EMF and RAP runtime consists of two p2 repositories, one for RAP and one for the EMF RAP support.

Rapemftarget.png

Please be sure to uncheck the "Include required software" option when adding the features from the repositories.

Targeting RAP as runtime

Open up the Properties view on your .genmodel file and set "Rich Ajax Application" to true.

Rapemfproperties.png

After that you can generate your edit and editor code.

References

Back to the top