Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to integrate xtext plugin inside custom project(How to integrate xtext plugin inside custom project)
How to integrate xtext plugin inside custom project [message #1732613] Wed, 18 May 2016 13:34
RamaRao Nandamuri is currently offline RamaRao NandamuriFriend
Messages: 120
Registered: April 2016
Senior Member

I have created my own custom project which contains structure

|-> src
|-> bin

I could create my own custom project using plugin development. I want to add my xtext editor nature to this project if it has file.mydsl extension.

To be simple: I have custom project plugin, and I have xtext editor plugin. I want to add xtext editor plugin inside my custom project.

Can anyone please tell me?
Re: How to integrate xtext plugin inside custom project [message #1732617 is a reply to message #1732613] Wed, 18 May 2016 07:28 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13488
Registered: July 2009
Senior Member

what do you mean by "integrating"

per se the installation of the xtext editor (your plugin) and the project has nothing to do with each other.
to work properly with xtext (any dsl) the project needs the xtext builder and xtext nature.

this is by default done it you open the editor (NatureAddingEditorCallback)

have a look at the implementation on how to programmatically add natures and builders
(this is a task that is generally not xtext specific)

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:RuleName as Link
Next Topic:Retrieve index without having to load resources in standalone context?
Goto Forum:

Current Time: Sat Jul 04 03:52:50 GMT 2020

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

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

Back to the top