|Re: Xtext' editor embedded in a Java Application [message #1299379 is a reply to message #1299147]
||Wed, 16 April 2014 23:00
| Henrik Lindberg
Registered: July 2009
On 2014-16-04 21:25, Cristiano Politowski wrote:|
> Hi guys!
> Is there a way to integrate the Editor generated by Xtext, with syntax highlighting and all features, with a Java application? Without using eclipse?
Xtext generates an editor that is based on the Eclipse framework, so the
answer is no, it will not function unless there is an Eclipse runtime.
(It does not have to be the full IDE though - see below).
> I was searching about this and found something about generate a Eclipse Product. But, what I have is a Java Application and my editor. I want to join them providing just the editor and a button to run the application.
You can create a product based on Eclipse that only includes what you
want (i.e. you do not need Java, and a bunch of other things).
puppetlabs / geppetto @ github is such a packaging of a product based on
Eclipse. You cannot however plug such a thing into another editor.
If you already have an application / editor, you can use Xtext to
generate the "headless" part, and then implement the editing support
If you are willing to open up an external executable to do the editing,
I suggest you go for the packaged product based on Eclipse. That will
save you a ton of time.
Powered by FUDForum
. Page generated in 0.01736 seconds