Skip to main content


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 09:18 Go to next message
mark j is currently offline mark jFriend
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 09:51 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14664
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


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: include Xtext in Rcp app [message #1005648 is a reply to message #1003450] Mon, 28 January 2013 03:30 Go to previous message
Girish Kumar is currently offline Girish KumarFriend
Messages: 48
Registered: May 2011
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: Tue Apr 16 10:25:48 GMT 2024

Powered by FUDForum. Page generated in 0.64002 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top