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.
Difference between revisions of "RAP/EMF Integration"
m (→References) |
m (→UI and Edit Framework) |
||
Line 10: | Line 10: | ||
== UI and Edit Framework == | == UI and Edit Framework == | ||
− | EMF provides branches of it's UI | + | Since 2.6 M6, EMF provides branches of it's UI/Edit framework for use with RAP. The necessary bundles are available from the EMF software repository and can be used together with the RAP runtime (> 1.3 M6). |
== Target provisioning == | == Target provisioning == |
Revision as of 10:01, 24 March 2010
| RAP wiki home | RAP project home |
Contents
EMF 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
Since 2.6 M6, EMF provides branches of it's UI/Edit framework for use with RAP. The necessary bundles are available from the EMF software repository and can be used together with the RAP runtime (> 1.3 M6).
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.
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.
After that you can generate your edit and editor code.
Launch the application
You can now launch the application via it's generated IApplication. Just use the LibraryEditorAdvisorApplication entrypoint.