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,
thanx
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 offline Christian Dietrich
Messages: 5850
Registered: July 2009
Senior Member
Hi,

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

~Christian
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: 17
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 com.org.myRCP 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: Mon Apr 21 05:48:30 EDT 2014

Powered by FUDForum. Page generated in 0.02276 seconds