September 24, 2010

How to embed Xtext editors within Eclipse Forms editors?

With the growing usage of Xtext, people would like to integrate the Xtext editor within other editors. It is useful when a part of a edited model is best described textually and you want to benefit of all almost-free Xtext editor features.

In this goal, I recently created a sample RCP application to demonstrate how to do such a thing. This sample RCP application is hosted within the xtext-forms-integration project on EclipseLabs. This contribution has been made possible thanks to ProxiAD, Obeo and Itemis AG companies.

The framework part of this project is rather small and thus very re-usable. Have a look on the code to make your own opinion. In the mid term, we think it may be interresting to have these classes in the xtext.ui plugin to help people integrating Xtext editors.

Special thanks to C├ędric Vidal (blog in french), Sebastian Zarnekow, Nirmal Sasidharan and Andreas Graf for their help and participation.


  1. The link no longer exists. Any replacment?

  2. Solved.
    Use https instead:
    svn checkout xtext-forms-integration-read-only