Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtext in the web
xtext in the web [message #1384874] Mon, 02 June 2014 17:10 Go to next message
Michele Di Biase is currently offline Michele Di BiaseFriend
Messages: 11
Registered: June 2014
Junior Member
hi

I state that I am a bit a profane this matter. I'm doing a project based on Xtext plugin in the web.
What type of parameters takes doGenerate (Resource resource, IFileSystemAccess fsa)?
My project is composed of:
1 - I write client-side java code
2 - I send a post to the server
3 - The servlet takes the input code, and calls the transform xtext (from java code with code + / - java)
4 - reply post in your browser
The question is: how to develop the business logic to call the transform xtext? which method should I call?
thanks for your attention and for your patience
Smile
Re: xtext in the web [message #1384880 is a reply to message #1384874] Mon, 02 June 2014 18:03 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Moving this to the XText forum.
Re: xtext in the web [message #1384881 is a reply to message #1384880] Mon, 02 June 2014 18:13 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
https://wiki.eclipse.org/Xtext/FAQ#How_do_I_load_my_model_in_a_standalone_Java_application.C2.A0.3F

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: xtext in the web [message #1384882 is a reply to message #1384881] Mon, 02 June 2014 18:33 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14716
Registered: July 2009
Senior Member
and maybe https://www.eclipse.org/forums/index.php/m/1220243/?srch=IGenerator.class#msg_1220243

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Cannot reference elements in other files using xtext editor in papyrus
Next Topic:General scoping question regarding cross references
Goto Forum:
  


Current Time: Fri Sep 20 21:09:22 GMT 2024

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

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

Back to the top