Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » include Xtext in Rcp app(Allow xtext editors to be used in RCP applications.)
include Xtext in Rcp app [message #1003450] Mon, 21 January 2013 04:18 Go to next message
mark j is currently offline mark j
Messages: 14
Registered: November 2012
Junior Member
hi all
my question is :
how i can set up a RCP application that enables using the DSL editor created with Xtext,
Re: include Xtext in Rcp app [message #1003467 is a reply to message #1003450] Mon, 21 January 2013 04:51 Go to previous messageGo to next message
Christian Dietrich is currently online Christian Dietrich
Messages: 6214
Registered: July 2009
Senior Member

i dont get your point. this should be 100% straight forward as if you would do it if it was not Xtext at all.

Re: include Xtext in Rcp app [message #1005648 is a reply to message #1003450] Sun, 27 January 2013 22:30 Go to previous message
Girish Kumar is currently offline Girish Kumar
Messages: 23
Registered: May 2011
Junior Member
Hi ,

As Christian said, it is very straight forward.

First Setup the RCP Application, I assume you already know this.
Secondly Create Xtext Project and define the Grammers and Generator(if required)
Thirdly, Generate the XText Artifacts, (Test, Ecore, UI, etc)
Lastly , you add the dependency in your RCP Application plugins.

For Ex is your RCP main Plugin, go to the plugin.xml and add all Xtext related plugins as dependency. and export as RCP app, this will do.

Get back if you have any doubts
Previous Topic:How to obtain the Eclipse automatically-updated EMF model?
Next Topic:Noobie Q: Problem to run the Generated IDE Plug-in of my DSL (Xtext) with Eclipse Juno.
Goto Forum:

Current Time: Sat Aug 23 05:34:38 EDT 2014

Powered by FUDForum. Page generated in 0.01662 seconds