Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Implementing java web editor
icon5.gif  Implementing java web editor [message #1749382] Tue, 06 December 2016 06:56 Go to next message
Jun Lee is currently offline Jun LeeFriend
Messages: 3
Registered: December 2016
Junior Member
Hello.

I'm new to xtext and trying to implement java editor using feature of xtext web editor support.
To do that do I have to strat from writing java grammar file or are there any pre implemented reusable classes or library?

Any hint would be appreciated.

Thank you.
Re: Implementing java web editor [message #1749432 is a reply to message #1749382] Tue, 06 December 2016 17:02 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11501
Registered: July 2009
Senior Member
Hi,

i doubt this will be as easy as you think. you may have a look at https://github.com/LorenzoBettini/jbase


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: Implementing java web editor [message #1749458 is a reply to message #1749432] Wed, 07 December 2016 02:04 Go to previous messageGo to next message
Jun Lee is currently offline Jun LeeFriend
Messages: 3
Registered: December 2016
Junior Member
Thank you for your reply.
It seems that I was trying to get answer too easily.
Maybe I need to go over emf, xbase, xtext and related libraries.
Re: Implementing java web editor [message #1749459 is a reply to message #1749432] Wed, 07 December 2016 02:04 Go to previous messageGo to next message
Jun Lee is currently offline Jun LeeFriend
Messages: 3
Registered: December 2016
Junior Member
No Message Body

[Updated on: Wed, 07 December 2016 02:06]

Report message to a moderator

Re: Implementing java web editor [message #1749849 is a reply to message #1749459] Tue, 13 December 2016 08:56 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1738
Registered: July 2009
Location: Firenze, Italy
Senior Member
Jun, as Christian suggested, https://github.com/LorenzoBettini/jbase is a helpful starting point for the Java expression part; you'll then have to build the "structural" parts of Java yourself (e.g., classes, interfaces, methods, etc.)
Previous Topic:Formatting2 experiences
Next Topic:Getting the line number of the config file
Goto Forum:
  


Current Time: Thu Dec 14 10:19:15 GMT 2017

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

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